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

1.2 Basic String Manipulation

1.2 Basic String Manipulation

9th Grade

10 Qs

CodeTigers Python 101

CodeTigers Python 101

KG - Professional Development

10 Qs

PYTHON -BASICS

PYTHON -BASICS

11th Grade

10 Qs

GRADE 9 PART B UNIT 5 INTRODUCTION TO PYTHON

GRADE 9 PART B UNIT 5 INTRODUCTION TO PYTHON

9th Grade

10 Qs

Python 輸入/變數/輸出

Python 輸入/變數/輸出

11th Grade

10 Qs

Python quiz

Python quiz

10th Grade

13 Qs

抄來的Python測驗

抄來的Python測驗

9th - 12th Grade

10 Qs

python String and comment

python String and comment

3rd 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.