MTA JavaScript Basics

MTA JavaScript Basics

11th Grade - University

30 Qs

quiz-placeholder

Similar activities

BUILDING SERVICES II - REVISION 2

BUILDING SERVICES II - REVISION 2

University

25 Qs

Kuis Bab Sel

Kuis Bab Sel

11th Grade

25 Qs

tin học 11

tin học 11

11th Grade

25 Qs

UJIAN SEKOLAH IPA

UJIAN SEKOLAH IPA

12th Grade

25 Qs

Buổi 1 - Đề 1 (30 câu)

Buổi 1 - Đề 1 (30 câu)

University

30 Qs

Экологические проблемы городов 5

Экологические проблемы городов 5

University

25 Qs

Lógica sábado 5

Lógica sábado 5

University

25 Qs

Astronomy 1

Astronomy 1

University

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?