
Function Farm Quiz

Quiz
•
Instructional Technology
•
5th Grade
•
Hard
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
Similar Resources on Wayground
20 questions
ICT 5

Quiz
•
5th Grade
10 questions
Mega Quiz Superheroes Coding

Quiz
•
1st - 5th Grade
20 questions
KBA

Quiz
•
KG - Professional Dev...
10 questions
What is the internet?

Quiz
•
5th Grade
12 questions
Scratch: Translate the Code

Quiz
•
3rd - 5th Grade
12 questions
Sangfor NGAF partner training - B

Quiz
•
1st - 12th Grade
10 questions
6320 Eng Start, Control and Fuel Systems Revision 2

Quiz
•
1st - 7th Grade
15 questions
GIIT quiz

Quiz
•
4th - 6th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade