Search Header Logo

Python Basics

Authored by Priyanka R.D

Computers

1st - 5th Grade

Used 19+ times

Python Basics
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

How would you print a text string?

output "Hello!"

print ("Hello!")

print (Hello!)

output (Hello!)

2.

MULTIPLE CHOICE QUESTION

30 sec • 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

What would print (10 + 16) produce?

20
22
24
26

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A data type that can have one of two values: True or False

boolean

variable

modulo

interpreter

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Integers are ____________ and floats are _____________

whole numbers and exponents

powers and fractions

fractions and whole numbers

whole numbers and decimal numbers

6.

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

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output?
name = 'Dave'
print (name)

Dave
'Dave'
name
(name)

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?