AP1 Paper 2 Computer Science
Quiz
•
Professional Development
•
12th Grade
•
Medium
RHSC Computing
Used 18+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
CLASSIFICATION 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
whilescore != 0
playgame()
endwhile
switch bonus:
case 0:
score = 9
case 1:
score = 7
case 2:
score = 5
endswit
for i = 1 to 10
print(i)
next i
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 "half price"
Output "Full price"
INPUT discCard
If day NOT "saturday"
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.
endwhile
str
year
staffID
input
str(year)
while
=
surname
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
year
<
str
str(year)
input
endwhile
+
while
surname
=
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
12 questions
DeBakey HSHP Integrity Month |Module 2: Causes
Quiz
•
9th - 12th Grade
15 questions
Graduate 46-60 Vocabulary Words Review
Quiz
•
11th - 12th Grade
20 questions
Finger Waving Cosmetology
Quiz
•
11th - 12th Grade
13 questions
Quizzizz vs Kahoot: What's the Difference?
Quiz
•
9th Grade - University
14 questions
Formal Email Writing Quiz
Quiz
•
12th Grade
20 questions
REVISION 4 : TOPIC 9 [ACCOUNTING FOR NON-CURRENT ASSETS]
Quiz
•
1st Grade - University
12 questions
Employability
Quiz
•
9th - 12th Grade
15 questions
Dr Ed Chapter 12 Quiz 2
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Professional Development
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
11 questions
Halloween Trivia #2
Quiz
•
12th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
8 questions
Veterans Day Quiz
Quiz
•
12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
