Co wyświetli poniższy kod?
let x = 5 + "10";
console.log(x);
Quiz z JavaScript v1
Quiz
•
Tomasz Maciąg
•
Information Technology (IT)
•
9th Grade
•
Hard
Student preview
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co wyświetli poniższy kod?
let x = 5 + "10";
console.log(x);
15
"15"
"510"
undefined
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co oznacza operator % w JavaScript?
Reszta z dzielenia
Dzielenie bez reszty
Potęgowanie
Moduł z liczby
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakie jest domyślne zachowanie operatora +, jeśli oba operandy są typu string?
Dodaje liczby
Łączy teksty
Zwraca błąd
Wykonuje mnożenie
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co wyświetli poniższy kod?
let y = "7" - 3;
console.log(y);
"73"
4
NaN
"4"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co się stanie, gdy zmienimy wartość zmiennej zadeklarowanej za pomocą const?
Wartość zmiennej zostanie zmieniona.
Wystąpi błąd w czasie wykonywania.
Wartość zostanie nadpisana tylko w funkcji.
Wartość zmiennej zostanie usunięta.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaką wartość przyjmie zmienna z?
let z = undefined + 1;
console.log(z);
1
NaN
undefined
null
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki typ danych zwraca funkcja typeof dla zmiennej przechowującej wartość null?
"null"
"undefined"
"object"
"value"
Explore all questions with a free account
20 questions
P J Quang Huy
Quiz
•
7th Grade - University
17 questions
python karışık sorular
Quiz
•
9th Grade
15 questions
CCDI Competition- First League - Cycle 3 -
Quiz
•
9th - 12th Grade
20 questions
Python Döngüler Sınavı
Quiz
•
9th Grade
17 questions
Ôn thi Tin học kì 2
Quiz
•
3rd Grade - University
15 questions
Functional Skills Digital EL3 Section A assessment
Quiz
•
9th Grade
15 questions
Mantiqiy Savollar Testi
Quiz
•
9th Grade
22 questions
Quiz o Cyberhigienie i Ochronie Danych
Quiz
•
9th Grade - University
39 questions
Respect and How to Show It
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions
Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts
Quiz
•
3rd Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
20 questions
Investing
Quiz
•
9th - 12th Grade
20 questions
EOC Math 1 Review
Quiz
•
9th Grade
20 questions
Insurance
Quiz
•
9th - 12th Grade
20 questions
Act 1 of Romeo and Juliet
Quiz
•
9th Grade
20 questions
Common Grammar Mistakes
Quiz
•
7th - 12th Grade
20 questions
Paying for College
Quiz
•
9th - 12th Grade