Python Basics Review Quiz 5.1.5 - 5.1.11 CodeHS

Python Basics Review Quiz 5.1.5 - 5.1.11 CodeHS

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Modern  Operating Systems

Modern Operating Systems

11th Grade

10 Qs

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

scratch

scratch

11th - 12th Grade

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Trắc nghiệm bài 12 tin học 11

Trắc nghiệm bài 12 tin học 11

11th Grade

10 Qs

Python Basics Review Quiz 5.1.5 - 5.1.11 CodeHS

Python Basics Review Quiz 5.1.5 - 5.1.11 CodeHS

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Michele Templeton Freeman

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

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!)

8.

FILL IN THE BLANK QUESTION

1 min • 2 pts

Type the code you would use to print the following to the screen:

I attend Riverside High School.