
JS Base
Authored by Bohdan Shcherba
Computers
1st Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який з наведених варіантів правильно визначає функцію в JavaScript?
function myFunction { console.log("Hello World"); }
function: myFunction() { console.log("Hello World"); }
function myFunction() { console.log("Hello World"); }
myFunction = function() { console.log("Hello World"); }
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яким буде значення змінної x після виконання наступного коду?
let x = 0;
while (x < 5) {
x++;
}
4
5
6
0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як за допомогою JavaScript змінити текст елементу з id "myElement" на "Hello, World!"?
document.querySelector(".myElement").textContent = "Hello, World!";
document.querySelector("#myElement").innerText = "Hello, World!";
document.querySelector("#myElement").innerHTML = "Hello, World!";
document.querySelector("myElement").textContent = "Hello, World!";
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який з наведених виразів правильно перевіряє, чи дорівнює змінна x числу 10?
if (x = 10)
if (x == 10)
if (x === 10)
if (x != 10)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який тип даних у JavaScript використовується для збереження текстових значень?
Number
String
Boolean
Object
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Яким буде результат виконання наступного коду?
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що робить наступний код?
document.getElementById("myElement").style.color = "red";
Змінює текст елементу на "red".
Змінює колір тексту елементу на червоний.
Додає новий елемент з id "myElement".
Видаляє елемент з id "myElement".
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
15 questions
แบบทดสอบท้ายเรื่องที่ 1 ภาษาไพธอน
Quiz
•
1st Grade
11 questions
Python - operacje wejścia i wyjścia
Quiz
•
1st - 2nd Grade
15 questions
Scope of Variables in Python
Quiz
•
1st Grade - Professio...
13 questions
Powtórka z arkusza
Quiz
•
1st - 6th Grade
16 questions
Python Basics
Quiz
•
KG - University
15 questions
Informatyka
Quiz
•
1st - 10th Grade
20 questions
Rodzaje, budowa i funkcje urządzeń sieciowych
Quiz
•
1st - 6th Grade
20 questions
ข้อสอบ 1 วิชาคอมพิวเตอร์ flash cs6
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade