Starting Out with Programming Logic and Design (4th Edition)
Starting Out with Programming Logic and Design (4th Edition)
4th Edition
ISBN: 9780133985078
Author: Tony Gaddis
Publisher: PEARSON
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 11, Problem 1MC
Program Description Answer

The list of actions, which is displayed on the screen is referred as menu.

Hence, the correct answer is option “C”.

Expert Solution & Answer
Check Mark

Explanation of Solution

Menus:

A menu-driven program shows a list of actions, which it can execute on the screen. This type of program will allows the user to select any one of the actions that the user wants the program to execute at a time.

  • 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?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Menu of the Day Create a program that filters and displays the correct menu items based on the day that the user enters. Console Menu of the Day   COMMAND MENU Specify the day using the three-letter format (mon, tue, wed, thu, fri, sat, sun). Or, enter 'exit' to exit.   Day:  mon Roast beef               10 Potato soup              6 Baked cod                10   Day:  tue Butter chicken           11 Lamb tikka               12 German forest cake       7   Day:  exit Bye! Specifications A tab-delimited text file named menu.txt that contains the menu items for the current week is attached. Each item has a name (a string), price (an integer), and associated day (a string) Use a structure named MenuItem to store the name, price, and day for each menu item. When the program starts, it should load the items from the file into a vector of MenuItem objects. The user should be able to type a three-letter day code to display the menu items for the specified day. The user should be able to…
When a control has the __________, it accepts keyboard input from the user.
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 terminated

Chapter 11 Solutions

Starting Out with Programming Logic and Design (4th Edition)

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning