Python Programming Quiz

Python Programming Quiz

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Advantages and Disadvantages of Collecting Data

Advantages and Disadvantages of Collecting Data

10th Grade

20 Qs

Pretest TIK

Pretest TIK

10th Grade

20 Qs

Do You Know Your Keyboard?

Do You Know Your Keyboard?

5th - 10th Grade

15 Qs

Pointers

Pointers

12th Grade

20 Qs

Exam Style Questions

Exam Style Questions

10th - 11th Grade

18 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 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?