Search Header Logo

GCSE OCR Python Paper 2 Basics

Authored by Jen Wiss

Computers

11th Grade

Used 21+ times

GCSE OCR Python Paper 2 Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, what word do we use for doing something repeatedly?

Iteration

Selection

Sequence

Repetition

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A switch statement is an example of....

Iteration

Sequence

Selection

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

count = 1

How do I add 1 to the variable count?

count + 1

count = count + 1

count++

count = count * 1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This is an example of ...

Sequence

Selection

Iteration

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, 'sequence' means...

The execution of statements one after the other in order.

A collection of items in no particular order.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code snippet, myValue is ...

Something else

A boolean

A string

7.

DRAG AND DROP QUESTION

1 min • 4 pts

0 is an ​ (a)   , "Hello, world!" is a ​ (b)   , False is a ​ (c)   and 3.14 is a ​ (d)   .

integer
string
Boolean
float
list
set
tuple

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?