Concept explainers
The list of actions, which is displayed on the screen is referred as menu.
Hence, the correct answer is option “C”.
Explanation of Solution
Menus:
A menu-driven
- The list of actions, which is displayed on the screen is referred as menu.
- This program will ask the user to enter the selection using keyboard, which displays a character such as a letter or a number that resides next to each menu options.
Explanation for incorrect options:
Decision Structure:
A case structure is a decision structure used to select an action in a given menu.
Hence, the option “A” is wrong.
Modules:
It breaks the menu-driven program into several modules.
Hence, the option “B” is wrong.
Boolean choices:
It is does not play a list of operations on the screen.
Hence, the option “D” is wrong.
Want to see more full solutions like this?
Chapter 11 Solutions
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
- 44% 2:34 PM Theme Park Ticket Application In holidays, people try to save their time and purchase entrance tickets of the favored theme parks online. This project aims to create a simple and most efficient application that will display a menu to the visitors which contains: 1. Book a ticket The program will display a menu that contains all the ticket prices below, get how many tickets he/she would like to buy, and displays the total price. The ticket Price Child - Under 8 years old 70 USD Adults 110 USD Seiners 50 USD 2. Calculate the price The program should calculate the total price of tickets and display it to the visitor. The program will ask if the visitor is a student, then a discount of 40% is applied to the total price. 3. Exit the application The application should be terminatedarrow_forwardWhen a control has the __________, it accepts keyboard input from the user.arrow_forwardC Programming Your job is to create an application that will ask the user to select a choice (draw a boy, draw a girl, or draw a house). Depending on the selection then draw an image on the output screen.arrow_forward
- Perform Student Controlthat you have the menu where you first enter the names of the studentsenter the names of the coursesthat averages the courses per studentto display on the screen the entered students, the courses and their options, scores and whether or not they were promoted. And create a class called teacherarrow_forwardWhat must you do if you want your application to perform any meaningful actions?arrow_forwardA(n) _____is a small application that cannot run on its own but can be used with other software products.arrow_forward
- Draw hierarchy charts or flowcharts that depict the programs described below. Sales TaxDesign a hierarchy chart or flowchart for a program that calculates the total of aretail sale. The program should ask the user for:– The retail price of the item being purchased– The sales tax rateOnce these items have been entered, the program should calculate and display:– The sales tax for the purchase– The total of the salearrow_forwardWhat is the focus when referring to a running application?arrow_forwardA named _______ is like a variable whose content is read-only; it cannot be changed while the program is running.arrow_forward
- InstructionsYou will need to complete the following objectives as a Python Application 1. When the program starts the user needs to be asked if they want to make a new entry or to view a previous entry. 2. If the user wants to make a new entry, the first question will be how manymeters they traveled (this will then need to be converted into kilometers) 3. The second question will give the user 3 options to choose from.When a user selects an option, a value needs to be obtained from the followingwebsite:https://raw.githubusercontent.com/tyrone0501/AA-Petrol-Price/main/Cars.jsonThe values on the website look as follows {"Hatchback" :3, "SUV" :4, "SportsCar":5} The following code must be used to obtain these values: 1 import requests 2 3 AA_Calc = 'https://raw.githubusercontent.com/tyrone0501/AA-Petrol-Price/main/Cars.json' 4 response = requests.get(AA_Calc) 5 response_json = response. json() 6 7 siteresponse = response_json["Hatchback"] 8 siteresponse = response_json["SUV"] 9…arrow_forwardInstructionsYou will need to complete the following objectives as a Python Application 1. When the program starts the user needs to be asked if they want to make a new entry or to view a previous entry. 2. If the user wants to make a new entry, the first question will be how manymeters they traveled (this will then need to be converted into kilometers) 3. The second question will give the user 3 options to choose from.When a user selects an option, a value needs to be obtained from the followingwebsite:https://raw.githubusercontent.com/tyrone0501/AA-Petrol-Price/main/Cars.jsonThe values on the website look as follows {"Hatchback" :3, "SUV" :4, "SportsCar":5} The following code must be used to obtain these values: 1 import requests 2 3 AA_Calc = 'https://raw.githubusercontent.com/tyrone0501/AA-Petrol-Price/main/Cars.json' 4 response = requests.get(AA_Calc) 5 response_json = response. json() 6 7 siteresponse = response_json["Hatchback"] 8 siteresponse = response_json["SUV"] 9…arrow_forwardProgram Description A custom tailor offers a variety of custom suit options to customers. The company has tasked you with creating a program that will allow tailors to enter information about the kind of material used to make the customer's custom suit and the number of square yards used to make the suit and will determine the total cost to charge the customer. Use the following steps to create the program: 1. The program should display a menu that asks the technician to select the type of material that was used. Make sure the menu is formatted exactly as in the Sample Input and Output of the instructions (including indentation). I 2. The program should determine the cost per square yard of the material. The cost per square yard is determined based on the type of material that is used. Table 1: Type of Material and Cost per Square Yard Type of Material Cost per Square Yard Satin $8.95 Linen $9.65 Leather Silk $18.45 $28.99 3. The program should then ask the tailor to enter the number…arrow_forward
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningC++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage Learning