Search Header Logo

Python Basics Review Quiz 5.1.5 - 5.1.11 CodeHS

Authored by Michele Templeton Freeman

Computers

9th - 12th Grade

Used 1+ times

Python Basics Review Quiz 5.1.5 - 5.1.11 CodeHS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How to display text on the screen in Python?

display

output

print

input

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is a sequence of characters in quotes called in Python?

integer

float

boolean

string

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What happens when you click Run in Python?

program ends

computer shuts down

console window closes

the interpreter executes the program

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is a Python program?

a conditional statement

a sequence of instructions

a mathematical equation

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which print statement will run first in a program with two print statements?

the second print statement

both print statements simultaneously

the first print statement

none of the print statements

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What type of quotes are used for printing inside parentheses?

brackets

double quotes

backticks

single quotes

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

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

print("Hello, world!")

display "Hello, world!"

print "Hello, world!"

print(Hello, world!)

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?