OCR GCSE Programming Techniques

OCR GCSE Programming Techniques

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Arrays in Swift

Arrays in Swift

10th - 12th Grade

13 Qs

Python Lists

Python Lists

8th - 9th Grade

10 Qs

Python List Operations

Python List Operations

10th Grade

13 Qs

Python Lists

Python Lists

9th - 12th Grade

17 Qs

Python Intro

Python Intro

8th - 9th Grade

10 Qs

Arrays

Arrays

10th - 12th Grade

10 Qs

Program Development - Python: Errors

Program Development - Python: Errors

8th - 10th Grade

13 Qs

Python Lists

Python Lists

10th - 12th Grade

15 Qs

OCR GCSE Programming Techniques

OCR GCSE Programming Techniques

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Jenny Sharp

Used 167+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A section of a program containing the keyword if in Python is an example of what?
Sequence
Selection
Iteration

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a count controlled loop?
While.... do
Repeat.... until
For..... next

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the start of an example of a condition controlled loop
for index in range (10):
while not reached:

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following shows a logical error?
while x>2 AND x<1:
for index in range(:
print(Hello")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following contains syntax errors?
for index in range(1, 5, -1):
While x > 3
if fred == name:

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

name = "NEWSPAPER". Which of the following will NOT print out the 'S'?
print("NEWSPAPER"[3])
print(name[3])
print(name(3))
print(name[3:4])

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What will this code print?
"MR FA"
"MR F"
"R FA"
"R FAN"

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?