CODE.ORG CSP UNIT 4 Boolean quiz#1
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Wayground Content
Used 12+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What number will be output by the console.log command on line 7?
50
100
200
300
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Conditional Statement
affects the sequence of statements followed in a program by executing different statements based on the value of a Boolean expression
is a statement that always executes regardless of conditions
is used to declare variables in a program
is a type of loop that repeats a block of code
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?
2
3
4
5
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A concert hall charges different ticket prices based on the customer's age. The prices are shown in the table below.
Age Ticket Price
12 and younger $10
13 to 64 $15
65 and older $5
The customer's age is stored in the variable age and the price is stored in the variable price. Which piece of code will correctly decide the price for each ticket?
if (age <= 12) price = 10; else if (age >= 13 && age <= 64) price = 15; else price = 5;
if (age < 12) price = 10; else if (age < 65) price = 15; else price = 5;
if (age <= 12) price = 15; else if (age <= 64) price = 10; else price = 5;
if (age < 13) price = 5; else if (age < 65) price = 10; else price = 15;
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
What number will be output by the console.log command on line 5?
40
41
42
43
7.
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
Create a free account and access millions of resources
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
20 questions
Latihan PSAS Kelas 9
Quiz
•
9th Grade - University
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
20 questions
Advantages and Disadvantages of Collecting Data
Quiz
•
10th Grade
16 questions
Unit 8 Practice Test For CSP
Quiz
•
9th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
