New ! Computer Science MCQ Practise Tests



Flow of Control Book Back Questions

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:45:00 Hrs
Total Marks : 30
    5 x 1 = 5
  1. What is the alternate name of null statement?

    (a)

    No statement

    (b)

    Empty statement

    (c)

    Void statement

    (d)

    Zero statement

  2. How many times the following loop with execute? for (int i=0; i<10; i++).

    (a)

    0

    (b)

    10

    (c)

    9

    (d)

    11

  3. Which of the following is the exit control loop?

    (a)

    for 

    (b)

    while 

    (c)

    do ... while

    (d)

    if ... else

  4. Which of the following is called entry control loop?

    (a)

    do-while

    (b)

    for

    (c)

    while

    (d)

    if-else

  5. A loop that contains another loop inside its body:

    (a)

    Nested loop

    (b)

    Inner loop

    (c)

    Inline loop

    (d)

    Nesting of loop

  6. 3 x 2 = 6
  7. What is a null statement and compound statement?

  8. What is selection statement? write it's types?

  9. What is the output of the following code?
    for (int i = 2; i < = 10 ; i + = 2)
    cout << i;

  10. 3 x 3 = 9
  11. Convert the following if-else to a single conditional statement:
    if (x > = 10)
    a = m + 5;
    else
    a = m;

  12. Write a C++ program to print multiplication table of a given number.

  13. Write the syntax and purpose of switch statement.

  14. 2 x 5 = 10
  15. Write a program to find the LCM and GDC of two numbers.

  16. Write programs to find the sum of the following series:
    (a)  \(x-\frac { { x }^{ 2 } }{ 2! } +\frac { { x }^{ 3 } }{ 3! } -\frac { { x }^{ 4 } }{ 4! } +\frac { { x }^{ 5 } }{ 5! } -\frac { { x }^{ 6 } }{ 6! } \)
    (b)  \(x+\frac { { x }^{ 2 } }{ 2 } +\frac { { x }^{ 3 } }{ 3 } +...+\frac { { x }^{ n } }{ n } \)

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

Reviews & Comments about 11th Computer Science - Flow of Control Book Back Questions

Write your Comment