AP1 Paper 2 Computer Science

Quiz
•
Professional Development
•
12th Grade
•
Medium
RHSC Computing
Used 18+ times
FREE Resource
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
for i = 1 to 10
print(i)
next i
if playerHit() then
score = 0
endif
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
End
If day NOT "saturday"
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.
input
endwhile
str(year)
surname
year
=
staffID
str
while
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
<
input
endwhile
str(year)
=
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Information and Records Management Quiz

Quiz
•
12th Grade
15 questions
Customer Service In Travel and Tourism

Quiz
•
6th Grade - University
20 questions
Foundations of Restaurant Management Chapter 20

Quiz
•
9th - 12th Grade
15 questions
AS100: LE100 Air Force Cadet and Active Duty Military Ranks

Quiz
•
9th - 12th Grade
11 questions
NOCTI REVIEW 2

Quiz
•
10th Grade - University
15 questions
Konektifitas BasisData WEB dengan Aplikasi Android

Quiz
•
12th Grade
11 questions
[U3C1L1] Command and Staff Roles

Quiz
•
9th - 12th Grade
20 questions
CC 100

Quiz
•
12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Professional Development
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University