Control Structure in JavaScript Model Question Paper

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 02:00:00 Hrs
Total Marks : 50
    6 x 1 = 6
  1. Which conditional statement is used to transfer control from current statement to another statement?

    (a)

    Branching

    (b)

    Sequencing

    (c)

    Looping

    (d)

    Interating

  2. Which part of the loop statement determines the number of times, the loop will be iterated?

    (a)

    First

    (b)

    Second

    (c)

    Third

    (d)

    Final

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

    (a)

    Loop

    (b)

    If-else

    (c)

    Switch

    (d)

    For

  4. In which loop the condition is evaluated, before executing a statement?

    (a)

    While

    (b)

    Do while

    (c)

    Break

    (d)

    Continue

  5. 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

  6. Which of the following alters the execution sequence?

    (a)

    loop

    (b)

    break

    (c)

    default

    (d)

    branch

  7. 7 x 2 = 14
  8. What are the different types of control statement used in JavaScript?

  9. List out the various branching statements in JavaScript?

  10. Write the general syntax for switch statement

  11. Differentiate the break and continue statement

  12. Write the syntax of if statement?

  13. Write the syntax of while loop

  14. What is branching statement?

  15. 5 x 3 = 15
  16. What if if statement and write its types.

  17. What is called a loop and what are its types?

  18. Differentiate between while and do while statements

  19. What message will be displayed, if the input for age is given as 20, for the following snippet.
    if (age > = 18 )

  20. What are the functions of the for loop parts?

  21. 3 x 5 = 15
  22. Explain for loop with example.

  23. Write a Java Script program using while statement to display 10 numbers.

  24. Write the output for the following program.
    < Html >
    < Head >
    < Title > for statement
    < Head >
    < Body >
    < script language= "java Script" type = "text / JavaScript")
    var nol= prompt ("p'ease enter table you want:", "0");
    document write '< h2 > multiplication for your need < /h2 >")
    for (Var no2= 0; n02< = 10; no2++)
    {
    document write (nol+ "x"+no2+"=i'+ nol +
    no2 + "< br >);
    < /scrlpt >:
    < /body >
    < /Html >

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

TN 11th Standard Computer Applications free Online practice tests

Reviews & Comments about 11th Standard Computer Applications - Control Structure in JavaScript Model Question Paper

Write your Comment