Search Header Logo

Python Quiz for class 9

Authored by LALITHA KUMARI

Computers

9th - 11th Grade

CCSS covered

Used 19+ times

Python Quiz for class 9
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?