Could You Pass This JavaScript Test?

11 Questions | Total Attempts: 713

Settings
Please wait...
JavaScript Quizzes & Trivia

JavaScript is a programming language that enables you to carry out complex items on web pages. It's a scripting language that assists in creating rich updated content which includes multimedia, animated images, graphics etc. Javascript was developed to make web pages live, also known as "Live Script". This quiz has been created to test your knowledge about the functions and basics of Javascript. Read the questions carefully and answer. All the best!


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