Programming Logic and Design, 5th edition. Ch 1- 4
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Medium
Oluwaseyi Fabumuyi
Used 1+ times
FREE Resource
Enhance your content in a minute
168 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The main components of a computer are?
Hardware
Hardware and Software
Central Processing Unit (CPU) and Software
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a flag variable?
What is a flag variable?
A flag is a variable signal that sets to False
A flag is a variable that signals when some condition exists in the program.
A flag is a variable signal that sets to True
A flag is a variable that signals when some condition starts in the program
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What values can you store in a Boolean variable?
What values can you store in a Boolean variable?
True or False
Yes or No
Fact or Fiction
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You need to write a multiple alternative decision structure, but the language you are using will not allow you to perform the test you need in a Select Case statement. What can you do to achieve the same results?
the program jumps out of the structure.
the program will branch to the Case 1: section and execute the Display "Error: Invalid month" statement that immediately follows it.
the program branches to the Case statement
the program branches to the Default statement and executes the statements that immediately follow it.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the case structure test, in order to determine which set of statements to execute?
test If the testExpression does not match any of the Case values
test if there is one or more blocks of statements that begin with a Case statement.
test the value of a variable or an expression and then use that value to determine which statement or set of statements to execute.
tests if the model number can be stored in a variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a multiple alternative decision structure in pseudocode?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does a dual alternative decision structure work?
How does a dual alternative decision structure work?
is an expression that can be evaluated to True or False using a relational operator (>, <, >=, <=, ==, !=)
one path is taken if a condition is true, and the other path is taken if the condition is false
One path is taken if the condition evaluates True, the other if the condition evaluates False. See the answer to 4.8. It's the same question!
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems Practice
Quiz
•
9th - 12th Grade
18 questions
AP Bio Insta-Review Topic 6.1*: DNA & RNA Structure
Quiz
•
9th - 12th Grade
