New ! Computer Applications MCQ Practise Tests



11th Standard Computer Applications Control Structure in JavaScript English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 00:20:00 Hrs
Total Marks : 20

    Answer all the questions

    20 x 1 = 20
  1. _________ statement can be used as alterative to if-else statement.

    (a)

    While

    (b)

    If

    (c)

    Else-if

    (d)

    Switch

  2. Which of the following is not a branching statement?

    (a)

    Loop

    (b)

    If-else

    (c)

    Switch

    (d)

    For

  3. In the _____ loop, body of the loop always executed at least once before the condition can be executed.

    (a)

    For

    (b)

    While

    (c)

    If

    (d)

    Do while

  4. Which of the following statement is true?
    (i) Branching do not transfer control from one statement to another
    (ii) A branch alters the execution sequence
    (iii) There are four type of control statements

    (a)

    only (iii)

    (b)

    only (i)

    (c)

    only (ii)

    (d)

    both (ii) and (iii)

  5. Which of the following expression not evaluated in form statement of javaScript?

    (a)

    relational

    (b)

    Arithmetic

    (c)

    logical

    (d)

    a or b

  6. Which of the following statement is the fundamental control statements?

    (a)

    if-else

    (b)

    else-if

    (c)

    switch

    (d)

    none of these

  7. Which of the following statement is true!
    (i) The else if statement to specify a new condition if the first condition is false
    (ii) The if else statement processing must follow one of two paths

    (a)

    only (i)

    (b)

    only (ii)

    (c)

    both (i) and (ii)

    (d)

    both are wrong

  8. Which of the following statement is an alternate to using if-else structure in Javascript?

    (a)

    do-while

    (b)

    else if

    (c)

    switch

    (d)

    if

  9. Which of the following statement used commonly within switch to exit if choice is found?

    (a)

    break

    (b)

    case

    (c)

    default

    (d)

    lable

  10. How many types of looping statements in Javascript?

    (a)

    4

    (b)

    3

    (c)

    2

    (d)

    many

  11. Which of the following loop structure is very flexible and useful in Javascript?

    (a)

    while

    (b)

    for

    (c)

    do-while

    (d)

    if-else

  12. The variable used in the loop is called ________.

    (a)

    control

    (b)

    loop

    (c)

    initial

    (d)

    conditional

  13. The for structure in Javascript enclosed with?

    (a)

    ( )

    (b)

    { }

    (c)

    < >

    (d)

    [ ]

  14. In Javascript each part of the for structure operated by________.

    (a)

    ( , )

    (b)

    ( . )

    (c)

    ( ; )

    (d)

    ( : )

  15. Which of the following statement(s) in javascript used to modify the flow control?

    (a)

    default

    (b)

    break

    (c)

    continue

    (d)

    b and c

  16. Which statement terminate the loop early?

    (a)

    switch

    (b)

    break

    (c)

    default

    (d)

    continue

  17. How many times the following loop executed?
    for (i=0; i< =5; i++) {if (i=2 continue;}

    (a)

    6

    (b)

    5

    (c)

    2

    (d)

    3

  18. _______ is a control statement In JavaScript.

    (a)

    Branching / Selection

    (b)

    Looping / repetitive

    (c)

    Both A and B

    (d)

    None of these

  19. ____________ statement is a branching statement.

    (a)

    if.. else

    (b)

    else if

    (c)

    switch

    (d)

    All the above

  20. The _________ statement evaluates an expression and executes one of two pieces of code, dending on the outcome.

    (a)

    if.. else

    (b)

    else if

    (c)

    switch

    (d)

    All the above

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

Reviews & Comments about 11th Standard Computer Applications Control Structure in JavaScript English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

Write your Comment