CodeHS 2.8 Functions to 2.12 User Input Review
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
Used 1+ times
FREE Resource
Student preview

7 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the code to collect a number from the user to use for the radius of a circle?
Back
radius = int(input("What is the radius?: "))
2.
FLASHCARD QUESTION
Front
What is the correct way to ask a user for a color and store the answer as a variable? Options: user_color = input("Give a color: "), user_color = "Give a color: ", input("Give a color: ")
Back
user_color = input("Give a color: ")
3.
FLASHCARD QUESTION
Front
Variables allow us to:
Back
Store information to use in our programs
4.
FLASHCARD QUESTION
Front
Which program will have Tracy move forward 10, then turn left and move forward 20?
Back
Option 1
5.
FLASHCARD QUESTION
Front
Which of the following is NOT a way functions make our code more readable?
- Functions break our code into smaller, separate parts
- Function names can describe what the function is completing
- Functions shorten our code by reusing code that has already been written
Back
Each function only contains one command
6.
FLASHCARD QUESTION
Front
What two things must be included in your function definition?
Back
A function name and commands to be performed
7.
FLASHCARD QUESTION
Front
Which is the proper way to call the function three_circles? Options: three_circles(), def three_circles():, fun three_circles()
Back
three_circles()
Similar Resources on Wayground
10 questions
Output Devices
Flashcard
•
10th Grade
10 questions
vocab 2/3 to 2/7
Flashcard
•
KG - University
9 questions
Parts of a Computer
Flashcard
•
9th - 12th Grade
10 questions
Operating Systems Flashcard
Flashcard
•
8th Grade - University
8 questions
Lesson 3 - Internet Concepts
Flashcard
•
KG
2 questions
S|9 971526940039 Escort Service Near By Deira Suites Hotel Apart
Flashcard
•
KG
4 questions
Tools for Geometry
Flashcard
•
9th - 12th Grade
13 questions
[AP CSP] Binary Conversion
Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
40 questions
Introduction to Microsoft Word
Quiz
•
8th - 12th Grade
85 questions
Word Processing Review
Quiz
•
8th - 9th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
31 questions
Python Conditionals Review
Quiz
•
9th - 12th Grade