
AP1 Paper 2 Computer Science
Authored by RHSC Computing
Professional Development
12th Grade
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
CATEGORIZE QUESTION
3 mins • 4 pts
Identify whether the OCR Reference Language code given is an example of selection or iteration.
Groups:
(a) Selection
,
(b) Iteration
if playerHit() then
score = 0
endif
switch bonus:
case 0:
score = 9
case 1:
score = 7
case 2:
score = 5
endswit
for i = 1 to 10
print(i)
next i
whilescore != 0
playgame()
endwhile
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write pseudocode to increment a value held in a variable score by one.
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Breaking a complex problem down into smaller problems.
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Hiding or removing irrelevant details from a problem to reduce the complexity.
5.
LABELLING QUESTION
5 mins • 5 pts
A restaurant needs an algorithm designing to help employees work out if a customer can have a half price meal or not. It should:
•input required data
•decide if the customer is entitled to a discount
•output the result of the calculation.
Design the algorithm using a flowchart.
Output "Full price"
If day NOT "saturday"
INPUT discCard
Output "half price"
End
6.
LABELLING QUESTION
3 mins • 3 pts
Each member of staff that works in a restaurant is given a Staff ID. This is calculated using the following algorithm.
Identify the three different variables used.
surname
while
input
endwhile
staffID
=
str
year
str(year)
7.
LABELLING QUESTION
3 mins • 3 pts
Each member of staff that works in a restaurant is given a Staff ID. This is calculated using the following algorithm.
Identify the first three different operators used
str
endwhile
<
year
=
input
while
str(year)
surname
+
Access all questions and much more by creating a free account
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
13 questions
Google Apps You Name It?
Quiz
•
KG - University
15 questions
Graduate Vocabulary 61-75 Practice
Quiz
•
12th Grade
17 questions
Chapter 17 Stocks
Quiz
•
9th - 12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
13 questions
Dimensions of Lodging
Quiz
•
12th Grade
16 questions
Growth vs. Fixed Mindset
Quiz
•
9th - 12th Grade
20 questions
Ch. 2 Life Skills
Quiz
•
11th - 12th Grade
12 questions
Teacher Clarity
Quiz
•
KG - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Professional Development
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
11 questions
Exponent Quotient Rules A1 U7
Quiz
•
9th - 12th Grade