
Test z tworzenia funkcji w JavaScript
Quiz
•
Other
•
8th Grade
•
Practice Problem
•
Easy
Agnieszka Łypka
Used 4+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co to jest funkcja w JavaScript?
Funkcja w JavaScript to blok kodu, który może być wielokrotnie wywoływany, może przyjmować argumenty i zwracać wartość.
Funkcja w JavaScript to obiekt graficzny
Funkcja w JavaScript to pętla nieskończona
Funkcja w JavaScript to zmienna globalna
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jak można zdefiniować funkcję w JavaScript?
functionName(parameters) { // logic here }
functionName(parameters) { // code here }
functionName(parameters) { // function body }
function functionName(parameters) { // function body }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakie są zalety korzystania z funkcji w JavaScript?
Debugowanie jest utrudnione przy użyciu funkcji w JavaScript
Zalety korzystania z funkcji w JavaScript to modularyzacja kodu, zwiększona czytelność, ułatwione debugowanie oraz możliwość wielokrotnego wykorzystania.
Korzystanie z funkcji w JavaScript nie wpływa na czytelność kodu
Zalety funkcji w JavaScript to zwiększona złożoność kodu
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co to jest parametr funkcji?
Wynik zwracany przez funkcję
Nazwa funkcji
Zmienna przekazywana do funkcji jako argument
Typ danych przekazywany do funkcji
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jak przekazywać argumenty do funkcji w JavaScript?
functionName(argument1, argument2)
functionName(argument1, argument2, ...)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co to jest zasięg zmiennych w funkcji?
Zasięg zmiennych w funkcji określa ilość argumentów przekazywanych do funkcji.
Zasięg zmiennych w funkcji określa, że zmienne mogą być używane tylko raz.
Zasięg zmiennych w funkcji określa obszar, w którym dana zmienna jest dostępna i może być używana.
Zasięg zmiennych w funkcji oznacza, że zmienne są dostępne tylko wewnątrz funkcji.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakie są różnice między function declaration a function expression?
Function declaration is hoisted, function expression is not.
Function declaration is used for asynchronous functions, function expression is not.
Function declaration is an arrow function, function expression is not.
Function declaration is not valid in JavaScript, function expression is.
Create a free account and access millions of resources
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
19 questions
Plant Systems
Quiz
•
6th - 8th Grade
10 questions
Tinker CAD Tutorial Quiz
Quiz
•
7th - 8th Grade
20 questions
sumpah pemuda 1928
Quiz
•
8th Grade
17 questions
Manga i anime
Quiz
•
7th - 8th Grade
12 questions
Nutrients
Quiz
•
7th - 8th Grade
20 questions
Morderstwo w Orient Expressie
Quiz
•
8th Grade
15 questions
Treny
Quiz
•
7th - 8th Grade
10 questions
Fats
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Other
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
15 questions
scatter plots and trend lines
Quiz
•
8th Grade
20 questions
Solving Systems of Equations by Graphing
Quiz
•
8th Grade
20 questions
Christmas Song Emojis
Quiz
•
8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
