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 Wayground
10 questions
Ôn tập chủ đề F

Flashcard
•
KG
16 questions
G12- Selection and Decision Making- Flash cards

Flashcard
•
12th Grade - University
11 questions
Python [Basic]

Flashcard
•
KG
18 questions
Python Basics Review

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

Flashcard
•
12th Grade
20 questions
python flashcard

Flashcard
•
12th Grade
20 questions
CodeHS Python Unit 3 Flashcard Review

Flashcard
•
9th - 12th Grade
17 questions
Python Basics

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade