To display something on the screen, use this command:
Python Basics

Quiz
•
Computers
•
6th - 12th Grade
•
Hard
Charles Martinez
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print()
Print()
screen()
write()
display()
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
To display the following on screen
Hello World!
the following command should be used:
print(Hello World!)
print("Hello World!")
print("Hello World" + !)
print"(Hello World!)"
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
x = 5
y = 6
print(x*y)
The code above displays the following:
11
x*y
Syntax Error
30
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
x = 5
y = 6
print("x*y")
The code above displays the following:
11
x*y
Syntax Error
30
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
x = 5
y = 6
print(x*y)
Select the correct answer(s):
x is a variable
x is a value
print() is a funciton
6.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
age = 16
message = "my age is: "
print (message, age)
Select the correct answer(s) below:
the output would read:
my age is 16
age is a variable
16 is assigned to the age variable
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
cakeAmount = input()
print ("We have", cakeAmount, " cakes")
The above code is run. You type:
six
Select the correct output.
We have 6 cakes
We have six cakes
Error
8.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
age = int(input("Enter Age (as integer): "))
newAge = age + 20
print ("your age in 20 years is:", newAge)
you enter
15
value of age is 15
value of newAge is 35
output is: your age in 20 years is: 35
value of age is 15
value of newAge is 20
output is: your age in 20 years is: 20
value of age is 15
value of newAge is "age + 20"
output is: your age in 20 years is: 35
value of age is 15
value of newAge is 35
output is: your age in 20 years is:35
9.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Operators used in python:
divide, multiply, add, subtract
/, *, +, -
div, mul, +, -
\, x, +, -
~, *, +, -
Similar Resources on Quizizz
12 questions
Computer Systems - How the web works - Lesson 7

Quiz
•
8th Grade
11 questions
Python for Class 7

Quiz
•
7th - 8th Grade
10 questions
Python - Printing, Variables and Syntax

Quiz
•
8th Grade
10 questions
Python-Code Right or Wrong

Quiz
•
7th - 8th Grade
13 questions
Python Iteration

Quiz
•
10th Grade
10 questions
Unit 1 Post Test: Basic Python

Quiz
•
9th - 12th Grade
11 questions
Python Quiz

Quiz
•
12th Grade
9 questions
Basic Python Coding

Quiz
•
6th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade