Search Header Logo

Unit 3 Lessons 1-9 (APCSP Code.org)

Authored by Tom Parslow

Computers

9th - 12th Grade

Used 167+ times

Unit 3 Lessons 1-9 (APCSP Code.org)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

88 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1. What does a “FOR LOOP” do? What is the variable, “I”, used for?

a. FOR LOOP repeats a function for a set number of times; I is the number of times repeated

b. I is a parameter of the function, and for only performs an action if certain circumstances are met

c. The FOR LOOP is a function and I the absolute value of the function

d. The FOR LOOP controls the order functions are called on outside of the for loop; I is the number of functions it controls

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1. When is a good time to use a parameter?

Choice A: When you need to repeat the same line of code multiple times without re-writing it each time

Choice B: When you need to change the height, length, or size of something you are coding

Both A and B

Neither A nor B

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

moveForward() is an example of this:

Parameter

Function

Conditional

Library

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

This is a type of code that allows you to repeat a certain code over and over again without having to manually put it in.

Function

Parameter

Loop

API

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is an example of abstraction?

 a. A loop to draw multiple birds
 b. A function to draw a bird
 c. moveForward (25) 
d. arcLeft (90)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A collection of commands made available to a programmer:

Algorithm

Manual

API

AIG

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In programming, an expression that evaluates to True or False. 

Abstraction
Boolean Expression
Aggregate Expression
None of the above

Access all questions and much more by creating a free account

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

Already have an account?