Function Farm Quiz

Function Farm Quiz

5th Grade

15 Qs

quiz-placeholder

Similar activities

End of the Year Review!

End of the Year Review!

3rd - 5th Grade

19 Qs

Steam Camp: Robotics (Week 2)

Steam Camp: Robotics (Week 2)

1st - 8th Grade

15 Qs

Carbonne DWWM

Carbonne DWWM

1st - 5th Grade

20 Qs

Quiz sobre Variables y Operadores en Python

Quiz sobre Variables y Operadores en Python

5th Grade

13 Qs

Code.org Course E: Sprites

Code.org Course E: Sprites

3rd - 5th Grade

10 Qs

EV3 ROBOTICS 2

EV3 ROBOTICS 2

1st - 6th Grade

20 Qs

C Language Quiz

C Language Quiz

4th - 8th Grade

20 Qs

CodeAcademy Python Test

CodeAcademy Python Test

5th Grade

10 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?