MTA JavaScript Basics

MTA JavaScript Basics

11th Grade - University

30 Qs

quiz-placeholder

Similar activities

Ass2-Quiz2-Programming

Ass2-Quiz2-Programming

11th Grade

31 Qs

Babylon and Javascript Review

Babylon and Javascript Review

9th - 12th Grade

25 Qs

AP CSP Unit 7: Parameters, Returns, and Libraries

AP CSP Unit 7: Parameters, Returns, and Libraries

9th - 12th Grade

26 Qs

JavaScript 4-7 20.03.2023.

JavaScript 4-7 20.03.2023.

12th Grade

25 Qs

Unit 5 AP CSP Code.org

Unit 5 AP CSP Code.org

9th - 12th Grade

33 Qs

Seatwork #4

Seatwork #4

12th Grade - University

25 Qs

JavaScript_Revision

JavaScript_Revision

12th Grade

30 Qs

Code.org CSP Unit 4 Review (22-23)

Code.org CSP Unit 4 Review (22-23)

9th - 12th Grade

25 Qs

MTA JavaScript Basics

MTA JavaScript Basics

Assessment

Quiz

11th Grade - University

Hard

Used 18+ times

FREE Resource

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();

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?