Search Header Logo

Python 1

Authored by Cecilia Wambui

Computers

1st Grade

Used 3+ times

Python 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

To display something on the screen, use this command:

print()

Print()

Write()

write()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To display the following on screen

Hello World!

the following command should be used:

print("Hello World!")

print(Hello World!)

print("Hello World" + !)

print"(Hello World!)"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

y = 6

print(x*y)

The code above displays the following:

Error

30

xy

11

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

y = 6

print("x*y")

The code above displays the following:

Error

30

x*y

11

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

x = 5

y = 6

print(x*y)

Select the correct answer(s):

y is a value

x is a variable

print() is a function

y is a variable

print() is a variable

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

age = 16

message = "my age is: "

print message, age

Select the correct answer(s) below:

the output would read:

my age is 16

age is a variable

16 is assigned to the age variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Data type that can only be true or false

String

Dictionary

Integer

Boolean

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?