
Kuizi 15 - Web
Authored by Shkodran Hasani
Computers
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function declaration in JavaScript?
A function declaration is defined using the 'function' keyword, followed by a name, parameters, and a block of code.
A function declaration is a way to define variables in JavaScript.
A function declaration is created using the 'declare' keyword.
A function declaration is an object that contains methods.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you define a function expression?
A function expression is a function defined within an expression, typically assigned to a variable.
A function expression is a type of variable that holds a function's return value.
A function expression is a function that cannot be assigned to a variable.
A function expression is a function defined only in the global scope.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for an arrow function?
(parameters) => { statements } or (parameters) => expression
(parameters) : { statements }
(parameters) => [ statements ]
(parameters) -> { statements }
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are parameters in a JavaScript function?
Parameters are fixed values defined in the function body.
Parameters are the return values of a function.
Parameters are the names of the functions themselves.
Parameters in a JavaScript function are variables that accept values when the function is called.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do arguments differ from parameters?
Arguments are the values supplied to a function, whereas parameters are the variables in the function definition that accept those values.
Arguments are the same as parameters.
Parameters are the values passed to a function.
Arguments are defined within the function body.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the return statement in a function?
The return statement is used to define a function's parameters.
The return statement allows a function to run indefinitely without stopping.
The return statement pauses the function and waits for user input.
The return statement allows a function to output a value and terminate its execution.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can a function return multiple values? If so, how?
Yes, a function can return multiple values using tuples, lists, or arrays.
A function can only return one value at a time.
Functions cannot return any values in programming.
Multiple values can only be returned as strings.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Q1 M 2 - TOPIC 2 / Check your understanding
Quiz
•
10th Grade
20 questions
El Computador
Quiz
•
5th - 11th Grade
10 questions
Arduino
Quiz
•
7th - 12th Grade
10 questions
Sistema Operativo
Quiz
•
1st - 12th Grade
19 questions
Hardware and Components
Quiz
•
5th - 11th Grade
10 questions
Câu hỏi về thiết bị máy tính
Quiz
•
7th Grade - University
15 questions
History of Computers
Quiz
•
6th - 12th Grade
20 questions
Ôn tập học kỳ I
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade