New ! Computer Science MCQ Practise Tests



12th Standard Computer Science English Medium Control Structures Reduced Syllabus Important Questions With Answer Key 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. The condition in the if statement should be in the form of

    (a)

    Arithmetic or Relational expression

    (b)

    Arithmetic or Logical expression

    (c)

    Relational or Logical expression

    (d)

    Arithmetic

  3. Which is the most comfortable loop?

    (a)

    do..while

    (b)

    while

    (c)

    for

    (d)

    if..elif

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

    (a)

    ;

    (b)

    ::

    (c)

    !

    (d)

    ":"

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

    (a)

    Operator

    (b)

    Statements

    (c)

    Keywords

    (d)

    Identifiers

  6. Which of the following is used to alter the control flow of the process depending on the state of the process?

    (a)

    control structure

    (b)

    control statement

    (c)

    program statement

    (d)

    control structure or control statement

  7. Which of the following is not control structures?

    (a)

    Sequential

    (b)

    Branching

    (c)

    Operator

    (d)

    Looping

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

    (a)

    looping

    (b)

    decision making

    (c)

    functions

    (d)

    classes

  9. Checking whether the given number is even or odd can be done using

    (a)

    sequential

    (b)

    alternative or branching

    (c)

    iterative or looping

    (d)

    iterative or sequential

  10. Which of the following is not a type of branching statements?

    (a)

    if

    (b)

    if-else

    (c)

    if-elif

    (d)

    while

  11. Which of the following function generates the list of values starting from start till stop-1?

    (a)

    sequence()

    (b)

    range()

    (c)

    input()

    (d)

    print()

  12. range (20), the range count from

    (a)

    1 to 20

    (b)

    0 to 19

    (c)

    1 to 19

    (d)

    0 to 20

  13. Which statement in python used to transfer the center from one part of the program to another unconditionally?

    (a)

    Jump

    (b)

    loop

    (c)

    alternative

    (d)

    iterative

  14. How many keywords are there to achieve jump statements in python?

    (a)

    2

    (b)

    4

    (c)

    3

    (d)

    5

  15. A loop placed within another loop is called as ____ loop structure.

    (a)

    entry check

    (b)

    exit check

    (c)

    nested

    (d)

    conditional

    1. 2 Marks

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

  17. Write note on break statement.

  18. Write is the syntax of if..else statement.

  19. Define control structure.

  20. Write note on range () in loop.

  21. What is meant by alternative or branching?

  22. 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")

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

  24. What are the two types of looping construct in python?

  25. What is the expression. or statement at? 1? and ?2? in the following program to get the output 2 4 6 8.
    for ?!? in range (2, ?2?, 2):
    print (i, end =")

    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. Write the syntax of while loop.

  29. List the differences between break and continue statements.

  30. Write a note on simple if statement with an example.

  31. Draw a flowchart that illustrates the working of while loop.

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

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

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

  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. Explain Jump statement in python.

  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

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

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

Write your Comment