Search Header Logo

Python Basics

Authored by Traci Allgor

Computers

8th - 10th Grade

Used 172+ times

Python Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the output be from the following code?
print(Hello world!)

Hello world!
SyntaxError
Hello world
print(Hello world!)

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the output be from the following code?
print("Hello world!")

SyntaxError
Hello world!
"Hello world!"
print(Hello world!)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the output be from the following code?
print(3+4)

3+4
7
SyntaxError
print(3+4)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the output be from the following code?
print("3+4")

7
3+4
34
SyntaxError

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the output be from the following code?

print("Hello world!\nHello world!") (aka new line)

Hello world! Hello world!

Hello world!

Hello world!

SyntaxError

Hello world!

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Joining elements together to make a string is called what?

Combining
Connecting
Concatenation
Stringing

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which Python command is used to output information to the screen?

read
output
print
display

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?