Search Header Logo

CS1 TGT Review_210

Authored by VIRENA MERLA

Computers

11th Grade

Used 2+ times

CS1 TGT Review_210
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

65 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Do you call or define a function first?

call

define

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is a parameter for a function?

the scope of the functions variables

a variable used to send information to a function

the name of the function

the name of the main program calling the function

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What are the reasons for using functions? Select all that apply.

To build code that will be reused

To simplify code

To add comments

To help organize longer programs

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be printed?

nothing

5

6

"3 + 2"

Answer explanation

No print function is written

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be printed?

nothing

5

6

"3 + 2"

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

How many times will Boo print?

none

4

5

1

Answer explanation

range(1,4) starts at 1 and goes to one less than 5. So it runs for 1, 2, 3 & 4. 4 times

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What term is used to describe data passed into a function?

Variable

Loop

Constant

Parameter

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?