Search Header Logo

Python Programming Quiz

Authored by McBride Muleya

Computers

4th - 6th Grade

Used 3+ times

Python Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is Python?

A snake

A coding language

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which one of the following data types is not numeric?

str

int

float

3.

OPEN ENDED QUESTION

3 mins • Ungraded

Write a Python code with a variable called myName to store your name, then print your name on the screen.

Evaluate responses using AI:

OFF

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Study the code screenshot attached and predict the output.

True

False

The code will not work

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Study the code snapshot shown and predict the output.

21

40.0

20.0

none

6.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

Media Image

Jay is coding in Python, she writes code to store her first name in a variable and use the variable to print her name on the screen, unfortunately, her code fails to run. Look at her code snapshot and help her solve the problem. Rewrite her code to correct the mistake.

7.

OPEN ENDED QUESTION

5 mins • Ungraded

 Given the variables and values in the snapshot, write a python code to calculate and print the area of a rectangle. The formula is volume = l ×w×hvolume\ =\ l\ \times w\times h 

Evaluate responses using AI:

OFF

Access all questions and much more by creating a free account

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?