Deck 11: Menu-Driven Programs

ملء الشاشة (f)
exit full mode
سؤال
What is the method used to make sure that valid selections are processed?

A)Input validation loop
B)Including the Default clause in the case structure
C)Use of an Else clause
D)All of the above
E)None of the above
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
When the user makes a selection from the main menu in a multiple-level menu,a ______ might be displayed next.

A)Menu
B)Main menu
C)Grand menu
D)Submenu
E)None of the above
سؤال
Usually a submenu is executed by the selection made by the user from the _________.

A)Module
B)Case structure
C)Display
D)Main menu
E)None of the above
سؤال
Which loop is a posttest loop such that the menu is displayed at least once?

A)Do-While
B)While
C)For
D)Any of the above
E)None of the above
سؤال
An iteration structure is needed to process the menu selection made by the user.
سؤال
The acronym GUI stands for _____________.

A)Graphical user instrument
B)Graphics uses interface
C)Graphics uses instrument
D)Graphical user interface
E)None of the above
سؤال
A list of operations that is displayed on the screen is called a(n)_______________.

A)List
B)Menu
C)Option list
D)Choice list
E)None of the above
سؤال
A(n)_______ program always starts off by displaying a list of operations the user can select from.

A)Menu-driven
B)Interactive
C)Graphical
D)User-friendly
E)None of the above
سؤال
What is the term used for a menu that has a main menu and several submenus?

A)Standard menu
B)Single-level menu
C)Multiple-level menu
D)Parent-child menu
E)None of the above
سؤال
Which statement provides a Default section to validate the user's menu selection?

A)If-Then
B)If-Then-Else
C)If-Then-Else If
D)Case
E)None of the above
سؤال
Which symbol in flowcharting is appropriate to use to represent the display of each of the selections of the menu?

A)Rectangle
B)Parallelogram
C)Diamond
D)Terminal
E)None of the above
سؤال
Which of the following decision structures could be used in a menu-driven program?

A)Case structures
B)If-Then-Else If statements
C)If-Then-Else statements
D)All of the above
E)None of the above
سؤال
What is capable of performing several tasks and allows the user to select the task?

A)Menu-driven programs
B)Interactive programs
C)Graphical programs
D)User-friendly programs
E)None of the above
سؤال
The If-Then-Else If statement can be used as an alternative for performing the user's menu selection.
سؤال
Any program that allows the user to select an item from a menu should ____________ the user's selection.

A)store
B)validate
C)hide
D)write
E)All of the above
سؤال
Menu-driven programs should be broken down into ________ that perform individual tasks.

A)loops
B)functions
C)tasks
D)modules
E)None of the above
سؤال
The items displayed in a menu are often preceded by a __________.

A)Number
B)Letter
C)Other characters
D)Any of the above
E)None of the above
سؤال
What is the structure that is needed to process a menu selection?

A)Sequence
B)Decision
C)Iteration
D)Loop
E)None of the above
سؤال
When the user is ready to stop the program,the user selects an operation such as "__________" from the menu.

A)STOP
B)CTRL + Z
C)CTRL + X
D)CTRL + Q
E)End of Program
سؤال
What type of menu first displays the main menu and then,based on the user's selection,displays a submenu?

A)Single-level menu
B)Multiple-level menu
C)Step-level menu
D)Sub-level menu
E)None of the above
سؤال
If the program has only one menu structure,the menu system is termed a__________ menu.
سؤال
It is a cumbersome process for a user has to make selection from a menu because the user has to type the selection out.
سؤال
In most cases,menu-driven programs should be broken down into modules that perform individual tasks.
سؤال
It is not possible to give the user an opportunity to make additional selections from the menu without having to run the program.
سؤال
When using a While loop to repeatedly process a user's menu selections,the menuSelection variable need to be initialized.
سؤال
A __________ menu has a main menu and one or more submenus.
سؤال
In the GUI program,the user can just _________on their choice using a mouse.
سؤال
When there is an input validation loop,the case structure does not need the Default clause.
سؤال
A case structure is the only decision structure that can be used in a menu-driven program.
سؤال
In an If-Then-Else statement the ___________ clause does the validation of the user's menu selections.
سؤال
The _______________ loop makes sure that the menuSelection variable is set to a value in the correct range of values before the program enters the case statement.
سؤال
The ______________ program gives the user the option to select the task they would like to perform.
سؤال
The user's menu selection can be validated using an input validation loop immediately after the Input statements.
سؤال
Modules cannot be executed from a case statement,so loops have to be used.
سؤال
A(n)___________ structure can be used to run a menu-driven program again in order to give the user a chance to make another selection.
سؤال
The _______ selection in the menu causes the loop with the menu to stop and end the program.
سؤال
It is ideal to have one long menu in the program for users to see and make their selection.
سؤال
In a menu-driven program the user would have to usually type the word 'end' to stop the program.
سؤال
Most menu-driven programs use a ________ that redisplays the menu after the user selected action has been performed.
سؤال
The ____________ statement is the easiest and most straightforward method to process a user's menu selection.
سؤال
A menu-driven program that uses a multiple-level menu displays the ___________ when it starts.
سؤال
Menu-driven programs should be broken down into _________ that perform individual tasks.
سؤال
A series of nested _____________ statements can be used to process the menu selections in lieu of the case statement.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/43
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 11: Menu-Driven Programs
1
What is the method used to make sure that valid selections are processed?

