Python Basics

Python Basics

8th - 10th Grade

30 Qs

quiz-placeholder

Similar activities

Excel Knowledge

Excel Knowledge

1st - 9th Grade

25 Qs

Adobe Illustrator Quiz Review

Adobe Illustrator Quiz Review

9th - 12th Grade

27 Qs

Search Algorithms

Search Algorithms

9th - 12th Grade

25 Qs

BTEC Creative Digital Media - Unit 01 - Test 01

BTEC Creative Digital Media - Unit 01 - Test 01

10th - 11th Grade

25 Qs

Computer Knowledge Pretest

Computer Knowledge Pretest

6th - 8th Grade

25 Qs

BAB 4 : Sistem Komputer

BAB 4 : Sistem Komputer

8th Grade

25 Qs

Grade 4 - ICT - Review S1

Grade 4 - ICT - Review S1

3rd - 10th Grade

28 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

8th - 10th Grade

Practice Problem

Medium

Created by

Traci Allgor

Used 152+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?