Complete JavaScript Exam Questions
Complete JavaScript Exam Questions
a) if(i != 5)
b) if(i != 5)
c) if i <> 5
d) if i != 5
Question 2:
Question 3:
a) ECMA
b) Mozilla
d) W3C
Question 4:
a) ceil(2, 4)
b) top(2, 4)
c) [Link](2, 4)
d) [Link](2, 4)
[Link]/proyectos/examinador/[Link]?id=24&lang=es 1/16
6/5/2019 Complete JavaScript exam
Question 5:
Question 6:
a) Mozilla
b) Netscape
c) Sun
Question 7:
In JavaScript, to obtain the length of the string 'cad', the following is used
a) strlen(cad)
b) len(cad)
c) [Link]
Pregunta 8:
b) Document Of Model
[Link]/proyectos/examinador/[Link]?id=24&lang=es 2/16
6/5/2019 Complete JavaScript exam
Question 9:
Question 10:
Pregunta 11:
In JavaScript, how do you round the number 7.25 to the nearest integer?
a) round(7.25)
[Link](7.25)
c) [Link](7.25)
d) rnd(7.25)
Question 12:
a) [Link]()
[Link]/proyectos/examinador/[Link]?id=24&lang=es 3/16
6/5/2019 Complete JavaScript exam
b) [Link]()
c) [Link]()
d) [Link]()
Question 13:
a) if i=5 then
b) if(i=5)
c) if i==5 then
if(i==5)
Question 14:
an attribute
b) A node
a table
Question 15:
a) Compiled
b) Interpreted
c) Unstructured
Question 16:
[Link]/proyectos/examinador/[Link]?id=24&lang=es 4/16
June 5, 2019 Complete JavaScript Exam
getElementsById()
b) getElementByName()
c) getElementsByTagName()
Question 17:
What is JSON?
Question 18:
c) for i = 1 to 5
Question 19:
c) Jump to the next iteration in the current for, while, or do-while loop
Question 20:
a) lower()
b) lowerCase()
toLower()
toLowerCase()
Question 21:
c) The progressive improvement in order to support the user agents that do not
admitan funcionalidades avanzadas de JavaScript
Question 22:
Question 23:
a) deleteChild()
b) dropChild()
c) removeChild()
[Link]/projects/examiner/[Link]?id=24&lang=en 6/16
6/5/2019 Complete JavaScript exam
Question 24:
b) call miFuncion()
c) myFunction()
Question 25:
a) <script>
b) <javascript>
c) <scripting>
d) <js>
Question 26:
b) // Comment
c) ' Comment
Question 27:
brother
b) next
c) nextBrother
[Link]/proyectos/examinador/[Link]?id=24&lang=es 7/16
6/5/2019 Complete JavaScript Exam
Question 28:
In the DOM, to get the CSS class that is applied to an element, the
property
a) css
b) class
c) className
d) style
Question 29:
a) [Link]
b) [Link]
c) [Link]
d) [Link]
Pregunta 30:
a) Bill Gates
Bjarne Stroustrup
c) Brendan Eich
d) Dennis M. Ritchie
Question 31:
In JavaScript, what is the name of the method that checks a regular expression and
returns true if it is fulfilled?
check()
b) exec()
c) run()
[Link]/proyectos/examinador/[Link]?id=24&lang=es 8/16
6/5/2019 Complete JavaScript Exam
d) test()
Question 32:
a) match()
b) replace()
c) slice()
d) split()
Question 33:
In JavaScript, how can you navigate to the previous page in the history?
navigation?
a) [Link](-1)
b) [Link]()
c) [Link]()
d) [Link]()
Question 34:
a) char()
b) charAt()
c) value()
Pregunta 35:
a) In the <head>
[Link]/proyectos/examinador/[Link]?id=24&lang=es 9/16
6/5/2019 Complete JavaScript Exam
b) In the <body>
Question 36:
Should an external file with JavaScript code contain the <script> tag?
a) Yes
b) No
Question 37:
&
Question 38:
[Link]("the message")
[Link]("the message")
Question 39:
b) ECMA
c) ISO
[Link]/projects/examiner/[Link]?id=24&lang=en 10/16
6/5/2019 Complete JavaScript Exam
d) W3C
Question 40:
c) No delimiter is used
Pregunta 41:
a) [Link]("[Link]")
[Link]("[Link]")
[Link]("[Link]")
[Link]("[Link]")
Question 42:
a) It cannot be
b) Exit for
c) break
Question 43:
a) function:myFunction()
b) function->myFunction()
c) function myFunction()
Question 44:
In the DOM, to obtain the textual content of a part of the page, one uses
the property
a) content
b) text
c) textContent
d) value
Question 45:
c) Jump to the next iteration in the current for, while, or do-while loop
Question 46:
Question 47:
[Link]/proyectos/examinador/[Link]?id=24&lang=es 12/16
6/5/2019 Examen de: JavaScript completo
Question 48:
In JavaScript, how do you display a window with the message 'Hello world!'?
alert('Hello world!');
alertBox("Hello world!");
d) msgBox("Hello world!");
Question 49:
In JavaScript, what is the name of the object that represents a regular expression?
a) There is no object
b) ExpReg
c) RegExp
d) Rexp
Question 50:
a) [Link]
b) [Link]
c) [Link]()
Question 51:
[Link]/proyectos/examinador/[Link]?id=24&lang=es 13/16
6/5/2019 Examen de: JavaScript completo
a) elementType
b) nodeType
c) type
Question 52:
-1
b) 0
c) 1
Question 53:
a) # Comment
// Comment
c) ' Comment
Question 54:
a) "%"
Question 55:
[Link]/projects/examiner/[Link]?id=24&lang=en 14/16
6/5/2019 Complete JavaScript Exam
check()
b) exec()
c) run()
d) test()
Question 56:
Question 57:
[Link]("[Link]", "new")
b) [Link]("[Link]", "new")
c) [Link]("[Link]", "new")
Question 58:
In JavaScript, what is the correct way to write the string 'Hello world'?
a website?
[Link]("Hello world")
[Link]("Hello world")
[Link]("Hello world")
[Link]("Hello world")
[Link]/proyectos/examinador/[Link]?id=24&lang=es 15/16
6/5/2019 Complete JavaScript Exam
Question 59:
a tree
b) A list
c) A hash table
Question 60:
a) [Link]()
b) [Link]()
c) [Link]()
Question 61:
a) appendChild()
b) createChild()
newChild()
Correct exam
[Link]/proyectos/examinador/[Link]?id=24&lang=es 16/16