Reverse Python quiz

Reverse Python quiz

8th - 9th Grade

20 Qs

quiz-placeholder

Similar activities

G7_Ch-7,8_HTML_Asmt-3_Revision

G7_Ch-7,8_HTML_Asmt-3_Revision

6th - 8th Grade

20 Qs

Internet, Jaringan Komputer, & Komunikasi Data.

Internet, Jaringan Komputer, & Komunikasi Data.

8th Grade

20 Qs

Acceptable Use Policy

Acceptable Use Policy

6th - 9th Grade

16 Qs

Semester 1- Exploration of Robotics (Units 5-7)

Semester 1- Exploration of Robotics (Units 5-7)

6th - 8th Grade

17 Qs

9.1 Homework #3

9.1 Homework #3

9th Grade

20 Qs

B Words GCSE Computer Science

B Words GCSE Computer Science

1st - 10th Grade

15 Qs

computer Lab Manners

computer Lab Manners

5th - 10th Grade

19 Qs

BIM1014 Quiz 2

BIM1014 Quiz 2

KG - University

15 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

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

Already have an account?