Python 1.1

Python 1.1

10th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Input and Output Operations in Python

Input and Output Operations in Python

6th - 10th Grade

11 Qs

Python Inputs

Python Inputs

6th - 10th Grade

11 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Premiers pas avec turtle

Premiers pas avec turtle

11th Grade

9 Qs

Python2

Python2

8th Grade - University

15 Qs

Kabeer Python Assessment Quiz

Kabeer Python Assessment Quiz

7th - 12th Grade

10 Qs

PCEP Section 3E: Operate with strings

PCEP Section 3E: Operate with strings

12th Grade

15 Qs

Python Quiz 1

Python Quiz 1

8th Grade - University

9 Qs

Python 1.1

Python 1.1

Assessment

Quiz

Computers

10th - 12th Grade

Easy

CCSS
L.2.2C

Standards-aligned

Created by

Hortense Cyr

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python code segment will display “Hello, world!” on the screen?

display Hello, world!

print("Hello, world!")

print = "Hello, world!"

"Hello, world!"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following Python code output?

print ("Hello")

print ("World")

Hello

World

HelloWorld

Hello World

Hello


World

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type is the following variable?


x = "Hi there"

float

boolean

integer

string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following Python program print?


x = "I am"

y = 6

z = "feet tall"


print (x, str(y) + z)

I am 6 feet tall

I am

6

feet tall

I am 6feet tall

x, y + z

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will output when this code is run?


guessLetter = "my favorite programming language"[9]

nothing because I don't have a print command

t

T

i

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol must be used to write a single line comment?

$

<!--

#

?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Tags

CCSS.L.2.2C

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?