EBK 3N3-EBK: PROGRAMMING W/MICROSOFT VI
8th Edition
ISBN: 9780176920159
Author: ZAK
Publisher: VST
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 4, Problem 1RQ
Program Description Answer
The compound condition statement “intOrdered < 0 OrElse intOrdered > 25” determines whether the value in the intOrdered variable is outside the range of 0 through 25.
Hence, the correct answer is option “A”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
1- You are required to draw flow chart and write a Pseudocode for the followingproblem statement.Muscat MobiCare is a Mobile Outlet, which provides Mobile repair services. The charges of mobilerepairs are based on the type of the service.Details of charges are as follow:Software Fault: 4 OMRScreen Fault: 6 OMRNetwork/Wi-Fi Fault: 8 OMRInternal Hardware Fault: 10 OMRThe Outlet offers discount to the loyal customers. The discount is offered based on the customervisits to the outlet.Following is the detail of discounts.1- Customer visiting 4 times a year gets 20% discount.2- Customer visiting 6 times a year gets 30% discount.3- Customer visiting 8 times a year gets 50% discount.You are required to draw a Flow Chart diagram and write a Pseudocode for a computer programthat takes customer name, mobile model, visit date, total number of visits, and required service(mentioned above). The program outputs a receipt with all the entered information plus repaircharges based on the required…
1- You are required to draw flow chart and write a Pseudocode for the following draw flowchartproblem statement.Muscat MobiCare is a Mobile Outlet, which provides Mobile repair services. The charges of mobilerepairs are based on the type of the service.Details of charges are as follow:Software Fault: 4 OMRScreen Fault: 6 OMRNetwork/Wi-Fi Fault: 8 OMRInternal Hardware Fault: 10 OMRThe Outlet offers discount to the loyal customers. The discount is offered based on the customervisits to the outlet.Following is the detail of discounts.1- Customer visiting 4 times a year gets 20% discount.2- Customer visiting 6 times a year gets 30% discount.3- Customer visiting 8 times a year gets 50% discount.You are required to draw a Flow Chart diagram and write a Pseudocode for a computer programthat takes customer name, mobile model, visit date, total number of visits, and required service(mentioned above). The program outputs a receipt with all the entered information plus repaircharges based on the…
A function named validGPA() to validate the GPA. A valid GPA value must be between 0 and 4 inclusive. The function must return the value of GPA and must take value of GPA as parameter.
Chapter 4 Solutions
EBK 3N3-EBK: PROGRAMMING W/MICROSOFT VI
Ch. 4 - Prob. 1MQ1Ch. 4 - Prob. 2MQ1Ch. 4 - Prob. 3MQ1Ch. 4 - Prob. 1MQ2Ch. 4 - Prob. 2MQ2Ch. 4 - Prob. 3MQ2Ch. 4 - Prob. 4MQ2Ch. 4 - What is the opposite of greater than?Ch. 4 - Prob. 1MQ3Ch. 4 - Prob. 2MQ3
Ch. 4 - Prob. 3MQ3Ch. 4 - Prob. 4MQ3Ch. 4 - Prob. 1MQ4Ch. 4 - Prob. 2MQ4Ch. 4 - Prob. 3MQ4Ch. 4 - Prob. 1MQ5Ch. 4 - Prob. 2MQ5Ch. 4 - Prob. 3MQ5Ch. 4 - Prob. 1MQ6Ch. 4 - Jake’s Car Rental charges each customer a daily...Ch. 4 - Prob. 1MQ7Ch. 4 - Prob. 2MQ7Ch. 4 - Write a Case clause that specifies all numbers...Ch. 4 - Prob. 1MQ8Ch. 4 - Prob. 2MQ8Ch. 4 - Prob. 3MQ8Ch. 4 - A form contains six radio buttons. Three of the...Ch. 4 - Which property of the KeyPress procedures e...Ch. 4 - Which property of the KeyPress procedure’s e...Ch. 4 - Prob. 3MQ9Ch. 4 - Prob. 4MQ9Ch. 4 - Prob. 5MQ9Ch. 4 - Prob. 1RQCh. 4 - Prob. 2RQCh. 4 - Prob. 3RQCh. 4 - Prob. 4RQCh. 4 - Prob. 5RQCh. 4 - Prob. 6RQCh. 4 - Prob. 7RQCh. 4 - Prob. 8RQCh. 4 - Prob. 9RQCh. 4 - Prob. 10RQCh. 4 - Prob. 11RQCh. 4 - Prob. 12RQCh. 4 - Use the code shown in Figure 4-54 to answer Review...Ch. 4 - Use the code shown in Figure 4-54 to answer Review...Ch. 4 - Use the code shown in Figure 4-54 to answer Review...Ch. 4 - Prob. 16RQCh. 4 - Prob. 17RQCh. 4 - Prob. 18RQCh. 4 - Prob. 19RQCh. 4 - Prob. 20RQCh. 4 - Prob. 21RQCh. 4 - Prob. 22RQCh. 4 - Prob. 23RQCh. 4 - Prob. 24RQCh. 4 - Prob. 25RQCh. 4 - It is customary in Windows applications to...Ch. 4 - Prob. 27RQCh. 4 - Prob. 28RQCh. 4 - Prob. 29RQCh. 4 - Prob. 30RQCh. 4 - Prob. 31RQCh. 4 - Prob. 32RQCh. 4 - Prob. 33RQCh. 4 - Prob. 34RQCh. 4 - Which of the following statements is equivalent to...Ch. 4 - The six logical operators are listed below....Ch. 4 - An expression can contain arithmetic, comparison,...Ch. 4 - Prob. 1ECh. 4 - Prob. 2ECh. 4 - Prob. 3ECh. 4 - Prob. 7ECh. 4 - Prob. 11ECh. 4 - The purpose of this exercise is to demonstrate the...
Knowledge Booster
Similar questions
- In cell C7 type a PMT function to calculate the monthly payment for the Lon amount in B7 and the rate and number of payments determined by B2 and B3. Notice you are to calculate a monthly payment but B3 are annual values. Place a minus sign between = and PTM to convert the payment to a positive number. Copy the formula in C7 to C8. Did you property use absolute and relative references so the formula would copy correctly?arrow_forwardWhich of the following statement is true? A The default case is required in the switch selection statement. B The break statement is required in the last case of a switch selection statement. C The expression ( x > y && a < b ) is true if either x > y is true or a < b is true. D An expression containing the || operator is true if either or both of its operands is true. A form is defined by a (n) ____________ term? A form B Table C caption D prearrow_forwardWrite a Case clause that specifies all numbers less than 0.arrow_forward
- An IF function will be entered into an Excel worksheet to evaluate the contents of two cell locations: A7 and C7. Cell A7 contains the percent change from the cost of an investment to its current value. Cell C7 shows the current profit in dollars for an investment. If either cell A7 is greater than 5% or cell C7 is greater than 500, the IF function should multiply the value in cell A1 by the value in cell B1. Otherwise, the function should produce a blank cell. In the space below, enter an IF function using the OR function to produce the outputs described above. Enter this function as if it is being entered into a cell on an Excel worksheet.arrow_forwardAn event procedure invokes the GetBonus function using the statementdblBonus = GetBonus(dblSales). The function multiplies the sales amount passed to it by 3% and then returns the result. Which of the following is the appropriate function header for the GetBonus function?a. Private Function GetBonus(ByVal dblSold As Double)b. Private Function GetBonus(ByRef dblSold As Double) As Doublec. Private Function GetBonus(ByVal dblSold As Double) As Doubled. Private Function GetBonus(ByVal dblSold As Double, ByRef dblBonus As Double)arrow_forwardQuestion 2 ( :Write a function named lucky3Game that lets the user bet on 5 dice rolls. They win the bet if there are two 3s rolled, otherwise they lose the bet. At every round the user gets to place a bet, see the roll and see how much they have currently won or lost. >>> lucky3Game() Welcome to the Lucky Threes Game How much do you want to bet or X to exit: 1 Rolls : [6, 0, 5, 6, 3] You lose! Total winning or loss: $-1.0 How much do you want to bet or X to exit: 1 Rolls : [6, 1, 6, 4, 3] You lose! Total winning or loss: $-2.0 How much do you want to bet or X to exit: 1 Rolls : [2, 3, 0, 1, 3] You win! Total winnings or loss: $-1.0 How much do you want to bet or X to exit: 1 Rolls : [1, 6, 3, 6, 6] You lose! Total winning or loss: $-2.0 How much do you want to bet or X to exit: 1 Rolls : [(1, 3, 0, 6, 2] You lose! Total winning or loss: $-3.0 How much do you want to bet or X to exit: 1 Rolls : [0, 4, 0, 6, 3] You lose! Total winning or loss: $-4.0 How much do you want to bet or X to…arrow_forward
- in cell d6 enter a formula using the IFERROR function that uses the existing VLOOKUP function in cell d6 as the value function arguement and invalid code as the customized error message for value_if_error function arguement.arrow_forwardThis application manages a parking space for a configurable maximum number of vehicles. The designed application must handle the following functions: ● Each garage slot has a width and depth that describes the slot dimensions.● The garage consists of a configurable maximum number of slots with different dimensions. ● Each vehicle shall be identified by a model name, unique identification number, Model year and vehicle dimensions (width and length).● Park-in function that marks the arrival time of a vehicle if there is an available slot that matches vehicle dimensions.● The slot selection for vehicle park-in could be done using multiple algorithms:○ First Fit selection where the first slot with big enough dimension to host the vehicle will be selected○ Best Fit selection where the slot with the best dimension match should be used where the wasting area of the slot is minimized. ● Slot selection algorithms could be extended in the future version of the application.● Park-out function…arrow_forwardflowchartarrow_forward
- Which of the following compound conditions determines whether the value in the intOrdered variable is outside the range of 0 through 25? a. intOrdered < 0 OrElse intOrdered > 25 b. intOrdered > 0 AndAlso intOrdered < 25 c. intOrdered <= 0 OrElse intOrdered >= 25 d. intOrdered < 0 AndAlso intOrdered > 25arrow_forward3. Which among the following shows a valid use of the Direction enumeration as a parameter to the moveCharacter function? Select al that apply. enum Direction { case north, south, west, east}func moveCharacter(x: Int, y: Int, facing: Direction) {// code here} moveCharacter(x: 0, y: 0, facing: .southwest) moveCharacter(x: 0, y: 0, facing: Direction.north) moveCharacter(x: 0, y: 0, facing: .south) moveCharacter(x: 0, y: 0, facing: Direction.northeast)arrow_forwardData type can be determined using 'data_type' built in function? True/ Falsearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
- EBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTC++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage Learning
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning