New ! Computer Science MCQ Practise Tests

12th Standard Computer Science English Medium Control Structures Reduced Syllabus Important Questions 2021

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 100

      Multiple Choice Questions

    15 x 1 = 15
  1. How many important control structures are there in Python?

    (a)

    3

    (b)

    4

    (c)

    5

    (d)

    6

  2. elif can be considered to be abbreviation of

    (a)

    nested if

    (b)

    if..else

    (c)

    else if

    (d)

    if..elif

  3. What plays a vital role in Python programming?

    (a)

    Statements

    (b)

    Control

    (c)

    Structure

    (d)

    Indentation

  4. What is the output of the following snippet?
    T=1
    while T:
    print(True)
    break

    (a)

    False

    (b)

    True

    (c)

    0

    (d)

    no output

  5. Which amongst this is not a jump statement ?

    (a)

    for

    (b)

    goto

    (c)

    continue

    (d)

    break

  6. Which punctuation should be used in the blank?
    if < condition > ____
           statements-block 1
    else:
            statements-block 2

    (a)

    ";"

    (b)

    "::"

    (c)

    "!"

    (d)

    ":"

  7. Which of the following are the executable segments that yield the result?

    (a)

    Operator

    (b)

    Statements

    (c)

    Keywords

    (d)

    Identifiers

  8. Find the odd man out.

    (a)

    keywords

    (b)

    Operator

    (c)

    Identifiers

    (d)

    Programs

  9. Which of the following is not control structures?

    (a)

    Sequential

    (b)

    Branching

    (c)

    Operator

    (d)

    Looping

  10. Find the odd man out

    (a)

    Branching

    (b)

    looping

    (c)

    sequential

    (d)

    Condition

  11. The following statements is an example of
    Print ("ONE")
    Print ("Four")

    (a)

    iterative

    (b)

    branching

    (c)

    sequential

    (d)

    looping

  12. What can be learned through alternative or branching statement?

    (a)

    looping

    (b)

    decision making

    (c)

    functions

    (d)

    classes

  13. Which of the following statement provided control to check the true false and false block?

    (a)

    if

    (b)

    while

    (c)

    do-while

    (d)

    if else

  14. Which statement transfers the control out of loop even when the loop condition is tested true?

    (a)

    continue

    (b)

    break

    (c)

    pass

    (d)

    goto

  15. Control of the program flows to the statements immediately after the body of the loop by using ____ statements.

    (a)

    continue

    (b)

    pass

    (c)

    break

    (d)

    goto

    1. 2 Marks

    10 x 2 = 20
  16. List the control structures in Python.

  17. Define control structure.

  18. What is meant by alternative or branching?

  19. Draw a flow chart that defines the execution of if-else statement.

  20. Write a program in python to check if the accepted number even or odd.
    a = int(input("Enter any number:"))
    if a%2==0:
    print (a, "is an even number")
    else:
    print (a, "is an odd number")

  21. Write the syntax of alternative method to write complete if-else.

  22. Write a program in python to check if the accepted number us even or odd (use alternate method of if-else).

  23. Write the syntax of for loop.

  24. What will the output of the following program?
    for i in range (1,9, 2):
    print (i, end =' ')
    else:
    print (")n. End of the loop")

  25. Write a python. program to calculate the sum of numbers between. 1 and 100.

    1. 3 Marks

    10 x 3 = 30
  26. Write a program to display
    A
    A B
    A B C
    A B C D
    A B C D E

  27. Write note on if..else structure.

  28. List the differences between break and continue statements.

  29. Write a note on sequential statement with an example.

  30. Write a python program to print all numbers from 10 to 15 using while loop.

  31. Draw the flowchart that illustrates the working of break statement

  32. Write the syntax of working of continue statement in for and while loop.

  33. What will be the range of values displayed by the following?

  34. What will be output of the following program?

  35. Why we need to construct the pass statement?

    1. 5 Marks

    7 x 5 = 35
  36. Write a detail note on for loop

  37. Write a detail note on if..else..elif statement with suitable example.

  38. Write a program to display all 3 digit odd numbers.

  39. Write a program to display multiplication table for a given number.

  40. Write a program in python to display the following output.
    1
    1 2
    1 2 3
    1 2 3 4
    1 2 3 4 5

  41. Write a program in python to display he following output.
    1
    2 2
    3 3 3
    4 4 4 4
    5 5 5 5 5

  42. Write a program in python to display the following output.
    (i) 5 5 5 5 5
    4 4 4 4
    3 3 3
    2 2
    1
    (ii) 1 2 3 4 5
    1 2 3 4
    1 2 3
    1 2
    1

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

TN 12th Standard Computer Science free Online practice tests

Reviews & Comments about 12th Standard Computer Science English Medium Control Structures Reduced Syllabus Important Questions 2021

Write your Comment