Functions Parameters

Functions Parameters

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

GCSE Computing - Subprograms

GCSE Computing - Subprograms

9th - 10th Grade

14 Qs

GCSE Computer Science - Python Programming Concepts

GCSE Computer Science - Python Programming Concepts

9th - 11th Grade

17 Qs

2.2.1 Variables and Functions

2.2.1 Variables and Functions

12th Grade

10 Qs

Subroutines

Subroutines

9th - 11th Grade

16 Qs

Python Functions

Python Functions

9th - 12th Grade

8 Qs

Python Definitions

Python Definitions

10th - 12th Grade

12 Qs

7. PYTHON FUNCTIONS -2

7. PYTHON FUNCTIONS -2

12th Grade

10 Qs

Python Functions

Python Functions

12th Grade

15 Qs

Functions Parameters

Functions Parameters

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Created by

Barbara White

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable that is declared inside a function is called a

distant variable

function variable

close variable

local variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is written in camel case?
computerScience
ComputerScience
COMPUTERSCIENCE
computerSCIENCE

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct way to call the function called "doAddition" with a parameter of 8?

doAddition(8);

function doAddition(8);

doMath();

doAddition{8};

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is true regarding naming functions? 
Function names can be reused multiple times
A function name should be as descriptive as possible to indicate what the function does.
Function names should be organized alphabetically
The function name should begin with a number that indicates the order in which it should be executed.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code, how many times is the "dance" function called?

called 0 times

called 1 time

called 2 times

called 3 times

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An extra piece of information passed to a function to customize it for a specific need

Parameter

Library

Function

Block

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A reusable block of code that groups together a sequence of statements to perform a specific task.

Function

Identifier

Argument

Blocks

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?