AP1 Paper 2 Computer Science

AP1 Paper 2 Computer Science

12th Grade

16 Qs

quiz-placeholder

Similar activities

McFarland Trivia Advisory 9/9/2020

McFarland Trivia Advisory 9/9/2020

9th - 12th Grade

16 Qs

Effective Management and Leadership

Effective Management and Leadership

10th Grade - University

21 Qs

ROM Quiz of the Week

ROM Quiz of the Week

1st - 12th Grade

14 Qs

FINAL EXAM

FINAL EXAM

9th - 12th Grade

20 Qs

PD-demo

PD-demo

11th Grade - University

12 Qs

Office of Administrative Services - Forum

Office of Administrative Services - Forum

12th Grade - Professional Development

15 Qs

PROP Batch-0121/CHP/PROP/21   (Part-1)

PROP Batch-0121/CHP/PROP/21 (Part-1)

KG - Professional Development

15 Qs

GCC 15 Year Celebration

GCC 15 Year Celebration

KG - 12th Grade

17 Qs

AP1 Paper 2 Computer Science

AP1 Paper 2 Computer Science

Assessment

Quiz

Professional Development

12th Grade

Medium

Created by

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.

a
b
c
d
e

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.

g
h
i

print

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

c
b
a

str

surname

year

+

while

<

input

endwhile

str(year)

=

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?