What is the code to collect a number from the user to use for the radius of a circle?
CodeHS 2.8 Functions to 2.12 User Input Review

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
Used 1+ times
FREE Resource
Student preview

7 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
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 Quizizz
10 questions
AP CSP Semester Exam Review

Flashcard
•
9th - 12th Grade
10 questions
AP CSP Semester Exam

Flashcard
•
9th - 12th Grade
5 questions
User Inputs JavaScript

Flashcard
•
10th Grade
9 questions
Reading and Writing Files with Python Intro

Flashcard
•
9th - 12th Grade
10 questions
Unit 1 Digital Information (Modified)

Flashcard
•
9th - 12th Grade
10 questions
Unit 1 Vocab CS Discoveries

Flashcard
•
9th - 12th Grade
10 questions
Unity Game Making

Flashcard
•
10th Grade
10 questions
Python Loops Flashcard

Flashcard
•
10th 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
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

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

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade