Python Programming Quiz

Python Programming Quiz

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

8.2 - Assessment Feedback

8.2 - Assessment Feedback

9th Grade

16 Qs

Basic Programming Concepts

Basic Programming Concepts

9th Grade

15 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

Python Syntax

Python Syntax

10th Grade

16 Qs

Program Development - Python: Operators

Program Development - Python: Operators

9th - 10th Grade

19 Qs

SAINS KOMPUTER TINGKATAN 4 (BAB1)

SAINS KOMPUTER TINGKATAN 4 (BAB1)

KG - University

21 Qs

Python Basics - yr 9

Python Basics - yr 9

9th - 12th Grade

18 Qs

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Medium

CSTA

Standards-aligned

Created by

CRYSTAL DEMOURA

Used 7+ times

FREE Resource

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:

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?