• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 19 páginas
Examen

JavaScript Certification Test Latest Questions and Correct Answers

Document preview thumbnail
Vista previa 3 fuera de 19 páginas

JavaScript Certification Test Latest Questions and Correct Answers

Vista previa del contenido

Page 1



JavaScript Certification Test Latest
Questions and Correct Answers
Which of the following escape sequences will print the
backslash character?

Ans: \\


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

Ans: ^


What is the main role of JavaScript in an AJAX transaction?

Ans: 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?

Ans: HTMLElement.style


What is a bug in the JavaScript code?

Ans: An error in the code


Which of the following is not a valid property?

, Page 2


Ans: coords.timestamp


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

Ans: 3


Which of the following casting rules is incorrect when
concatenating? (true is a Boolean value)

Ans: 9 + true equals "9true"


Which of the following statements is true of semicolons in
JavaScript?

Ans: Semicolons are essential while combining separate
statements in a line


Which statement is false in reference of XSS attacks?

Ans: 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?

Ans: <script type="text/javascript"
src="library.js"></script>

, Page 3




Which of the following information is not a part of the cookie
header?

Ans: expires = date


Which of the following is not true of JavaScript plug-in?

Ans: 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?

Ans: By setting a passed expiration date


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

Ans: onchange


Which of the following methods will remove all the data from
the storage?

Ans: localStorage.clear();


Which of the following initializes the HTTP request in an
AJAX transaction?

Ans: The open() method

Información del documento

Subido en
2 de mayo de 2025
Número de páginas
19
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$13.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Ivie
3.6
(8)
Vendido
35
Seguidores
1
Artículos
8504
Última venta
1 mes hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes