JavaScript Test: GK Quiz! Trivia

11 Questions | Total Attempts: 1360

SettingsSettingsSettings
Please wait...
JavaScript Test: GK Quiz! Trivia

JavaScript is a programming language that enables you to carry out complex items on web pages. It's a scripting language that helps create rich, updated content, including multimedia, animated images, graphics, etc. Javascript was developed to make web pages live, also known as "Live Script. " This quiz will test your knowledge about the functions and basics of Javascript.


Questions and Answers
  • 1. 
    The Tag is used To Give Heading To The Table.
    • A. 

      Head

    • B. 

      Td

    • C. 

      Th

    • D. 

      Caption

  • 2. 
    Function is Used To Parse a String To Int:
    • A. 

      Integer.Parse

    • B. 

      Int.Parse

    • C. 

      Parse.Int

    • D. 

      None

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

      Alert()

    • B. 

      Prompt()

    • C. 

      Confirm()

    • D. 

      Msg()

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

      Onclick()

    • B. 

      OnFocus()

    • C. 

      OnBlur()

    • D. 

      None

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

      One

    • B. 

      Two

    • C. 

      Three

    • D. 

      Zero

  • 6. 
    GetMonth() returns The Month as:
    • A. 

      Int

    • B. 

      Float

    • C. 

      Char

    • D. 

      String

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

      OnSubmit()

    • B. 

      OnLoad()

    • C. 

      IsPostBack()

    • D. 

      Onclick()

  • 8. 
    A Function Associated With An object is Called:
    • A. 

      Function

    • B. 

      Method

    • C. 

      Link

    • D. 

      None

  • 9. 
    JavaScript File Has An Extension of:
    • A. 

      .Java

    • B. 

      .Js

    • C. 

      .javascript

    • D. 

      .xml

  • 10. 
    IsNaN() Evaluates 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

  • 11. 
    • A. 

      Js

    • B. 

      JavaScript

    • C. 

      Script

    • D. 

      Scripting