JavaScript Basic Knowledge Test! Trivia Questions Quiz

11 Questions

Settings
Please wait...
JavaScript Basic Knowledge Test! Trivia Questions Quiz

Are you looking to test out your JavaScript Basic Knowledge? This test is perfect for all computer students who have just begun learning this language that has been used in creating end-user experiences in web browsers. Do you know how to handle error in Java and the data models? Do take this quiz and see what more you may learn.


Questions and Answers
  • 1. 
    Java Script File Has An Extension Of
    • A. 

      .Java

    • B. 

      .Js

    • C. 

      .javascript

    • D. 

      .xml

  • 2. 
    The Tag is used To Give Heading To The Table
    • A. 

      Head

    • B. 

      Td

    • C. 

      Th

    • D. 

      Caption

  • 3. 
    IsNaN() Evalutes And Argument To Determine if Given Value
    • A. 

      Is Not a Null

    • B. 

      Is Not a Number

    • C. 

      Is Not a New Object

    • D. 

      None Of The Above

  • 4. 
    Function is Used To Parse a String To Int
    • A. 

      Integer.Parse

    • B. 

      Int.Parse

    • C. 

      Parse.Int

    • D. 

      None

  • 5. 
    Which Of The Dialog Box Display a Message And a Data Entry Field?
    • A. 

      Alert()

    • B. 

      Prompt()

    • C. 

      Confirm()

    • D. 

      Msg()

  • 6. 
    Event is Used To Check An Empty Text Box.
    • A. 

      Onclick()

    • B. 

      OnFocus()

    • C. 

      OnBlur()

    • D. 

      None

  • 7. 
    Method Prompt() Contain ........Number of Parameters
    • A. 

      One

    • B. 

      Two

    • C. 

      Three

    • D. 

      Zero

  • 8. 
    GetMonth() returns The Month as
    • A. 

      Int

    • B. 

      Float

    • C. 

      Char

    • D. 

      String

  • 9. 
    If Button is clicked .......Event Handler is invoked
    • A. 

      OnSubmit()

    • B. 

      OnLoad()

    • C. 

      IsPostBack()

    • D. 

      Onclick()

  • 10. 
    A Function Associated With An object is Called
    • A. 

      Function

    • B. 

      Method

    • C. 

      Link

    • D. 

      None

  • 11. 
    Inside which HTML element do we put the JavaScript?
    • A. 

      Js

    • B. 

      JavaScript

    • C. 

      Script

    • D. 

      Scripting