JavaScript Certification Test UPDATED Actual Exam Questions and CORRECT Answers
4 keer bekeken 0 keer verkocht
Vak
JavaScript
Instelling
JavaScript
JavaScript Certification Test UPDATED
Actual Exam Questions and CORRECT
Answers
Which of the following escape sequences will print the backslash character? - CORRECT
ANSWER-
Which of the following characters matches the start of a line in a regular expression -
CORRECT ANSWER- ^
What is ...
JavaScript Certification Test UPDATED
Actual Exam Questions and CORRECT
Answers
Which of the following escape sequences will print the backslash character? - CORRECT
ANSWER✔✔- \\
Which of the following characters matches the start of a line in a regular expression -
CORRECT ANSWER✔✔- ^
What is the main role of JavaScript in an AJAX transaction? - CORRECT 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? - CORRECT
ANSWER✔✔- HTMLElement.style
What is a bug in the JavaScript code? - CORRECT ANSWER✔✔- An error in the code
Which of the following is not a valid property? - CORRECT ANSWER✔✔-
coords.timestamp
What readyState value specifies that the response header has been received, but the message
body is yet to be received? - CORRECT ANSWER✔✔- 3
Which of the following casting rules is incorrect when concatenating? (true is a Boolean
value) - CORRECT ANSWER✔✔- 9 + true equals "9true"
Which of the following statements is true of semicolons in JavaScript? - CORRECT
ANSWER✔✔- Semicolons are essential while combining separate statements in a line
Which statement is false in reference of XSS attacks? - CORRECT 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? - CORRECT ANSWER✔✔- <script type="text/javascript"
src="library.js"></script>
Which of the following information is not a part of the cookie header? - CORRECT
ANSWER✔✔- expires = date
Which of the following is not true of JavaScript plug-in? - CORRECT 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? - CORRECT ANSWER✔✔- By setting a
passed expiration date
Which event is triggered on the <select> element when the selection is modified? -
CORRECT ANSWER✔✔- onchange
Which of the following methods will remove all the data from the storage? - CORRECT
ANSWER✔✔- localStorage.clear();
Which of the following initializes the HTTP request in an AJAX transaction? - CORRECT
ANSWER✔✔- The open() method
What is a named memory block that serves as containers for a value called? - CORRECT
ANSWER✔✔- Operator
Variable
Which of the following solutions will not help in preventing XSS attacks? - CORRECT
ANSWER✔✔- Storing login credentials in cookies for security
Which of the following characters is used as the escape character in JavaScript? - CORRECT
ANSWER✔✔- \
Voordelen van het kopen van samenvattingen bij Stuvia op een rij:
√ Verzekerd van kwaliteit door reviews
Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!
Snel en makkelijk kopen
Je betaalt supersnel en eenmalig met iDeal, Bancontact of creditcard voor de samenvatting. Zonder lidmaatschap.
Focus op de essentie
Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!
Veelgestelde vragen
Wat krijg ik als ik dit document koop?
Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.
Tevredenheidsgarantie: hoe werkt dat?
Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.
Van wie koop ik deze samenvatting?
Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper MGRADES. Stuvia faciliteert de betaling aan de verkoper.
Zit ik meteen vast aan een abonnement?
Nee, je koopt alleen deze samenvatting voor €8,78. Je zit daarna nergens aan vast.