CODE.ORG CSP UNIT 4 Boolean quiz#1

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Shawn Kenner
Used 59+ times
FREE Resource
Student preview

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
Create a free account and access millions of resources
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade