Python Basics Quiz

Python Basics Quiz

9th Grade

15 Qs

quiz-placeholder

Similar activities

python String and comment

python String and comment

3rd Grade - University

13 Qs

Python 1

Python 1

7th - 9th Grade

20 Qs

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python Recap

Python Recap

7th Grade - University

20 Qs

Python - Quiz

Python - Quiz

9th - 11th Grade

17 Qs

Python basics recap

Python basics recap

9th - 12th Grade

20 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

Python Introduction

Python Introduction

9th Grade

15 Qs

Python Basics Quiz

Python Basics Quiz

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Vernon Leigh

Used 173+ times

FREE Resource

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?

>

>=

<

==

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?