AP CSP Unit 5 Review: Lists, Loops and Traversals

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

19 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What code should Jasmine insert where it says
Back
cartTotal = cartTotal +1;
2.
FLASHCARD QUESTION
Front
Consider the following flow chart showing a process for program execution. Given that a = 5, and b = 10, what will be displayed by the program?
Back
10
3.
FLASHCARD QUESTION
Front
A Boolean expression is an expression that evaluates to which of the following? Yes/Maybe/No, True/False, Any Integer, Integers between 1 and 10, Any single character
Back
True/False
4.
FLASHCARD QUESTION
Front
What is the expected output of the given pseudo code segment? A reference for the pseudo code can be found immediately below the question
Back
You are old enough to be President.
5.
FLASHCARD QUESTION
Front
Consider the following segment given in pseudo code. What will be displayed if grade is set to 70? Options: You passed! , Time to start studying again! , You passed! and Time to start studying again! , Nothing will be displayed , An error will occur on line 7; you cannot have an IF inside an ELSE statement
Back
You passed!
6.
FLASHCARD QUESTION
Front
Consider the JavaScript code segment below. Which statement should be used in place of <missing code> such that the alarm is set to 9:00 am on weekends, and 6:30 am on weekdays? Options: day == "Saturday", day == "Sunday", (day == "Saturday") || (day == "Sunday"), (day == "Saturday") && (day == "Sunday"), day != "Monday"
Back
(day == "Saturday") || (day == "Sunday")
7.
FLASHCARD QUESTION
Front
Back
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
AP CSP Algorithms & Programming (College Board Style)

Flashcard
•
9th - 12th Grade
15 questions
Web Dev Review

Flashcard
•
9th - 12th Grade
15 questions
Non Fiction Text Features Exit Slip

Flashcard
•
9th - 12th Grade
10 questions
Code.org CSP Unit 5 Lists

Flashcard
•
9th - 12th Grade
10 questions
AP CSP Photo App List Flashcard

Flashcard
•
9th - 12th Grade
18 questions
Java Arrays

Flashcard
•
9th - 12th Grade
20 questions
APCSP Unit 5 Review - Loops & Lists (code.org)

Flashcard
•
9th - 12th Grade
12 questions
Code.org Unit 6 Assessment Day

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade