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
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
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
CS Python Fundamentals Flashcard 4 Practice

Flashcard
•
9th - 12th Grade
10 questions
AP Computer Science Principles - Unit 3: App Design

Flashcard
•
9th - 12th Grade
10 questions
Code.org Unit 5 Vocab Flashcard 1

Flashcard
•
9th - 12th Grade
10 questions
CSP Unit 3 Assessment

Flashcard
•
9th - 12th Grade
10 questions
CMU Python Intro Flashcard

Flashcard
•
9th - 12th Grade
10 questions
BTEC DIT C1 LAA - User Interface Vocab Test

Flashcard
•
10th - 11th Grade
10 questions
AP CSP Photo App List Flashcard

Flashcard
•
9th - 12th Grade
6 questions
Python -- Inputs

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade