Quiz Of JavaScript For The Students For Academic Degree

16 Questions

Settings
Please wait...
JavaScript Quizzes & Trivia

This quiz give the over view of javascirpt for the students for academic degree like BCA , MCA , Msc-IT , MSC CS , PGDCA as well as private course running regarding IT. . . WISH U ALL THE VERY BEST


Questions and Answers
  • 1. 
    How can we starts Javascript ?
    • A. 

      Script tag

    • B. 

      Javascript tag

    • C. 

      Language tag

    • D. 

      None of above

  • 2. 
    Is javascript case sensitive ?
    • A. 

      True

    • B. 

      False

  • 3. 
    In script tag what are the attribute we can use  what are the attribute we can use ? what attribute we can use ?
    • A. 

      Case

    • B. 

      Language

    • C. 

      Type

    • D. 

      Section

    • E. 

      Tract

  • 4. 
    How can we declare variable in javascript
    • A. 

      Datatype

    • B. 

      Var

    • C. 

      Int

    • D. 

      Float

  • 5. 
    .length is ____________
  • 6. 
    .push () is which type of function
    • A. 

      Date and time

    • B. 

      String

    • C. 

      Array

    • D. 

      Maths / numeric

  • 7. 
    Script tag used in which part tag is used in _____________?
    • A. 

      Only head tag

    • B. 

      Only body tag

    • C. 

      Head tag and body tag both

    • D. 

      None of above

  • 8. 
    If we want to print any message in message box we use ___________ in javascript
    • A. 

      Promptbox

    • B. 

      Confirmbox

    • C. 

      Alertbox

    • D. 

      None of above

  • 9. 
    To take value from user at runtime we use _________
    • A. 

      Promptbox

    • B. 

      Alertbox

    • C. 

      Confirmbox

    • D. 

      None

  • 10. 
    Take choice from user either yes and no or cancel we use ________
    • A. 

      Promptbox

    • B. 

      Alertbox

    • C. 

      Confirmbox

    • D. 

      None of above

  • 11. 
    In do-while .. while with condition required ';' at the end of () 
    • A. 

      True

    • B. 

      False

  • 12. 
    What is the use of document.getElementById("...").value in javascript
    • A. 

      To take value from any form tool

    • B. 

      To take value from only textbox

    • C. 

      To input some value in javascript

    • D. 

      None of above

  • 13. 
    What is the use of document.getElementById("...").innerHTML="[message]"
    • A. 

      To show our output in any tool

    • B. 

      To show our output in only textbox

    • C. 

      To display answer in alertbox

    • D. 

      None of above

  • 14. 
    When we use function and onClick event as example is it must to use <script> and function in <head> only ?
    • A. 

      True

    • B. 

      False