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
What is the code to collect a number from the user to use for the radius of a circle?
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 Wayground
15 questions
Functions and Parameters Quiz

Quiz
•
9th - 12th Grade
10 questions
Unit 7 Review

Quiz
•
9th - 12th Grade
14 questions
LocoRobo LEDs

Quiz
•
5th - 12th Grade
10 questions
HTML Coding

Quiz
•
9th - 11th Grade
10 questions
3.4 Microbit RETRIEVAL PRACTICE

Quiz
•
6th - 9th Grade
15 questions
Crash Course Computer Science #16 - Software Engineering

Quiz
•
9th - 12th Grade
10 questions
Small Basic Basics

Quiz
•
8th - 9th Grade
15 questions
First assessment Grade 9 T1 2024

Quiz
•
9th 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