New ! Computer Science MCQ Practise Tests



All Chapter 3 Marks

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 03:00:00 Hrs
Total Marks : 192
    Answer The Following Question:
    64 x 3 = 192
  1.  What is the side effect of impure function. Give example.

  2. Differentiate pure and impure function.

  3. Explain the syntax of function definitions.

  4. Write an algorithm to check whether the entered number is even or odd.

  5. Which strategy is used for program designing? Define that Strategy.

  6. What are the different ways to access the elements of a list. Give example.

  7. Identify the constructor and selector from the following.
    (I) City = Make city (name, lat, Ion)
    (ii) Get name (city)
    (ill) Make point (x,y)
    (iv) x coord (point)
    (v) y coord (point)

  8. Write a note on Data Abstraction.

  9. Define Global scope with an example.

  10. Why access control is required?

  11. Write a note on module.

  12. How will you ensure the principle of data encapsulation in object - oriented programming?

  13. Discuss about Algorithmic complexity and its types.

  14. What are the factors that influence time and space complexity.

  15. Write a pseudo code for bubble sort algorithm

  16. Write a pseudo code that defines Fibonacci Iterative algorithm with Dynamic programming approach.

  17. Write short notes on Arithmetic operator with examples.

  18. Write short notes on Escape sequences with examples.

  19. Write a Python program to get the following output.
    Output:
    Enter Number 1: 50
    Enter Number 2: 50
    The sum of 50 and 50 is 100

  20. What are the rules followed while defining python identifier?

  21. Write note on if..else structure.

  22. Write the syntax of while loop.

  23. Draw the flowchart that illustrates the use of break and continue statement in loop structure.

  24. What will be output of the following program?

  25. What is composition in functions?

  26. How recursive function works?

  27. When do you call the function to perform a specify task?

  28. Write a note of return statement.

  29. Write a Python program to display the given pattern
    C O M P U T E R
    C O M P U T E
    C O M P U T
    C O M P U
    C O M P
    C O M
    C O
    C

  30. Write a note about count( ) function in python.

  31. Write the usage of the following format string characters.
    (i) % c
    (ii) % d (or) % i
    (iii) % s

  32. Write the output for the following statement.
    (i) print ("PYTHON" . lower ())
    (ii) print ("PYTHON" . islower ())
    (iii) print ("PYTHON" . isupper ())
    (iv) print ("PYTHON" . upper ())

  33. What are the difference between list and Tuples?

  34. Write a shot note about sort( ).

  35. Differentiate list and tuple.

  36. Fill up the blanks in the following.
    (i) Diet = {'Roll No' : 12001, 'SName': 'Meena', 'Mark1': 98, 'Marl2' : 86}
    print("Dietionary elements before deletion: \n", Diet)
    del Diet['Mark1] # __________
    (ii) print("Dietionary elements after deletion of a element: \n", Diet)
    Dict.clear()# ___________
    (iii) print("Dietionary after deletion of all elements: \n", Diet) del Diet
    print(Diet) # ____________

  37. Write a class with two private class variables and print the sum using a method.

  38. What is the output of the following program?
    class Greeting:
    def __init__(self, name):
             self.__name = name
    def display(self):
             print("Good Morning ", self.__name)
    obj=Greeting ('Bindu Madhavan')
    obj.display()

  39. Write a note on object.

  40. Fill up the blanks in the following program to get the output:
    Value of x = 10
    Value of y = 20
    Sum of x and y= 30
    Class sample:
    x, __ = 10, 20 -------------------1
    s = -------------------------2
    print ("value of x =", __ ) ------------3
    print ("value of y =", __ ) -------------4
    print ("sum of x and y =", __ ) --------5

  41. What is the role of DBA?

  42. Explain Cartesian Product with a suitable example.

  43. Explain the data model that represent parent child relationship.

  44. List the types of DBMS users.

  45. Write any three DDL commands.

  46. Write a SQL statement using DISTINCT keyword.

  47. Write the syntax for the following commands.
    (i) INSERT
    (ii) DELETE
    (iii) UPDATE

  48. Which constraint helps to set a limit value placed for a field?

  49. Write a Python program to read a CSV file with default delimiter comma (,).

  50. What is the difference between reader() and DictReader() function?

  51. How will you create CSV normal file?

  52. Write a program to read a file with default delimiter comma.

  53. What is MinGW? What is its use?

  54. What is sys.argv? What does it contain?

  55. Write a note on
    (i) sys module
    (ii) OS module
    (iii) getopt module

  56. How to import modules in python?

  57. What is the use of Where Clause.Give a python statement Using the where clause.

  58. Read the following details.Based on that write a python script to display records in desending order of
    Eno
    database name :- organization.db
    Table name :- Employee
    Columns in the table :- Eno, EmpName, Esal, Dept

  59. Write the sqlite steps to connect the database.

  60. Write a note on SELECT statement in SQL.

  61. Draw the output for the following data visualization plot.
    import matplotlib.pyplot as plt
    plt.bar([1,3,5,7,9],[5,2,7,8,2], label="Example one")
    plt.bar([2,4,6,8,10],[8,6,2,5,6], label="Example two", color='g')
    plt.legend()
    plt.xlabel('bar number')
    plt.ylabel('bar height')
    plt.title('Epic Graph in Another Line! Whoa')
    plt.show()

  62. Write any three uses of data visualization.

  63. Write a python code to display the following plot.

  64. Read the following code. What does the following represents.
    (i) Labels
    (ii) Usage
    (iii) X ticks
    (iv) Range
    (v) Show

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

Reviews & Comments about 12th Standard Computer Science English Medium All Chapter Book Back and Creative Three Mark Question 2020

Write your Comment