Reverse Python quiz

Reverse Python quiz

8th - 9th Grade

20 Qs

quiz-placeholder

Similar activities

Class 8A Unit 9.1 Python Basic

Class 8A Unit 9.1 Python Basic

6th - 8th Grade

20 Qs

Python basics

Python basics

9th - 12th Grade

16 Qs

Python (The Basics)

Python (The Basics)

6th - 10th Grade

20 Qs

Python programming

Python programming

6th - 12th Grade

16 Qs

Python Basics Review (TSK)

Python Basics Review (TSK)

9th - 12th Grade

20 Qs

Python Basics

Python Basics

8th - 12th Grade

23 Qs

Foundations of Programming

Foundations of Programming

9th - 10th Grade

18 Qs

Python

Python

8th Grade

22 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?