Functions Test

Functions Test

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

10th Grade

20 Qs

CSS GRADE 9 - QUIZ PECs and EM

CSS GRADE 9 - QUIZ PECs and EM

9th Grade

20 Qs

Y9 Creative iMedia RO81 Quiz Part 1

Y9 Creative iMedia RO81 Quiz Part 1

9th Grade

21 Qs

Komunikasi dalam Jaringan

Komunikasi dalam Jaringan

10th - 12th Grade

21 Qs

Repaso TIC- 1º-bach

Repaso TIC- 1º-bach

11th Grade

20 Qs

CSS 10 - QUIZ

CSS 10 - QUIZ

10th Grade

20 Qs

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Functions Test

Functions Test

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

CCSS
8.F.A.1, 6.EE.A.3, HSF.IF.A.1

Standards-aligned

Created by

Barbara White

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an argument?

A variable passed as a value to a function

A variable passed in from outside the function

Tags

CCSS.8.F.A.1

CCSS.HSF.IF.A.1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an parameter?

A variable passed as a value to a function

A variable passed in from outside the function

Tags

CCSS.8.F.A.1

CCSS.HSF.IF.A.1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the parameter of this

function quadrupleNumber(x){

var quadX = 4 * x;

println(quadX);

}

x

println

quadX

none

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we write functions?

Make our code easier to understand by giving a readable name to a group of instructions

Avoid writing repeated code

Make our code reusable

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is very important to pass parameters to functions in the proper order

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the parameters of the printNumbers function?

function printNumbers(first, second, third){

println(first);

println(second);

println(third);

}

first, second, third

x, y, z

println

rintNumbers

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement allows us to return values from functions?

break

if

return

function

Create a free account and access millions of resources

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?