7.2 Parameters & Return Investigate

7.2 Parameters & Return Investigate

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Chapter 3 Review

Chapter 3 Review

9th - 12th Grade

15 Qs

Python Functions

Python Functions

9th Grade

20 Qs

Functions Pt. 2 + Separate Compilation

Functions Pt. 2 + Separate Compilation

9th Grade - University

10 Qs

Revision for Quiz #1

Revision for Quiz #1

9th Grade

16 Qs

Databases

Databases

6th - 10th Grade

12 Qs

Code.org Unit 5 Vocab Quiz 1

Code.org Unit 5 Vocab Quiz 1

9th - 12th Grade

10 Qs

C# 101 Assessment

C# 101 Assessment

9th - 12th Grade

20 Qs

Python Functions and Error Handling

Python Functions and Error Handling

10th Grade - University

20 Qs

7.2 Parameters & Return Investigate

7.2 Parameters & Return Investigate

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Teresa Elmore

Used 6+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?