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

Python Introduction Quiz

Python Introduction Quiz

8th - 9th Grade

12 Qs

Python Variables

Python Variables

7th - 12th Grade

10 Qs

KD-1 Dasar pemrograman python

KD-1 Dasar pemrograman python

10th Grade

10 Qs

Python Code Quiz

Python Code Quiz

10th Grade

10 Qs

Printing in Python

Printing in Python

7th - 9th Grade

10 Qs

Python Ch. 1 & 2

Python Ch. 1 & 2

9th - 12th Grade

10 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Python Reflect

Python Reflect

8th Grade - University

13 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

Easy

Created by

Michele Templeton Freeman

Used 1+ times

FREE Resource

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.