CodeHS Python Unit 3 Flashcard Review

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

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the output of the following program? Assume the user enters “Florence”, then “Fernandez”.
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 Wayground
13 questions
java variables 1

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

Flashcard
•
9th - 12th Grade
20 questions
Python Basics Review (TSK)

Flashcard
•
9th - 12th Grade
20 questions
Midterm YWLA AP CSP

Flashcard
•
9th - 12th Grade
15 questions
Screen printing tools and supplies

Flashcard
•
9th - 12th Grade
10 questions
Paper Practice 2

Flashcard
•
9th - 12th Grade
18 questions
Scratch Programming

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

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade