GoConqr has a new look! Let us know what you think.

Quiz

Quiz 1

Phillip Schneider 60 questions

Take the quiz

Questions in this quiz (60)

  1. 1What is not true about let, var, and const?
    1. Alet and const were new additions in ES6
    2. Blet can be defined in block scope
    3. Clet can be redeclared in the same scope
    4. Dconst cannot be reassigned
  2. 2By default, event handlers are set to the bubbling phase.
    1. ATrue
    2. BFalse
  3. 3What is the result of the following operation?
    ( 7 || 0 ) ? "hello" : world
    1. A"hello"
    2. Bworld
    3. Cthe operation will result in a reference error
  4. 4This function of the XMLHttpRequest object sends the request to the server?
    1. Asend
    2. Brun
    3. Csubmit
    4. DNone of these.
  5. 5Which of these is not among the parameters used in the XMLHttpRequest open function?
    1. Ahttp method
    2. BURL
    3. Casync on/off
    4. Dform data
  6. 6This property of the XMLHttpRequest object will contain the event handler to be called when the readystatechange event is fired.
    1. Aonstatuschange
    2. Bonreadystate
    3. Conreadystatechange
    4. DNone of these.
  7. 7This property of the XMLHttpRequest object will have a value of 200 when the server sends back an HTTP response with an OK status code.
    1. Astatus
    2. BreadyState
    3. Conreadystatechange
    4. DNone of these.
  8. 8This property of the XMLHttpRequest object will have a value of 4 when the server completes the requested operation.
    1. Astatus
    2. BreadyState
    3. Conreadystatechange
    4. DNone of these.
  9. 9How can you add new DIV elements dynamically?
    1. Adocument.createElement('div')
    2. Bdocument.createNode('div')
    3. Cdocument.createDiv( )
    4. Ddocument.newElement('div')
  10. 10What is === operator?
    1. ACompares equality and, if equal, assigns the value of the left operator to the value of the right
    2. BCompares value equality as well as data type
    3. CBasic assignment operator
    4. DBasic comparison operator

Information

Description
Quiz on Quiz 1, created by Phillip Schneider on 11/06/2019.
Language
English
Views
14
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?