Functions Parameters

Functions Parameters

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Exploring Computer Science

Exploring Computer Science

9th - 10th Grade

14 Qs

2.2 EOU Quiz

2.2 EOU Quiz

1st Grade - Professional Development

10 Qs

Computer Applications

Computer Applications

10th Grade

7 Qs

Vocabulary Quizz

Vocabulary Quizz

5th - 12th Grade

9 Qs

Unit 2 Quiz - Bootstrap: Algebra

Unit 2 Quiz - Bootstrap: Algebra

6th - 12th Grade

11 Qs

Code.org Unit 4

Code.org Unit 4

11th Grade

11 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Python Functions Quiz

Python Functions Quiz

10th Grade

13 Qs

Functions Parameters

Functions Parameters

Assessment

Quiz

Computers

10th - 12th Grade

Hard

CCSS
L.1.2A, 8.F.A.1, L.2.2A

+4

Standards-aligned

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

Tags

CCSS.L.1.2A

CCSS.L.2.2A

CCSS.L.3.2A

CCSS.L.4.2A

CCSS.L.K.2A

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?