Function Farm Quiz

Function Farm Quiz

5th Grade

15 Qs

quiz-placeholder

Similar activities

Scratch

Scratch

5th Grade

10 Qs

Sangfor NGAF partner training - B

Sangfor NGAF partner training - B

1st - 12th Grade

12 Qs

6320 Eng Start, Control and Fuel Systems Revision 2

6320 Eng Start, Control and Fuel Systems Revision 2

1st - 7th Grade

10 Qs

Google Docs

Google Docs

5th - 6th Grade

16 Qs

Coding Vocabulary

Coding Vocabulary

4th - 5th Grade

10 Qs

Scratch: Translate the Code

Scratch: Translate the Code

3rd - 5th Grade

12 Qs

Review Time

Review Time

1st - 6th Grade

10 Qs

Gian Reginald Mandolang, S.Pd - Project 2

Gian Reginald Mandolang, S.Pd - Project 2

KG - 8th Grade

11 Qs

Function Farm Quiz

Function Farm Quiz

Assessment

Quiz

Instructional Technology

5th Grade

Hard

Created by

Sonam Tobgay

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function?

A loop in programming

A set of instructions that performs a specific task

A data structure

A type of variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you call a function in programming?

By writing a comment

By using a conditional statement

By declaring a new variable

By using its name and specifying arguments

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of comments in code?

To execute a specific function

To explain what the code is doing

To create a loop

To define a variable

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax of a function in CoffeeScript?

variable = function(parameter) ...

function_name = (parameter) -> ...

function(parameter) = ...

function_name -> (parameter) ...

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between in-built and user-defined functions?

User-defined functions are only used for testing

In-built functions are faster than user-defined functions

In-built functions cannot be called

In-built functions are provided by the system, user-defined functions are created by the user

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a parameter in a function?

The name of the function

The value passed to a function when calling it

A placeholder/variable defined within a function

The result of the function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an argument in a function?

The result of the function

The name of the function

A placeholder/variable defined within a function

The value passed to a function when calling it

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?

Discover more resources for Instructional Technology