AP1 Paper 2 Computer Science

AP1 Paper 2 Computer Science

12th Grade

16 Qs

quiz-placeholder

Similar activities

Form 4 Biz Skill Pre Assessment

Form 4 Biz Skill Pre Assessment

10th - 12th Grade

12 Qs

POB - Lesson 3

POB - Lesson 3

9th - 12th Grade

11 Qs

Chapter 16 - Aeromedical Factors

Chapter 16 - Aeromedical Factors

KG - Professional Development

20 Qs

PSPTKR

PSPTKR

12th Grade

11 Qs

Interview Skills

Interview Skills

11th - 12th Grade

14 Qs

Hampshire UK: Do you know it?

Hampshire UK: Do you know it?

8th Grade - Professional Development

20 Qs

Term 1 Reflection

Term 1 Reflection

KG - Professional Development

11 Qs

Communication and Sales by Vishal Jaiswal

Communication and Sales by Vishal Jaiswal

KG - Professional Development

12 Qs

AP1 Paper 2 Computer Science

AP1 Paper 2 Computer Science

Assessment

Quiz

Professional Development

12th Grade

Practice Problem

Medium

Created by

RHSC Computing

Used 18+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

for i = 1 to 10
   print(i)
next i

whilescore != 0
   playgame()
endwhile

if playerHit() then
   score = 0
endif

switch bonus:
   case 0:
    score = 9
   case 1:
    score = 7
   case 2:
    score = 5
endswit

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"

If day NOT "saturday"

Output "Full price"

INPUT discCard

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.

g
h
i

str

while

print

surname

endwhile

input

=

staffID

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

c
b
a

while

year

surname

<

+

=

endwhile

input

str

str(year)

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development