Search Header Logo

Python Basics Quiz

Authored by Vernon Leigh

Computers

9th Grade

Used 186+ times

Python Basics Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store whole numbers in Python?

float

str

bool

int

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store decimal numbers in Python?

boolean

string

integer

float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to display output in Python?

output

input

print

display

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to take input from the user in Python?

read

scan

input

get

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax to check if two values are equal in Python?

==

=

is

===

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax to check if two values are not equal in Python?

!==

!=

==

<>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax to check if a value is greater than or equal to another value in Python?

>

>=

<

==

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?