
6.1-6.3 Control Structure Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
DeJa Tunstall
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q.
Which of the following is NOT a logical operator?
!
==
&&
!
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable that can only have two values, True or False.
If/Else
If Statement
Boolean Expression
Else Statement
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an If Statement?
An expression that evaluates if a variable is true or false
A statement that tests if two values are equal
A type of conditional that lets you complete a task if the condition is "true"
A statement that tests if two values are unequal
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an If/Else Statement?
a repetition control structure that allows you to efficiently write a loop that needs to be executed a specific number of times.
a control flow statement that executes code repeatedly based on a given Boolean expression.
a control flow statement that executes code repeatedly based on a given Boolean expression.
A conditional statement that runs a different set of statements depending on whether an expression is true or false.
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Below, create a variable and assign it a boolean value of either true or false.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the output of the following program?
function main() {
let isHot = false;
if (isHot) {
console.log("The temperature feels great!");
} else {
console.log("It's too darn hot!");
}
}
main();
This program has no output.
It's too darn hot!
This program will run an error.
The temperature feels great!
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
T/F: readBoolean means is used to read one input byte and if the byte read is zero this method returns false and if the byte read is nonzero then this method returns true.
True
False
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?
Similar Resources on Wayground
10 questions
Computer System
Quiz
•
8th - 9th Grade
15 questions
Learning Checkpoint 3: Primary & Secondary Storage
Quiz
•
9th - 10th Grade
14 questions
Intro to Robotics
Quiz
•
9th Grade
14 questions
4th quarter 2nd summative
Quiz
•
10th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
12 questions
Q2 WEEK 3 PRACTICE QUIZ #2
Quiz
•
9th Grade
13 questions
Software and Computer Care Quiz
Quiz
•
9th Grade
10 questions
Recap: Introduction to Python
Quiz
•
10th Grade
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