A)Input validation loop
B)Including the Default clause in the case structure
C)Use of an Else clause
D)All of the above
E)None of the above
D
2
When the user makes a selection from the main menu in a multiple-level menu,a ______ might be displayed next.

A)Menu
B)Main menu
C)Grand menu
D)Submenu
E)None of the above
D
3
Usually a submenu is executed by the selection made by the user from the _________.

A)Module
B)Case structure
C)Display
D)Main menu
E)None of the above
D
4
Which loop is a posttest loop such that the menu is displayed at least once?

A)Do-While
B)While
C)For
D)Any of the above
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
5
An iteration structure is needed to process the menu selection made by the user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
6
The acronym GUI stands for _____________.

A)Graphical user instrument
B)Graphics uses interface
C)Graphics uses instrument
D)Graphical user interface
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
7
A list of operations that is displayed on the screen is called a(n)_______________.

A)List
B)Menu
C)Option list
D)Choice list
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
8
A(n)_______ program always starts off by displaying a list of operations the user can select from.

A)Menu-driven
B)Interactive
C)Graphical
D)User-friendly
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
9
What is the term used for a menu that has a main menu and several submenus?

A)Standard menu
B)Single-level menu
C)Multiple-level menu
D)Parent-child menu
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
10
Which statement provides a Default section to validate the user's menu selection?

A)If-Then
B)If-Then-Else
C)If-Then-Else If
D)Case
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which symbol in flowcharting is appropriate to use to represent the display of each of the selections of the menu?

A)Rectangle
B)Parallelogram
C)Diamond
D)Terminal
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which of the following decision structures could be used in a menu-driven program?

A)Case structures
B)If-Then-Else If statements
C)If-Then-Else statements
D)All of the above
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
13
What is capable of performing several tasks and allows the user to select the task?

A)Menu-driven programs
B)Interactive programs
C)Graphical programs
D)User-friendly programs
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
14
The If-Then-Else If statement can be used as an alternative for performing the user's menu selection.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
15
Any program that allows the user to select an item from a menu should ____________ the user's selection.

A)store
B)validate
C)hide
D)write
E)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
16
Menu-driven programs should be broken down into ________ that perform individual tasks.

A)loops
B)functions
C)tasks
D)modules
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
17
The items displayed in a menu are often preceded by a __________.

A)Number
B)Letter
C)Other characters
D)Any of the above
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
18
What is the structure that is needed to process a menu selection?

A)Sequence
B)Decision
C)Iteration
D)Loop
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
19
When the user is ready to stop the program,the user selects an operation such as "__________" from the menu.

A)STOP
B)CTRL + Z
C)CTRL + X
D)CTRL + Q
E)End of Program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
20
What type of menu first displays the main menu and then,based on the user's selection,displays a submenu?

A)Single-level menu
B)Multiple-level menu
C)Step-level menu
D)Sub-level menu
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
21
If the program has only one menu structure,the menu system is termed a__________ menu.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
22
It is a cumbersome process for a user has to make selection from a menu because the user has to type the selection out.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
23
In most cases,menu-driven programs should be broken down into modules that perform individual tasks.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
24
It is not possible to give the user an opportunity to make additional selections from the menu without having to run the program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
25
When using a While loop to repeatedly process a user's menu selections,the menuSelection variable need to be initialized.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
26
A __________ menu has a main menu and one or more submenus.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
27
In the GUI program,the user can just _________on their choice using a mouse.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
28
When there is an input validation loop,the case structure does not need the Default clause.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
29
A case structure is the only decision structure that can be used in a menu-driven program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
30
In an If-Then-Else statement the ___________ clause does the validation of the user's menu selections.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
31
The _______________ loop makes sure that the menuSelection variable is set to a value in the correct range of values before the program enters the case statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
32
The ______________ program gives the user the option to select the task they would like to perform.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
33
The user's menu selection can be validated using an input validation loop immediately after the Input statements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
34
Modules cannot be executed from a case statement,so loops have to be used.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
35
A(n)___________ structure can be used to run a menu-driven program again in order to give the user a chance to make another selection.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
36
The _______ selection in the menu causes the loop with the menu to stop and end the program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
37
It is ideal to have one long menu in the program for users to see and make their selection.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
38
In a menu-driven program the user would have to usually type the word 'end' to stop the program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
39
Most menu-driven programs use a ________ that redisplays the menu after the user selected action has been performed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
40
The ____________ statement is the easiest and most straightforward method to process a user's menu selection.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
41
A menu-driven program that uses a multiple-level menu displays the ___________ when it starts.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
42
Menu-driven programs should be broken down into _________ that perform individual tasks.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
43
A series of nested _____________ statements can be used to process the menu selections in lieu of the case statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.