• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

Javascript Certification Test Questions & Answers

Document preview thumbnail
Preview 2 out of 7 pages

JAVASCRIPT CERTIFICATION TEST QUESTIONS & ANSWERS

Content preview

JAVASCRIPT CERTIFICATION TEST
QUESTIONS & ANSWERS

Which of the following escape sequences will print the backslash character? -
ANSWER-\\

Which of the following characters matches the start of a line in a regular
expression - ANSWER-^

What is the main role of JavaScript in an AJAX transaction? - ANSWER-To
request XML or plain text data from a web server

Which property is used to add CSS styles to elements in a Web Page? -
ANSWER-HTMLElement.style

What is a bug in the JavaScript code? - ANSWER-An error in the code

Which of the following is not a valid property? - ANSWER-coords.timestamp

What readyState value specifies that the response header has been
received, but the message body is yet to be received? - ANSWER-3

Which of the following casting rules is incorrect when concatenating? (true is
a Boolean value) - ANSWER-9 + true equals "9true"

Which of the following statements is true of semicolons in JavaScript? -
ANSWER-Semicolons are essential while combining separate statements in a
line

Which statement is false in reference of XSS attacks? - ANSWER-They cannot
be performed through emails or mail clients

Sarah has created a JavaScript library, and now she wants to include it in her
document. Which of the following statements follows the correct syntax to
link the library in her document? - ANSWER-<script type="text/javascript"
src="library.js"></script>

Which of the following information is not a part of the cookie header? -
ANSWER-expires = date

, Which of the following is not true of JavaScript plug-in? - ANSWER-Plug-ins
cannot be used without the library they depend upon; Every pre-made script
is a library

How can a cookie be deleted using JavaScript? - ANSWER-By setting a passed
expiration date

Which event is triggered on the <select> element when the selection is
modified? - ANSWER-onchange

Which of the following methods will remove all the data from the storage? -
ANSWER-localStorage.clear();

Which of the following initializes the HTTP request in an AJAX transaction? -
ANSWER-The open() method

What is a named memory block that serves as containers for a value called?
- ANSWER-Operator

Variable

Which of the following solutions will not help in preventing XSS attacks? -
ANSWER-Storing login credentials in cookies for security

Which of the following characters is used as the escape character in
JavaScript? - ANSWER-\

Which of the following statements is not true of the XMLHttpRequest object?
- ANSWER-It transfers the data between a client and server

Which of the following statements is not true of the window object? -
ANSWER-It is subordinate to the navigator object

Which method of the history object is used to create a new history entry -
ANSWER-pushState()

Which of the following objects is used to get information about the user's
browser - ANSWER-navigator

Which of the following is a major advantage of using the appendChild()
Method? - ANSWER-It can be used to add elements to the DOM without
overwriting the existing page

Which programming language is typically used in AJAX transactions to query
databases? - ANSWER-SQL

Document information

Uploaded on
November 1, 2025
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EduSprint
3.9
(8)
Sold
69
Followers
5
Items
7078
Last sold
1 week ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions