AP CSP Unit 5 Review: Lists, Loops and Traversals

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground 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
16 questions
AP CSP Unit 5 List Pseudocode Flashcard 2

Flashcard
•
9th - 12th Grade
15 questions
Systems and Feedback Loops

Flashcard
•
9th - 12th Grade
15 questions
Homeostatic Feedback Loops

Flashcard
•
9th - 12th Grade
13 questions
Conservation of Momentum

Flashcard
•
9th - 12th Grade
15 questions
Text Features Flashcard 4th grade

Flashcard
•
KG - University
15 questions
Combining Like Radicals and Properties

Flashcard
•
9th - 12th Grade
15 questions
EOC Review PBS Unit 2

Flashcard
•
9th - 12th Grade
15 questions
Graphic Features

Flashcard
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade