Starting Out with Programming Logic and Design (4th Edition)
4th Edition
ISBN: 9780133985078
Author: Tony Gaddis
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 11, Problem 4MC
A
- a. a warning to the user
- b. the main menu
- c. a submenu
- d. the grand menu
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
1- From a main menu, it should only take at most
to perform an action.
a) O Three mouse clicks or keystrokes
b) O Four mouse clicks or keystrokes
c) O Six mouse clicks or keystrokes
d) O Five mouse clicks or keystrokes
e) O Depends on the complexity of the system interface and experience of the
users
Create a program that repeatedly displays a menu as a prompt, inputs the user’s choice and takes the correct action based on which menu option was selected. If the user made an invalid selection, the program should tell them. The menu options should be: 1 – Convert miles to kilometers 2 – Convert kilometers to miles 3 – Exit the program Actions for each option: 1 – Convert miles to kilometers Ask the user to enter a distance in miles Convert the value entered to kilometers Display the conversion from/to ????????????????????= ?????????? × 1.60934 2 – Convert kilometers to miles Ask the user to enter a distance in kilometers Convert the value entered to miles Display the conversion from/to ??????????= ???????????????????? × 0.621371 3 – Exit the program Display a message that the program is exiting Stop the loop The program should repeat the menu after options 1 and 2. Use OnlineGDB.
The items displayed in a menu are often preceded by a number, letter, or other character. What is the purpose of this character?
Chapter 11 Solutions
Starting Out with Programming Logic and Design (4th Edition)
Ch. 11.1 - What is a menu-driven program?Ch. 11.1 - The items displayed in a menu are often preceded...Ch. 11.1 - What type of structure do you use in a program to...Ch. 11.3 - Explain why most menu-driven programs use a loop...Ch. 11.3 - If a program uses a loop to display a menu...Ch. 11.4 - Prob. 11.6CPCh. 11.4 - Prob. 11.7CPCh. 11.4 - When a program has a lot of items for the user to...Ch. 11 - Prob. 1MCCh. 11 - Prob. 2MC
Ch. 11 - If a menu-driven program uses a loop to redisplay...Ch. 11 - A program that uses a multiple-level menu displays...Ch. 11 - Prob. 5MCCh. 11 - When the user selects an operation from a...Ch. 11 - When the user selects an operation from a(n)...Ch. 11 - Prob. 1TFCh. 11 - It is not usually necessary to validate the user's...Ch. 11 - In most cases, a menu-driven program should be...Ch. 11 - If a menu-driven program does not use a loop to...Ch. 11 - In a single-level menu, the user might see a...Ch. 11 - What type of structure do you use in a program to...Ch. 11 - What ways for validating a users menu selection...Ch. 11 - How can you design a menu-driven program so that...Ch. 11 - When a program has a lot of items for the user to...Ch. 11 - Prob. 1AWCh. 11 - Design a case structure that can be used with the...Ch. 11 - Put the algorithms that you designed for questions...Ch. 11 - Look for ways to modularize the algorithm that you...Ch. 11 - Language Translator Design a program that displays...Ch. 11 - Prob. 2PECh. 11 - Prob. 3PECh. 11 - Astronomy Helper Create an application that...Ch. 11 - Golf Score Modification In Programming Exercise 6...Ch. 11 - Phone Book Program Design a program that you can...Ch. 11 - Prob. 7PE
Additional Engineering Textbook Solutions
Find more solutions based on key concepts
A is a constructor that accepts no arguments. a. parameterless constructor b. basic constructor c. primary cons...
Starting out with Visual C# (4th Edition)
True or False: Constructors are not inherited.
Starting Out with Java: From Control Structures through Objects (6th Edition)
Write a VHDL program for the logic circuit in Figure 4-60 Figure 4-60
Digital Fundamentals (11th Edition)
Practice Problem 12.4 (solution page 1036) In the server in Figure 12.8, we are careful to reinitialize the poo...
Computer Systems: A Programmer's Perspective (3rd Edition)
Body Mass Index Program Enhancement In Programming Challenge 15 in Chapter 3 you were asked to create a VB appl...
Starting Out With Visual Basic (8th Edition)
Knowledge Booster
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
- A menu's items are often preceded by a number, letter, or other character. What is the character's purpose?arrow_forwardThe horizontal line in a menu is called _____. a menu bar a separator bar an item separator None of the above.arrow_forwardComputer science Short answer Write the guidelines for Menu-selection.arrow_forward
- What are two instances in your program where menus are used, and why would you choose for a menu over allowing the user to enter text?arrow_forwardDesign a menus with any names you wish with the following programs 1.Read one student name and display it in msgbox. 2.Set button1 backcolor to blue. 3.Set the width of button1 to 350 and the height to 400. 4.Add two textbox and display value in label1. 5.write program to distinguish if the two numbers are odd or even. 6.Try to find the value of R depending on the equation : x> 20 , R=2sin(x2) x< 10 , R=sin?(x) + cos( x) R= 7.write a program to display the series (10,15,20,..,100) in listbox1. 8.write a program to find the average of 10 input numbers 9. Use a select case to distinguish between capital and small letters in english alphabet.. 10. write a program to enter two numbers ,find the factorial of the maximum number between them.. السؤال الأخير مطلوب ادخال رقمين وثم حساب مفكوك اكبر رقم بينهماarrow_forwardWhat are two instances of how menus are used in your program, and why would you choose to utilize a menu rather than allowing the user to type in their own content rather than giving them the option to do so?arrow_forward
- The menu command under the editor window that allows you to submit the program to the command window. Group of answer choices run play start submitarrow_forwardWhat are two situations in your application where menus are utilized, and why do you prefer them over text input from the user?arrow_forwardDesign a menus with any names you wish with the following programs 1.Read 5 students' names and display them in combobox. 2.Set label1 backcolor to red. 3.Set the width of button1 to 300 and the height to 350. 4.Divide the value of two textboxes and display the result in label1. 5.write program to display only -ve number from 10 input numbers in listbox. 6.Try to find the value of R depending on the equation : x>18, R=x(x2) +8 R= {x<18 , R=2x - 4 7.write a program to display the series (15,10,5,.., -30) in listbox1. 8.write a program to find the summation of 8 input numbers 9. Use a select case to distinguish between small letters and numbers . 10. write a program to enter 10 numbers ,then count how many number are even ,after that find the factorial of the count variable السؤال الأخير مطلوب ادخال عشرة أرقام ثم احسب عد د الأعداد الزوجية وبعدها ایجاد المفكوك لقيمة العدادarrow_forward
- Please only the appropriate option without explanation and quicklyarrow_forwardOpenGL Programming Help Write a program that creates a 3d captial "i" that animates using a display list. In response to the menu selection, 1.spin the "I" vertically 2. stop spinning When the user clicks on the right mouse button and selects the menu option to spin the "I" it should spin in the letter. The letter "i" should use a display listarrow_forwardWhen designing menus in JavaFX, you need to place your menus in: MenuBar TopMenu MenuItem Menuarrow_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 LearningMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Graphical User Interfaces: Crash Course Computer Science #26; Author: CrashCourse;https://www.youtube.com/watch?v=XIGSJshYb90;License: Standard YouTube License, CC-BY
Python GUI | How To Make A GUI In Python | Best GUI Framework In Python | Edureka; Author: edureka!;https://www.youtube.com/watch?v=_PHJvjQJa3w;License: Standard Youtube License