What number will be output by the console.log command on line 5?
Fall Semester Final - CS Principles

Flashcard
•
Other
•
11th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

25 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
35
2.
FLASHCARD QUESTION
Front
What will be the order of letters printed to the console when this program is run? Options: a b c, a b c b c b c, a b c b c, a b c a
Back
a b c b c
3.
FLASHCARD QUESTION
Front
There is repeated code in these onEvent blocks. Choose the correct code for the updateScreen() function which would be called in each of the onEvent blocks.
Back
4.
FLASHCARD QUESTION
Front
This function chooses the screen to display based on the score. What is the correct way to call this function?
Back
5.
FLASHCARD QUESTION
Front
A movie theater charges different ticket prices based on a customer's age. The prices are shown in the table below.
Age Ticket Price
12 and younger $5
13 to 64 $8
65 and older $6
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?
Back
6.
FLASHCARD QUESTION
Front
What is the final output of the program? Options: Less than 6, Less than 7, Less than 10, 10 or more
Back
10 or more
7.
FLASHCARD QUESTION
Front
What is the correct answer? Options: 13, 17, 19, 16
Back
17
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Unit 5 Flashcard - Loops & Lists (code.org)

Flashcard
•
10th - 12th Grade
20 questions
python flashcard

Flashcard
•
12th Grade
18 questions
Loops, Lists, Traversals test

Flashcard
•
11th Grade
18 questions
Loops, Lists, Traversals test

Flashcard
•
11th Grade
20 questions
Unit 4: Variables, Conditionals, and Functions (Code.org)

Flashcard
•
11th Grade
20 questions
AP CSP Unit 6

Flashcard
•
11th Grade
18 questions
Text Features and Text Structure Test

Flashcard
•
10th Grade
15 questions
CSP Unit 5 Pre-Assessment: Lists, Loops, Traversals

Flashcard
•
11th - 12th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Other
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade