Search Header Logo

Day 8 Unit 3 Questions on Functions

Authored by Mrs. Mosier

12th Grade

Day 8 Unit 3 Questions on Functions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

The values passed to a function from the call statement are called

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable that can be accessed from anywhere in a program is called

Global variable
Local variable

Static variable

Open access variable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A void function returns a value

false

true

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword marks the beginning of the function block

Func

Define

def

Function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following pertains to a piece of code that can take inputs to perform a specific task?

Assignment Statement

Functions

Parameters

To declare a value

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When defining a function, the definition must occur before it is called.

TRUE

FALSE

7.

DROPDOWN QUESTION

1 min • 1 pt

The variable listed inside the parentheses in the function definition is called a(n) ​ (a)   , while the value that is sent to the function when it is called is a(n) ​ (b)   .

formal parameter
actual 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?