Exam 2: Understanding Structure
Exam 1: An Overview of Computers and Logic50 Questions
Exam 2: Understanding Structure50 Questions
Exam 3: Making Decisions50 Questions
Exam 4: Looping50 Questions
Exam 5: Arrays50 Questions
Exam 6: Using Methods50 Questions
Exam 7: Object-Oriented Programming50 Questions
Select questions type
With a decision structure or ____ structure you ask a question,and,depending on the answer,you take one of two courses of action.
Free
(Multiple Choice)
4.8/5
(52)
Correct Answer:
C
Case 1
You are making your favorite cookie recipe. You have all the ingredients on hand.
-You realize that the recipe has both the instructions for baking the cookies in the oven or the microwave.This is an example of a ____ structure.
Free
(Multiple Choice)
4.7/5
(46)
Correct Answer:
C
Case 1
You are making your favorite cookie recipe. You have all the ingredients on hand.
-You follow the recipe step by step.This is an example of a ____ structure.
Free
(Multiple Choice)
4.7/5
(41)
Correct Answer:
A
One way to straighten out an unstructured flowchart segment is to use the "____" method.
(Multiple Choice)
4.7/5
(39)
A group of statements that executes as a single unit is a(n)____.
(Multiple Choice)
4.9/5
(38)
The following pseudocode is an example of a ____ structure. if on the beach
Use sunscreen
(Multiple Choice)
4.8/5
(35)
Whether you are drawing a flowchart or writing pseudocode,to represent decision outcomes you can use either: Yes and No,or True and False.
(True/False)
4.7/5
(38)
Case 1
You are making your favorite cookie recipe. You have all the ingredients on hand.
-Every day,you bring two cookies to work until you run out of cookies at home.This is an example of a ____ structure.
(Multiple Choice)
4.8/5
(33)
The endif and endwhile statements are know as ____ statements.
(Multiple Choice)
4.8/5
(40)
You can use an ____ statement to clearly show where the actions that depend on a decision end.
(Multiple Choice)
5.0/5
(33)
Professional programmers find it just as easy to modify and maintain structured programs as unstructured programs.
(True/False)
4.8/5
(42)
Case 1
You are making your favorite cookie recipe. You have all the ingredients on hand.
-You make the cookies,following the instructions step by step and then deciding to either bake them in the oven or microwave.This is an example of ____.
(Multiple Choice)
4.9/5
(40)
Case 1
You are making your favorite cookie recipe. You have all the ingredients on hand.
-One of your friends at work eats one of your cookies and says it would be great if you could bring more of these cookies to the Monday status meeting.If it is Sunday night,you make the cookies for Monday's meeting.This is an example of a ____ structure.
(Multiple Choice)
4.9/5
(37)
The ____ used in the pseudocode reflects the logic you can see laid out graphically in the flowchart.
(Multiple Choice)
4.9/5
(41)
A ____ is a basic unit of programming logic; each structure is a sequence,selection,or loop.
(Multiple Choice)
4.9/5
(35)
A repetition or iteration loop is known as a(n)____ structure.
(Multiple Choice)
4.8/5
(27)
A ____ input is the statement that reads the first input value in a program.
(Multiple Choice)
4.8/5
(38)
In code,it is perfectly correct for one branch of the selection to be a "do nothing" branch.
(True/False)
5.0/5
(36)
In structured programs,structures can be stacked or connected to one another only at their entry point or ____.
(Multiple Choice)
4.8/5
(36)
The following pseudocode is an example of a(n)____ structure. get firstNumber
Get secondNumber
Add firstNumber and secondNumber
Print result
(Multiple Choice)
4.8/5
(37)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)