Functions

Functions

8th Grade

10 Qs

quiz-placeholder

Similar activities

ÔN TẬP TIN 8 GIỮA KÌ 2

ÔN TẬP TIN 8 GIỮA KÌ 2

8th Grade

13 Qs

For loop

For loop

8th Grade

10 Qs

latihan soal urain

latihan soal urain

8th Grade

10 Qs

Ôn lại kiến thức  Lớp 3 T13

Ôn lại kiến thức Lớp 3 T13

1st - 10th Grade

10 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Asesmen Unit One dan Unit Two MIT APP INVENTOR

Asesmen Unit One dan Unit Two MIT APP INVENTOR

8th Grade

10 Qs

Grade-8 Ch-2 Advanced Features of Excel Quiz

Grade-8 Ch-2 Advanced Features of Excel Quiz

8th Grade

12 Qs

VITAP Quiz-1

VITAP Quiz-1

University

10 Qs

Functions

Functions

Assessment

Quiz

Computers

8th Grade

Practice Problem

Easy

Created by

Raja Meenakshi

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Given the following code, which is considered the parameters of the function


function myFunction(a, b, c) {

var x = a + b + c;

}

x

a

b

c

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Given the following code, what is the final value of x?


var x = 0;

function myXFunction() {

x = x + 10;

}

x = x + 1;

11

0

10

1

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What should go into the indicated location to make the final value of x = 11?

var x = 0;

function myXFunction() {

x = x + 10;

}

WRITE CODE HERE

x = x + 1;

function myXFunction()

MYXFUNCTION()

myXFunction()

myxfunction()

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In which one of these lines of code is A, B and C considered arguments?

function myFunction(A, B, C) { ... }

function myFunction() {

var A; var B; var C; }

myFunction(A, B, C);

var x = function(A, B, C) { ... };

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Identify the parameter in the following code:


function First(Second) {

var Third = 0;

}


First(Fourth);

First

Second

Third

Fourth

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Allow functions to accept input and perform a task using the inputs.

Global Namespace

Parameter

Argument

Blocks

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

Function

Identifier

Argument

Blocks

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?