Reverse Python quiz

Reverse Python quiz

8th - 9th Grade

20 Qs

quiz-placeholder

Similar activities

Input Device

Input Device

9th - 10th Grade

16 Qs

Year 8 Lists

Year 8 Lists

8th Grade

20 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

Quiz Model Extreme Programming

Quiz Model Extreme Programming

1st - 8th Grade

16 Qs

Ultrasonic Sensor and Parking Assistance Quiz

Ultrasonic Sensor and Parking Assistance Quiz

8th Grade

20 Qs

ASK T3 : 1.1 Pembangunan Aturcara

ASK T3 : 1.1 Pembangunan Aturcara

1st - 12th Grade

20 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

[RB3-Ch7] Data Verification & Validation

[RB3-Ch7] Data Verification & Validation

6th - 8th Grade

15 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

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?

Discover more resources for Computers