New ! Computer Applications MCQ Practise Tests



JavaScript Functions Model Question Paper

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 02:00:00 Hrs
Total Marks : 50
    10 x 1 = 10
  1. The parameters work as

    (a)

    Local variable

    (b)

    Global Variable

    (c)

    File variable

    (d)

    block variable

  2. Larger programs are divided into smaller are called

    (a)

    modules

    (b)

    block

    (c)

    sets

    (d)

    Group

  3. Which of the following is used to enhance reusability and program clarity.

    (a)

    functions

    (b)

    modules

    (c)

    sets

    (d)

    instructions

  4. Which of the following is defined once but invoked any number of times in JavaScript?

    (a)

    Branch

    (b)

    Loop

    (c)

    Function

    (d)

    Script

  5. How many types of functions in JavaScript supports?

    (a)

    2

    (b)

    3

    (c)

    4

    (d)

    many

  6. Which of the following is not a library function?

    (a)

    prompt()

    (b)

    script()

    (c)

    write()

    (d)

    is NaN()

  7. The result of parseFloat("5.68") is __________.

    (a)

    5

    (b)

    5.6

    (c)

    5.68

    (d)

    error

  8. The punctuator used to identify the function is _______.

    (a)

    { }

    (b)

    < >

    (c)

    ( )

    (d)

    [ ]

  9. The result of "Sura" length() is _______.

    (a)

    3

    (b)

    4

    (c)

    "sura"

    (d)

    sura.4

  10. Which library function returns the element that has the ID attribute with the specified value_______.

    (a)

    is NAN ( )

    (b)

    stElementBy ID ( )

    (c)

    getelement By ID ( )

    (d)

    get element ID ( )

  11. 8 x 2 = 16
  12. What is a function in JavaScript?

  13. What is the use of function?

  14. Write a note on user defined functions.

  15. Write the syntax of functions.

  16. What are the two types of functions supports by JavaScript?

  17. Write a note on is NAN ( ) function.

  18. What is pre-defined function?

  19. List some pre-defined functions

  20. 3 x 3 = 9
  21. Write a program in JavaScript to find the cube of a number using function.

  22. Write a program in JavaScript to find the sum of 10 numbers using function.

  23. Tabulate some pre-defined functions and its function with an example.

  24. 3 x 5 = 15
  25. Explain the followingfunctions with an example.
    (i) touppercase ( )
    (ii) tolowercase ( )
    (iii) length()
    (iv) parselnt()
    (v) parseFloat()

  26. Write a JavaScript to find sum of two numbers using function.

  27.  Write a program in JavaScript for adding two numbers using function.

*****************************************

Reviews & Comments about 11th Computer Applications - JavaScript Functions Model Question Paper

Write your Comment