AP1 Paper 2 Computer Science
Quiz
•
Professional Development
•
12th Grade
•
Practice Problem
•
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
for i = 1 to 10
print(i)
next i
switch bonus:
case 0:
score = 9
case 1:
score = 7
case 2:
score = 5
endswit
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 "half price"
INPUT discCard
If day NOT "saturday"
End
Output "Full price"
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.
str
while
str(year)
endwhile
input
surname
=
year
staffID
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
surname
year
while
+
endwhile
str(year)
input
=
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
15 questions
East Side Sushi
Quiz
•
7th - 12th Grade
20 questions
QUIZ 3 : TOPIC 2 [MANUFACTURING COSTS:CONCEPTS & COMPONENTS]
Quiz
•
1st Grade - University
20 questions
Python básico
Quiz
•
9th - 12th Grade
12 questions
The Medicine Bag Vocabulary
Quiz
•
5th Grade - Professio...
14 questions
G Suite - The Basics
Quiz
•
KG - 12th Grade
20 questions
PKK Kelas XII SMK
Quiz
•
12th Grade
15 questions
Accommodations and Modifications
Quiz
•
KG - University
15 questions
Cover Letter Quiz
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Professional Development
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
34 questions
Geometric Terms
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
16 questions
Proportional Relationships And Constant Of Proportionality
Quiz
•
7th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
