CodeHS 2.8 Functions to 2.12 User Input Review

CodeHS 2.8 Functions to 2.12 User Input Review

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Know thy Peer-to-Peer

Know thy Peer-to-Peer

12th Grade

10 Qs

My Sql

My Sql

12th Grade

10 Qs

UNIT 1.8 ELCE

UNIT 1.8 ELCE

10th Grade

14 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

ICT 10 : Introduction to Adobe Illustrator(CS5)

ICT 10 : Introduction to Adobe Illustrator(CS5)

10th Grade

10 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

XI_осн_веб_кон

XI_осн_веб_кон

9th - 12th Grade

10 Qs

CodeHS 2.8 Functions to 2.12 User Input Review

CodeHS 2.8 Functions to 2.12 User Input Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Denise Hogan

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?

Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does "Top Down Design" make it easier to solve a problem?

Breaking the problem down into smaller parts

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?