New ! Computer Science MCQ Practise Tests



Quarterly Model Question Paper

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 02:45:00 Hrs
Total Marks : 70
    15 x 1 = 15
  1. Which of the following is a unit of code that is often defined within a greater code structure?

    (a)

    Subroutines

    (b)

    Function

    (c)

    Files

    (d)

    Modules

  2. The function definition is introduced by the keyword

    (a)

    def

    (b)

    rec

    (c)

    let

    (d)

    infer

  3. The data type whose representation is known are called

    (a)

    Built in datatype

    (b)

    Derived datatype

    (c)

    Concrete datatype

    (d)

    Abstract datatype

  4. Which of the following are functions that build the abstract datatypet?

    (a)

    Constructors

    (b)

    Destructors

    (c)

    Selectors

    (d)

    All of these

  5. Which of the following members of a class can be handled only from within the class?

    (a)

    Public members

    (b)

    Protected members

    (c)

    Secured members

    (d)

    Private members

  6. Python source file is created using _____ mode.

    (a)

    Interactive

    (b)

    Script

    (c)

    Procedure

    (d)

    Program

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

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

  9. Which of the following keyword is used to begin the function block?

    (a)

    define

    (b)

    for

    (c)

    finally

    (d)

    def

  10. What will be the output of print (len("CHENNAI"))?

    (a)

    7

    (b)

    8

    (c)

    9

    (d)

    Error

  11. What is the use of type() function in python?

    (a)

    To create a Tuple

    (b)

    To know the type of an element in tuple.

    (c)

    To know the data type of python object

    (d)

    To create a list.

  12. A variable prefixed with __________ become private in nature.

    (a)

    double underscore

    (b)

    double colon

    (c)

    double dot

    (d)

    double hyphen

  13. Which database model represents parent-child relationship?

    (a)

    Relational

    (b)

    Network

    (c)

    Hierarchical

    (d)

    Object

  14. In __________ where the data is organized as row and column

    (a)

    Database

    (b)

    DBMS

    (c)

    File or table

    (d)

    Procedure or methods

  15. The _______ keyword is used along with the SELECT command to eliminate duplicate rows in the table?

    (a)

    DUPLICATE

    (b)

    DISTINCT

    (c)

    ELIMINATE

    (d)

    a ro b

  16. 6 x 2 = 12
  17. What is a Pair? Give an example.

  18. Write a note on pair datatype

  19. What is an Algorithm?

  20. Write note on break statement.

  21. What is class?

  22. Write a query that selects all students whose age is less than 18 in order wise.

  23. 6 x 3 = 18
  24. Explain the syntax of function definitions.

  25. Write a note on built-in scope.

  26. Write a note on
    (i) isalnum ()
    (ii) isalpha ()
    (iii) isdigit ()

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

  28. What is the difference between Select and Project command?

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

  30. 5 x 5 = 25
  31. Explain with example Pure and impure functions.

  32. How will you facilitate data abstraction. Explain it with suitable example.

  33. Explain the sorting algorithm that uses n-1 number passes to get the final sorted list.

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

  35. Write a menu driven program to add or delete stationary items. You should use dictionary to store items and the brand.

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

Reviews & Comments about 12th Computer Science - Quarterly Model Question Paper

Write your Comment