Functions and Parameters

Functions and Parameters

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

procesos y tipos de imágen

procesos y tipos de imágen

10th Grade

14 Qs

Imagen GIMP

Imagen GIMP

9th - 12th Grade

15 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

flowol week 3

flowol week 3

9th - 12th Grade

17 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

BÀI TẬP T7 - KHỞI ĐỘNG

BÀI TẬP T7 - KHỞI ĐỘNG

10th - 12th Grade

10 Qs

Functions and Parameters

Functions and Parameters

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Medium

Created by

GINA HODGES

Used 33+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?