wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Web Development Quiz

Total questions: 15

Worksheet time: 4mins

Name
Class
Date
1.

What is the purpose of meta tags?

a)

To display images on a webpage

b)

To provide information about the webpage

c)

To style the webpage

d)

To create forms for user input

2.

Which attribute is commonly used in meta tags to describe the author?

a)

generator

b)

description

c)

keywords

d)

author

3.

What is the function of web crawlers?

a)

To enhance website usability

b)

To upload files to a server

c)

To create advertisements

d)

To match inquiries to HTML documents

4.

What is plagiarism?

a)

The use of original ideas

b)

The act of copying someone else's work

c)

The creation of new content

d)

The process of editing a document

5.

Which of the following is a characteristic of JavaScript?

a)

It is a server-side scripting language

b)

It requires a web browser to run

c)

It is a compiled language

d)

It cannot manipulate HTML

6.

What does the Document Object Model (DOM) allow you to do?

a)

Create images for a webpage

b)

Upload files to a server

c)

Access and manipulate document contents

d)

Style the webpage with CSS

7.

Which operator is used for addition in JavaScript?

a)

-

b)

*

c)

+

d)

/

8.

What is the purpose of a function in JavaScript?

a)

To store data

b)

To perform a specific task

c)

To create variables

d)

To define styles

9.

What does the 'var' keyword do in JavaScript?

a)

Declares a variable

b)

Defines a function

c)

Creates an object

d)

Initializes an array

10.

Which of the following is a valid way to declare a variable in JavaScript?

a)

var name 1;

b)

var name-1;

c)

var name1;

d)

var 1name;

11.

What is the purpose of the 'this' keyword in JavaScript?

a)

To create a new object

b)

To define a function scope

c)

To refer to the global object

d)

To refer to the current object

12.

Which method is used to convert a JSON string into a JavaScript object?

a)

JSON.parse()

b)

JSON.stringify()

c)

JSON.convert()

d)

JSON.objectify()

13.

What does the 'addEventListener' method do in JavaScript?

a)

It adds a new element to the DOM

b)

It attaches an event handler to an element

c)

It removes an event handler from an element

d)

It creates a new event

14.

Who invented JavaScript?

a)

Brendan Eich

b)

Brandon Lich

c)

Dennis Ritchie

d)

Tim Berners-Lee

15.

Writes a string of text to the document

a)

Print()

b)

getElementby()

c)

Write()

d)

Writeln()