Search Header Logo

JavaScript Quiz

Authored by Erekle Kereselidze

Other

8th Grade

Used 1+ times

JavaScript Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

რომელია მასივის ჩაწერის სწორი ფრომა?

var colors = "red", "green", "blue";

var colors = (1:"red", 2:"green", 3:"blue");

var colors = ["red", "green", "blue"];

var colors = "red" + "green" + "blue";

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

რომელი არ არის ჯავასკრიპტში მონაცემთა ტიპი?

String

Number

Character

Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

რომელია სწორი სინტაქსი try catch -ბლოკის შემთხვევაში?

try { ... } catch { ... }

try: { ... } catch: { ... }

try { ... } catch(e) { ... }

try { ... } except(e) { ... }

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

რა დაიბეჭდება? try { throw new Error("Something went wrong"); } catch (e) { console.log(e.message); }

Nothing

Something went wrong

Error

e.message

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

var car = {brand: "Toyota", model: "Corolla"}; console.log(car["model"]);

Toyota

Corolla

model

car

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

var letters = ["a", "b", "c"]; letters.push("d");

["a", "b", "c"]

["a", "b", "c", "d"]

["d", "a", "b", "c"]

Undefined

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

document.getElementById("demo").innerHTML = "Hello!"; console.log(document.getElementById("demo").innerHTML);

არაფერი

Hello!

demo

div

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?