Python Programming Quiz

Python Programming Quiz

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Informatika

Informatika

10th Grade

20 Qs

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th Grade

15 Qs

Traffic Light Project Quiz

Traffic Light Project Quiz

9th Grade

17 Qs

Quiz Inf X.B

Quiz Inf X.B

10th Grade - University

20 Qs

CSS - Computer Systems Services

CSS - Computer Systems Services

12th Grade

20 Qs

Yr7- Understanding computers Lessons 1-3

Yr7- Understanding computers Lessons 1-3

7th - 11th Grade

20 Qs

Remidi XI TKJ2 UH 2 Teknologi Jaringan WAN

Remidi XI TKJ2 UH 2 Teknologi Jaringan WAN

11th Grade

20 Qs

Arduino

Arduino

7th - 9th Grade

15 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

CSTA

Standards-aligned

Created by

CRYSTAL DEMOURA

Used 7+ 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

1 min • 1 pt

Can a number be a string? True or False.

True

False

Tags

CSTA

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

_______ is the process of reducing complexity by hiding unnecessary information and focusing on what is needed to make it work.

Loop

Formality

Abstraction

Function

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the % operator do in Python?

Calculates the leftovers

Calculates the dividend

Calculates the product

Calculates the remainder

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of print("hello" + 1 + 2 + 3)?

Error

hello123

hello6

"hello"123

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following checks if x is equal to y?

if x = y:

if x == y:

if x != y:

if x >= y:

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which command will correctly ask the user for their age and save it as an integer?

age = input("What is your age?")

age = int(input("What is your age?"))

age = float(input("What is your age?"))

age = int(input("What is your age?"))

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following checks if x is not equal to y?

if x not = y:

if x == y:

if x =! y:

if x != y:

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?