Python Basics Quiz

Python Basics Quiz

9th Grade

15 Qs

quiz-placeholder

Similar activities

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python Introduction Quiz

Python Introduction Quiz

8th - 9th Grade

12 Qs

Python basics yr7

Python basics yr7

6th - 9th Grade

20 Qs

Python Selection

Python Selection

8th - 9th Grade

10 Qs

Python basics

Python basics

7th - 10th Grade

18 Qs

Python Introduction

Python Introduction

9th Grade

15 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

Python Basics Quiz

Python Basics Quiz

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Vernon Leigh

Used 169+ 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?