New ! Computer Applications MCQ Practise Tests

11th Standard Computer Applications JavaScript Functions English Medium Free Online Test One Mark Questions 2020 - 2021

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 00:10:00 Hrs
Total Marks : 10

    Answer all the questions

    20 x 1 = 20
  1. Predefined functions are also called as

    (a)

    Library functions

    (b)

    storage functions

    (c)

    instructions

    (d)

    commands

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

    (a)

    functions

    (b)

    modules

    (c)

    sets

    (d)

    instructions

  3. Which of the following statement is false?
    (i) JavaScript function is defined once and executed once.
    (ii) Pre-defined functions are not called library functions.
    (iii) A parametered function definition may include a list ofidentifiers.

    (a)

    only (i)

    (b)

    both (i) and (iii)

    (c)

    only (iii)

    (d)

    both (i) and (ii)

  4. The punctuator used to identify the function is

    (a)

    { }

    (b)

    < >

    (c)

    ( )

    (d)

    [ ]

  5. The result of "Sura" length() is

    (a)

    3

    (b)

    4

    (c)

    "sura"

    (d)

    sura.4

  6. 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 ( )

  7. A _______is a block of JavaScript code that is defined once but may be "executed or invoked any number of times.

    (a)

    Loop

    (b)

    Function

    (c)

    Control structures

    (d)

    Noneof these

  8. __________ are defined for commonly required tasks to ~void the repetition entailed in typing the samestatements over and over.

    (a)

    Loop

    (b)

    Function

    (c)

    Control structures

    (d)

    None of these

  9. A________ function definition may include a list of identifiers that work as local variables for the body of the function

    (a)

    Parameterized

    (b)

    Non-parameterized

    (c)

    Either A or B

    (d)

    None of these

  10. JavaScriptsupports __________types functions

    (a)

    two

    (b)

    three

    (c)

    four

    (d)

    five

  11. Pre-defined functions are already defined in performs a specific task. the JavaScript library which are also called ___________functions.

    (a)

    Automatic

    (b)

    Library

    (c)

    User-defined

    (d)

    All the above

  12. _______functions allow the programmer to modularize a program.

    (a)

    Pre-defined

    (b)

    Library

    (c)

    User-defined

    (d)

    All the above

  13. _________function is used to convert given string into lowercase.

    (a)

    toUpperCase( )

    (b)

    toLowerCase( )

    (c)

    alert( )

    (d)

    All the above

  14. _________function is usedto convertthe given value into an integer

    (a)

    parselnt( )

    (b)

    parseFloat( )

    (c)

    length( )

    (d)

    All the above

  15. ________function is usedto convert the given string value into an float.

    (a)

    parselnt( )

    (b)

    parseFloat( )

    (c)

    length( )

    (d)

    All the above

  16. The large programs are divided into small programs are called___________

    (a)

    Modules

    (b)

    Blocks

    (c)

    Groups

    (d)

    None of these

  17. Parameter list contains more than one variable then _________must be there between the variable

    (a)

    Semicolon

    (b)

    Comma

    (c)

    Colon

    (d)

    None of these

  18. Thefunction body must beenclosed by________

    (a)

    Square brackets

    (b)

    Curly braces

    (c)

    Angle brackets

    (d)

    None of these

  19. The_________ function is used to check whether the given value or variable is valid number.

    (a)

    isNaNO

    (b)

    touppercaser( )

    (c)

    toLowerCase( )

    (d)

    All the above

  20. The _________method returns the element that has the 10 attribute with the specified value.

    (a)

    getById( )

    (b)

    getElementById( )

    (c)

    getElementId( )

    (d)

    None of these

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

TN 11th Standard Computer Applications free Online practice tests

Reviews & Comments about 11th Standard Computer Applications JavaScript Functions English Medium Free Online Test One Mark Questions 2020 - 2021

Write your Comment