Sei sulla pagina 1di 8

Module 3 Quiz

Cuestionario, 11 preguntas
7.5/11 puntos (68.18%)

Vuelve a intentarlo cuando estés listo.

Puntaje necesario para aprobar: 75 % o superior


Puedes volver a tomar este cuestionario hasta 3 veces cada8 Horas.
Pregunta 1
0.75 / 1
Punto

1. Pregunta 1
What value does JavaScript have to websites? (Select all that apply.)

JavaScript prevents errors

Esto no debería estar seleccionado

Please refer to the lesson "Why We Care About Dynamic Webpages" for more information.

JavaScript validates user input.

Correcto

Please refer to the lesson "Why We Care About Dynamic Webpages" for more information.

JavaScript makes websites interactive.

Correcto

Please refer to the lesson "Why We Care About Dynamic Webpages" for more information.

JavaScript improves security.

Deseleccionado es lo correcto
Pregunta 2
Correcto
1/1
Punto
2. Pregunta 2
Is JavaScript case sensitive?

It depends on the browser you are using.

Case sensitivity is recommended, but optional.

Yes, it is case sensitive.

Correcto

Please refer to the lesson "JavaScript Basics: Fundamental Syntax, Part1" for more information.

No, it is not case sensitive.

Pregunta 3
Incorrecto
0/1
Punto

3. Pregunta 3
Which of these is not a purpose of JavaScript?

Validating user input on webpages.

Making webpages more interactive.

Preventing webpages from getting errors.

Dynamically updating HTML.


Esto no debería estar seleccionado

Please refer to the lesson "Why We Care About Dynamic Webpages" for more information.

Pregunta 4
Correcto
1/1
Punto

4. Pregunta 4
Which symbols does JavaScript use to create comments?

**

//

Correcto

Please refer to the lesson "JavaScript Basics: Fundamental Syntax, Part2" for more information.

\\

??

<!-- -->

Pregunta 5
Correcto
1/1
Punto

5. Pregunta 5
Which of these operators is the equality operator?

/
==

Correcto

Please refer to the lesson "JavaScript Basics: Fundamental Syntax, Part2" for more information.

Pregunta 6
Correcto
1/1
Punto

6. Pregunta 6
Which of the following is true of script tags?

They are required for HTML

Script tags do not require a closing tag.

Using script tags is usually a syntax error.

They are required for JavaScript

Correcto

Please refer to the lesson "JavaScript Basics: Fundamental Syntax, Part1" for more information.

Pregunta 7
Incorrecto
0/1
Punto

7. Pregunta 7
Which of these is an ability that JavaScript has that HTML does not have?

Do things repetitively

Displaying text

Displaying images

Esto no debería estar seleccionado

Please refer to the lesson "The Value of JavaScript to our Websites" for more information.

Using CSS

Pregunta 8
Incorrecto
0/1
Punto

8. Pregunta 8
Using JavaScript to get an HTML element by its ID requires which function name starting with document?

document.getElementById

document.GetElementById

document.getElementbyID

Esto no debería estar seleccionado


Please refer to the lesson "The Value of JavaScript to our Websites" for more information.

document.getElementId

None of these

Pregunta 9
Correcto
1/1
Punto

9. Pregunta 9
We can determine the length of a string in JavaScript by

Assessing the length property

Correcto

Please refer to the lesson "JavaScript Basics: Fundamental Syntax, Part2" for more information.

The length cannot be determined

Using the size property

Counting HTML tags

Pregunta 10
Correcto
1/1
Punto

10. Pregunta 10
A JavaScript "if" statement allows us to
End a program gracefully

Make decisions based on true/false

Correcto

Please refer to the lesson "JavaScript Basics: Fundamental Syntax, Part2" for more information.

Make HTML more efficient

Use the keyword then as if then

Erase variables

Pregunta 11
0.75 / 1
Punto

11. Pregunta 11
JavaScript onclick is most effectively used with: (Select all that apply)

Paragraphs

Deseleccionado es lo correcto

Entire HTML pages

Esto no debería estar seleccionado

Please refer to the lesson "Putting JavaScript to Work: Events" for more information.

Images

Correcto

Please refer to the lesson "Putting JavaScript to Work: Events" for more information.
Buttons

Correcto

Please refer to the lesson "Putting JavaScript to Work: Events" for more information.

Potrebbero piacerti anche