Python Programming Quiz

Python Programming Quiz

9th Grade

16 Qs

quiz-placeholder

Similar activities

Command Terms

Command Terms

6th - 10th Grade

18 Qs

Animal Jam Play Wild (2019)

Animal Jam Play Wild (2019)

1st Grade - Professional Development

15 Qs

Microsoft Excel

Microsoft Excel

KG - Professional Development

20 Qs

Planes

Planes

3rd Grade - University

20 Qs

Harry Potter

Harry Potter

KG - Professional Development

15 Qs

Quiz on Famous Personalities

Quiz on Famous Personalities

9th - 12th Grade

20 Qs

Puerto Rico

Puerto Rico

KG - University

13 Qs

Sensory Testing

Sensory Testing

7th - 12th Grade

15 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Other

9th Grade

Practice Problem

Easy

Created by

Hamza Motiyar

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code print? print("Hello" + "World")

Hello World

HelloWorld

Hello + World

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to get input from the user?

read("name")

input("Enter name: ")

scan("name")

get("name")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store a number like 25?

string

int

bool

float

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code? x = 3 if x > 5: print("Big") else: print("Small")

Big

Small

3

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code output? for i in range(3): print(i)

1 2 3

0 1 2

0 1 2 3

Error

6.

OPEN ENDED QUESTION

3 mins • Ungraded

What does the input() function do in Python?

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • Ungraded

Write one example of using a while loop.

Evaluate responses using AI:

OFF

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?