TipsMake

A set of JavaScript multiple-choice questions with P5 answers

Quiz includes JavaScript questions and is not limited to time. This is a test to test your ability and knowledge about JavaScript. Invite your reference.

  • Question 1. Is a while loop a form of loop?
    • The following conditions are not defined and checked
    • Do not define and check the previous condition
    • Both forms above
    • Do not respect any of the above
  • Question 2. How do I call a 'myFunction' function in JavaScript?
    • call myFunction ()
    • call function myFunction ()
    • myFunction ()
  • Question 3. Where is JavaScript handled?
    • Server
    • Client
    • Both server and client
    • Not in any form
  • Question 4. When does Onblur JavaScript event execute when?
    • When an object in the form receives focus
    • When an object in form loses focus
    • When moving the mouse over the form
    • When moving the mouse on the command button
  • Question 5. Is JavaScript started with?
    • .
    • .
    • All of the above forms
  • Question 6. What is the break statement associated with the loop for?
    • Stop the loop if you see this command
    • There is no meaning in the loop
    • Jump to another script
    • Unable to combine
  • Question 7. How to round 7.25 to the nearest integer in JavaScript?
    • round (7.25)
    • rnd (7.25)
    • Math.round (7.25)
    • Math.rnd (7.25)
  • Question 8. Which language is JavaScript code translation language?
    • Interpretation
    • Translate
    • Both translation and interpretation forms
    • There is no form above
  • Question 9. Which event happens when a user clicks on an HTML element on the page?
    • onclick
    • onmouseclick
    • onmouseover
    • onchange
  • Question 10. Which statement declares a variable in JavaScript?
    • variable carName;
    • var carName;
    • v carName;
  • Question 11. How to create a function in JavaScript?
    • function: myFunction ()
    • function myFunction ()
    • function = myFunction ()

Discover more

multiple choice multiple choice questions good tests programming tests Javascript
Micah Soto

Share by

Micah Soto
Update 24 May 2019