
CODE.ORG CSP UNIT 4 Boolean quiz#1
Authored by Shawn Kenner
Computers
9th - 12th Grade
Used 64+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Choose the correct definition for Conditional Statement
affects the sequence of statements followed in a program by executing different statements based on the value of a Boolean expression
stores information as a number, String, or Boolean
joins together two or more strings end-to-end to make a new string
an ordered sequence of characters
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will the value of the variable bags be at the end of the flowchart shown here?
1
2
3
4
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will the value of the variable bags be at the end of the flowchart shown here?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will the value of the variable bags be at the end of the flowchart shown here?
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will the value of the variable bags be at the end of the flowchart shown here?
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A county fair charges different prices based on the day of the week and age of the visitor. The pricing rules are shown below.
On Monday and Wednesday children 5 and under get in free ($ 0). For all other days and ages the cost is ten dollars ($ 15).
The visitor's age is stored in the variable age, the day of the week is stored in a variable day, and the price in dollars is stored in the variable price. Which piece of code will correctly decide the price for each ticket.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What number will be output by the console.log command on line 7?
50
100
200
300
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?