wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

JS general concepts - quiz 7th

Total questions: 11

Worksheet time: 7mins

Name
Class
Date
1.

anything that can vary. It is created to store the data value that can be changed later on.

(a)  

2.

One characteristic of JavaScript

a)

A programming language that executes on the browser.

b)

It turns static web pages into interactive web pages.

c)

JavaScript can be used to create web and mobile applications.

d)

All are correct.

3.

Where is JavaScript code usually executed?

a)

user browser (web page)

b)

server browser (console)

c)

None is correct

4.

string, boolean, integer and floating are known as

(a)  

5.

What are the tags for inserting JavaScript code into HTML pages?

a)

<javascriptcode> and

</javascriptcode>

b)

<script href=""> and </script>

c)

<script> and </script>

d)

<script rel="archivo.js">

and

</script>

6.

What key command is used to display text on the screen (web page)?

a)

document.innerHTML()

b)

document.write()

c)

document.getElementById()

d)

console.log()

7.

When you declare a variable you can use the command

a)

Let

b)

Var

c)

Both are correct

8.

It is a function in JavaScript that is used to print the value of variables defined before in it or to just print any message for the web developer.

a)

document.write()

b)

console.log()

c)

type.text " "

d)

none is correct

9.

The symbols " " and ' ', are used to determine that the type of data corresponds to...

(a)  

10.

In JavaScript, to give the name to a variable, object, or function, we must take into account that...

a)

can't use capitals.

b)

JavaScript is not case sensitive.

c)

JavaScript is case sensitive.

d)

all are correct

11.

What symbol is used for comments in JavaScript?

a)

-

b)

*

c)

+

d)

//