Search Header Logo

7.2 Parameters & Return Investigate

Authored by Teresa Elmore

Computers

9th - 12th Grade

Used 6+ times

7.2 Parameters & Return Investigate
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

What are the argument(s) passed through the parameter in calculate() when it is called?

" + "

" - "

" * "

symbol

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

The name of the parameter in the calculate function is ...

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What type of data does the parameter require in the calculate() function?

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What type of data is returned by the calculate() function?

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Give the line number for one line of code where the calculate function is called.

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Give the line number of the header (first line) of the calculate function.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

See line 20: answer is the name of a(n)

argument

parameter

global variable

local variable

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?