Reverse Python quiz

Reverse Python quiz

8th - 9th Grade

20 Qs

quiz-placeholder

Similar activities

Revision 8

Revision 8

5th - 8th Grade

18 Qs

A2 Computing SQL

A2 Computing SQL

8th Grade

17 Qs

IT (data, viruses and more)

IT (data, viruses and more)

8th Grade - Professional Development

20 Qs

Програмне забезпечення комп'ютера

Програмне забезпечення комп'ютера

8th Grade

16 Qs

CPF 1 - 3

CPF 1 - 3

6th - 8th Grade

15 Qs

ICT WEBINAR QUIZ

ICT WEBINAR QUIZ

KG - Professional Development

20 Qs

COMPUTER FINAL EXAM

COMPUTER FINAL EXAM

7th - 8th Grade

20 Qs

Web Dev Diagnostic

Web Dev Diagnostic

7th - 10th Grade

20 Qs

Reverse Python quiz

Reverse Python quiz

Assessment

Quiz

Computers

8th - 9th Grade

Practice Problem

Hard

Created by

Anna Król-Lewczuk

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?