What is the output of the following program? Assume the user enters “Florence”, then “Fernandez”.
CodeHS Python Unit 3 Flashcard Review

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

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
FlorenceFernandez
2.
FLASHCARD QUESTION
Front
What does the following program print? Options: <type 'str'>, <type 'int'>, <type 'float'>, The program crashes and doesn’t print anything.
Back
<type 'str'>
3.
FLASHCARD QUESTION
Front
Which of the following options is the best way to get a number from the user that you plan to use in a mathematical equation? Options: num = str(input(“Enter a number: “)), num = number(input(“Enter a number: “)), num = input(“Enter a number: “), num = int(input(“Enter a number: “))
Back
num = int(input(“Enter a number: “))
4.
FLASHCARD QUESTION
Front
Which one of the statements below will cause an error?
Options:
ans = “hi” * 8
ans = “hi” + 9
ans = “hi” + “hi” + “hi”
ans = (“a” * 4) + “b”
Back
ans = “hi” + 9
5.
FLASHCARD QUESTION
Front
What is the difference between a binary operator and a unary operator?
Back
A binary operator needs two things, while a unary operator only needs one.
6.
FLASHCARD QUESTION
Front
What is the final result of the expression 7 / 2 + 6?
Back
9.5
7.
FLASHCARD QUESTION
Front
Which of the following choices is a properly formed Python variable name, meaning it is both legal in the Python language and considered good style? Options: user_age, uSeRaGe, user!age!, 1user_age
Back
user_age
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Intro to Java Loops

Flashcard
•
9th - 12th Grade
15 questions
Python Functions and Exceptions Review

Flashcard
•
9th - 12th Grade
10 questions
CODEHS Looping Unit 5 Review

Flashcard
•
9th - 12th Grade
15 questions
Flashcard Review

Flashcard
•
9th Grade - University
14 questions
Python Basics & Syntax

Flashcard
•
10th - 12th Grade
13 questions
python advance

Flashcard
•
10th Grade
15 questions
CodeHS Python Unit 7 Looping Flashcard Review

Flashcard
•
9th - 12th Grade
13 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

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

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
24 questions
LSO - Virus, Bacteria, Classification - sol review 2025

Quiz
•
9th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade