AP CSP Exam Review: Big Idea 3
Quiz
•
Computers
•
8th - 10th Grade
•
Practice Problem
•
Hard
Shalini Petrus
Used 444+ times
FREE Resource
About this resource
This quiz comprehensively covers AP Computer Science Principles Big Idea 3: Algorithms and Programming, targeting students at the 11th-12th grade level preparing for the AP CSP exam. The questions assess critical concepts including procedural abstraction, algorithm efficiency, binary search requirements, probability calculations in programming contexts, computer simulation design and limitations, undecidable problems, and the fundamental limits of computational problem-solving. Students need a solid understanding of how procedures encapsulate functionality and promote code reusability, how different algorithms have varying time complexities and when heuristics become necessary, the mathematical foundations behind probability implementation in code, and the theoretical boundaries of what computers can and cannot solve. The quiz requires students to analyze code segments, evaluate algorithmic approaches, and apply computational thinking to real-world scenarios like traffic simulations and software optimization. Created by Shalini Petrus, a Computers teacher in the US who teaches grades 8 and 10. This assessment serves as an excellent review tool for students preparing for the AP Computer Science Principles exam, particularly targeting the algorithmic reasoning and programming concepts that form the backbone of computational thinking. Teachers can deploy this quiz as a comprehensive review session before the AP exam, use individual questions as warm-up problems to reinforce specific concepts, or assign it as homework to help students identify knowledge gaps in their understanding of algorithms and programming principles. The quiz effectively supports formative assessment by revealing student comprehension of procedural abstraction, algorithmic efficiency, and the theoretical limits of computation. This assessment aligns with AP CSP Learning Objectives AAP-2.A (representing algorithms using flowcharts and pseudocode), AAP-2.H (determining the result of procedural calls), AAP-4.A (explaining how computing systems work), and CSN-1.E (explaining how computing systems implement logic), providing teachers with valuable insight into student readiness for the AP examination.
See more
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of the following procedures would be most useful as part of a program to determine whether a word appears in two different text files?
A procedure getWords, which takes a positive integer n and a text file as input and returns the first n words in the text file.
A procedure textMatch, which takes two text files as input and returns true if the two text files are identical.
A procedure isFound, which takes a word and a text file as input and returns true if the word appears in the text file
A procedure sameSize, which takes two text files as input and returns true if the two text files contain the same number of words.
2.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
A web developer is creating an online lottery scratch card. The attached incomplete code segment decides whether the player wins a prize. The code should only give the player a 3% chance of winning a prize.
Which of these can replace <MISSING CONDITION> so that the code works as intended?
(Select two answers)
RANDOM(1, 100) > 97
RANDOM(1, 100) >= 97
RANDOM(1, 100) <= 3
RANDOM(1, 100) < 3
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
A computer science student completes a program and asks a classmate for feedback. The classmate suggests rewriting some of the code to include more procedural abstraction.
Which of the following is NOT a benefit of procedural abstraction?
Making the code run faster
Making the code more readable
Providing more opportunities for code reuse
Reducing the amount of duplicated code
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
A high school provides email addresses to freshman students. The email system typically assigns an email address in the format "firstname.lastname@coolschool.edu". However, if a student has the same name as a previous student, the system assigns them a different format.
In order to figure out whether an email address is already assigned, the system does a binary search through its list of existing email addresses.
Which of these statements is true?
The code for the binary search algorithm must be written in binary to achieve optimum efficiency
The list of email addresses don’t need to be sorted for binary search to work, but that would improve the efficiency of the algorithm
In the worst-case scenario that the email address is not in the list, binary search will need to look at every item in the list
The list of email addresses must be sorted for binary search to work
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Consider the attached procedures.
What is displayed as a result of the procedure call
proc2("birthday", "to you")?
birthday happy to you
to you happy birthday
to you birthday happy
birthday happy birthday
6.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
A game developer is working on a soccer video game. The attached incomplete code segment is run when a player attempts a goal from outside the 6-yard box. At that distance, the code should give the player a 30% chance of making the goal.
Which of these can replace <MISSING CONDITION> so that the code works as intended?
(Select two answers)
RANDOM(1, 10) <= 3
RANDOM(1, 100) = 30
RANDOM(1, 100) <= 30
RANDOM(1, 10) < 3
7.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
A city government would like to make their streets more bike-friendly with features such as protected bike lanes. However, government officials are concerned about the effect on traffic flow. They hire a software consultant agency to develop a simulation of the traffic after the proposed changes.
What are the most likely benefits of creating a computer simulation of the proposal?
(Select two answers)
Once it is developed, the simulation can run at a faster speed than a real-life experiment.
The simulation can try the addition of even more bike lanes without incurring significant extra cost for each lane added.
As long as the software developers are not biased, the simulation will not include any bias for or against cyclists.
Since they are developing the simulation on a computer, it should be able to represent the proposed changes with 100% accuracy.
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
0 questions
Healthcare Quiz
Quiz
•
0 questions
EMT Ch 18, Gastrointestinal and Urologic Emergencies
Quiz
•
0 questions
Higher Learning Quiz
Quiz
•
0 questions
PLTW Biomedical Innovation Exam
Quiz
•
0 questions
The Early Childhood Environment Review
Quiz
•
0 questions
Health Science II Unit 2 Quiz Review
Quiz
•
0 questions
MO CNA Knowledge Exam Vocab Quiz #1
Quiz
•
0 questions
CERT Basic Training Quiz
Quiz
•
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
