MTA JavaScript Basics

MTA JavaScript Basics

11th Grade - University

30 Qs

quiz-placeholder

Similar activities

Babak 1 - Rangking 1

Babak 1 - Rangking 1

8th Grade - University

25 Qs

Vi sinh vật (2)

Vi sinh vật (2)

University

25 Qs

Unit 1 +2 Grade 12: Life stories and Urbanisation

Unit 1 +2 Grade 12: Life stories and Urbanisation

12th Grade

25 Qs

Kuis Globalisasi dan MOdernisasi

Kuis Globalisasi dan MOdernisasi

12th Grade

25 Qs

Voley IAL

Voley IAL

1st - 12th Grade

25 Qs

Công thức: Sóng ánh sáng

Công thức: Sóng ánh sáng

12th Grade

30 Qs

SENYAWA KARBON

SENYAWA KARBON

12th Grade

25 Qs

Hóa 10-cơ bản-kiểm tra miệng chương 1- lần 2

Hóa 10-cơ bản-kiểm tra miệng chương 1- lần 2

12th Grade

25 Qs

MTA JavaScript Basics

MTA JavaScript Basics

Assessment

Quiz

11th Grade - University

Hard

Used 18+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do I declare a new variable?

var newVariable = 5

Variable int = new Variable()

var 5 = myVariable

int var = 5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indicates the beginning  and the end of a JavaScript section.

<html> </html>
<style> </style>
<article> </article>
<script> </script>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A JavaScript file has an extension name of

.jscp
.js
.css
.Jp

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword do we need to define a function?

function
method
onclick
functionName()

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which 1 of the following symbols is used for JavaScript comments?

\\
^
?
//

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code will:

x++;

Add 1 to the previous value of x

Add 1 to the previous value of y

Subtract 1 from the previous value of x

Give an error message

Add 2 to the previous value of x.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A developer will use this to see details about code that she does not want the site user to necessarily see:

document.write();

var debug();

print.console();

console.log();

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?