Python Quiz for class 9

Python Quiz for class 9

9th - 11th Grade

35 Qs

quiz-placeholder

Similar activities

Python - Lists, Dictionaries and Loops

Python - Lists, Dictionaries and Loops

9th - 12th Grade

40 Qs

T-Level DPDD: List Concepts Quiz

T-Level DPDD: List Concepts Quiz

11th Grade

30 Qs

Python Review

Python Review

8th - 12th Grade

35 Qs

Dasar Pemrograman Python

Dasar Pemrograman Python

10th Grade

30 Qs

Their Python Exam

Their Python Exam

9th Grade - Professional Development

31 Qs

Python Unit 11 - Collections: Dictionary, List, Set, Tuple

Python Unit 11 - Collections: Dictionary, List, Set, Tuple

6th - 12th Grade

40 Qs

Semester Final 2025

Semester Final 2025

10th Grade - University

40 Qs

Computer

Computer

9th - 11th Grade

30 Qs

Python Quiz for class 9

Python Quiz for class 9

Assessment

Quiz

Computers

9th - 11th Grade

Hard

CCSS
6.EE.B.6

Standards-aligned

Created by

LALITHA KUMARI

Used 18+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To display something on the screen, use this command:

print()

Print()

screen()

write()

display()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

x = 5

y = 6

print(x*y)


The code above displays the following:

11

x*y

Syntax Error

30

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

age = input("Enter Age (as integer): ")

newAge = age + 20

print ("your age in 20 years is:", newAge)


you enter

15

value of age is 15

value of newAge is 35

output is: your age in 20 years is: 35

value of age is 15

value of newAge is 20

output is: your age in 20 years is: 20

value of age is 15

value of newAge is "age + 20"

output is: your age in 20 years is: 35

value of age is 15

value of newAge is 35

output is: your age in 20 years is:35

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The number or word we give to a variable
Value
Bug
Information
Text

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a variable?
A box(memory location) where you store values
a type of graphics
Data type
a type of memory

Tags

CCSS.6.EE.B.6

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What symbol is used in python to assign values to a variable?
equals =
plus + 
forward slash /
asterisk *

Tags

CCSS.6.EE.B.6

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

‘If’ is a decision making statement

true

false

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?