Reverse Python quiz

Reverse Python quiz

8th - 9th Grade

20 Qs

quiz-placeholder

Similar activities

Year 8 Python - Lesson 3

Year 8 Python - Lesson 3

6th - 8th Grade

19 Qs

Python

Python

8th Grade

20 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 Qs

Programming Languages

Programming Languages

9th - 12th Grade

17 Qs

AQA GCSE Computer Science - 3.2.11 Structured programming

AQA GCSE Computer Science - 3.2.11 Structured programming

8th - 10th Grade

20 Qs

Variables

Variables

9th Grade

24 Qs

Year 8 T3 assignment

Year 8 T3 assignment

8th Grade

20 Qs

Quizz

Quizz

1st - 12th Grade

16 Qs

Reverse Python quiz

Reverse Python quiz

Assessment

Quiz

Computers

8th - 9th Grade

Hard

Created by

Anna Król-Lewczuk

Used 10+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

0.

What is a variable?

What will this line introduce?

def something(value):

If you’re counting in Python, what number do you start with?

What does it mean if your Python interpreter gives you a ‘syntax error’?

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It will display the value of the ‘something’ variable.

What will this line do?

something = input(‘Why did the chicken cross the road?’)

What is a subroutine (function) in programming?

What does it mean if your Python interpreter gives you a ‘syntax error’?

What will this line do?

print(something)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It’s a set of instructions within a program to carry out a specific task.

What is selection in programming?

What is a variable?

What is a subroutine (function) in programming?

What is iteration in programming?

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It’s a named list that can contain values.

What is iteration in programming?

What is selection in programming?

What is a variable?

What is an array in Python?

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It’s a set of instructions designed to be repeated a number of times.

What is iteration in programming?

What is selection in programming?

What is an array in Python?

What will this line do?

print(‘something’)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It’s a named space reserved in a program that can store a value.

What is an array in Python?

What is selection in programming?

What is a variable?

What will this line introduce?

def something(value):

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It will define a subroutine (function) called ‘something’.

What will this line do?

something = input(‘Why did the chicken cross the road?’)

What will this line do?

print(‘something’)

What will this line introduce?

def something(value):

Why does a value returning function need the ‘return’ statement?

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?