Search Header Logo

OCR GCSE Programming Techniques

Authored by Jenny Sharp

Computers

9th - 12th Grade

Used 167+ times

OCR GCSE Programming Techniques
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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"

Access all questions and much more by creating a free account

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?