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

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Denise Hogan
Used 13+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
radius = int(input("What is the radius?: "))
radius = int("What is the radius?: ")
int(input("What is the radius?: "))
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the code to ask a user for a color and store the answer as a variable?
user_color = input("Give a color: ")
user_color = "Give a color: "
input("Give a color: ")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variables allow us to:
Store information to use in our programs
Name different parts of our programs
Use English words to communicate with Tracy
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which program will have Tracy move forward 10, then turn left and move forward 20?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does "Top Down Design" make it easier to solve a problem?
Breaking the problem into larger parts
Breaking the problem down top to bottom
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a way functions make our code more readable?
Each function only contains one command
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
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What two things must be included in your function definition?
A function name and commands to be performed
Function variables and commands to be performed
Commands to be performed and function arguments
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
Computer Science Academy Quiz

Quiz
•
12th Grade
10 questions
3.3.2 Ovals and Circles

Quiz
•
11th Grade
15 questions
Javascript

Quiz
•
10th - 12th Grade
10 questions
Computational thinking - General review of the course

Quiz
•
9th - 12th Grade
10 questions
Javascript Part 2 Quizizz

Quiz
•
10th Grade
10 questions
Functions and Parameters Summative preview

Quiz
•
9th - 12th Grade
15 questions
Semester Final Part 2

Quiz
•
10th Grade - University
10 questions
Video Game Design - Quiz 5 - L6- P

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University