What is the final result of the expression 4 + 5 * 3?
Unit 3 Python TEST

Flashcard
•
Computers
•
11th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
19
2.
FLASHCARD QUESTION
Front
What is the final result of the expression 7 / 2 + 6?
Back
9.5
3.
FLASHCARD QUESTION
Front
Choose the print statement below that will cause an error. Assume that num has the value 6, and name has the value Isabella.
Options:
print(name + “:” )
print(num)
print(name + ” wants ” + “num ” + “candies”)
print(name + “: ” + str(num))
print(name + “: ” + num)
Back
print(name + “: ” + num)
4.
FLASHCARD QUESTION
Front
Which one of the statements below will cause an error? ans = “hi” * 8, ans = “hi” + 9, ans = “hi” + “hi” + “hi”, ans = (“a” * 4) + “b”
Back
ans = “hi” + 9
5.
FLASHCARD QUESTION
Front
What does the following program print?
a = "hi"
b = 4
c = a * b
print(class(c))
Back
6.
FLASHCARD QUESTION
Front
Suppose you have a variable defined a = "4". What is the variable type of a?
Back
str
7.
FLASHCARD QUESTION
Front
Choose the option that correctly prints out the variable(s). Options: x = "codehs" print(int(x)), num = 8 print("num"), name = "Alyx" age = 32 print(name + "is " + age), language = "Python" print("I'm learning " + language)
Back
language = "Python" print("I'm learning " + language)
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
Python Basics Review

Flashcard
•
10th Grade
11 questions
Python [Basic]

Flashcard
•
KG
15 questions
Python

Flashcard
•
10th - 12th Grade
18 questions
Basic Python and Console Interaction Flashcard

Flashcard
•
12th Grade
16 questions
Python Basics Unit 3.1

Flashcard
•
12th Grade
19 questions
Python Essentials 119

Flashcard
•
9th - 12th Grade
16 questions
G12- Selection and Decision Making- Flash cards

Flashcard
•
12th Grade - University
18 questions
Javascript Basics Flashcard Review

Flashcard
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade