Python Programming Quiz

Python Programming Quiz

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

INFORMATIKA_8

INFORMATIKA_8

7th - 9th Grade

15 Qs

Python Syntax II

Python Syntax II

10th Grade

16 Qs

Quiz Informatika Bab 3 & 4

Quiz Informatika Bab 3 & 4

10th Grade

20 Qs

Java by Mr Sam

Java by Mr Sam

10th Grade

16 Qs

Excel - basic

Excel - basic

9th Grade

15 Qs

UH 1 BTIK

UH 1 BTIK

10th Grade

15 Qs

Arduino_Quiz

Arduino_Quiz

12th Grade

20 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers