New ! Computer Science MCQ Practise Tests

12th Standard English Medium Computer Science Reduced syllabus Public Exam Model Question Paper With Answer Key - 2021

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 02:45:00 Hrs
Total Marks : 70

      Part I

      Answer all the questions.

      Choose the most suitable answer from the given four alternatives and write the option code with the corresponding answer.


    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 functions which will give exact result when same arguments are passed are called

    (a)

    Impure functions

    (b)

    Partial Functions

    (c)

    Dynamic Functions

    (d)

    Pure functions

  3. The data type whose representation is known are called

    (a)

    Built in datatype

    (b)

    Derived datatype

    (c)

    Concrete datatype

    (d)

    Abstract datatype

  4. The data type whose representation is unknown are called

    (a)

    Built in datatype

    (b)

    Derived datatype

    (c)

    Concrete datatype

    (d)

    Abstract datatype

  5. The process of binding a variable name with an object is called

    (a)

    Scope

    (b)

    Mapping

    (c)

    late binding

    (d)

    early binding

  6. Which of the following is used in programming languages to map the variable and object?

    (a)

    ::

    (b)

    :=

    (c)

    =

    (d)

    ==

  7. Which members are accessible from outside the class?

    (a)

    Public members

    (b)

    Protected members

    (c)

    Secured members

    (d)

    Private members

  8. Which of the following is not a token ?

    (a)

    Interpreter

    (b)

    Identifiers

    (c)

    Keyword

    (d)

    Operators

  9. Which statement is generally used as a placeholder?

    (a)

    continue

    (b)

    break

    (c)

    pass

    (d)

    goto

  10. While defining a function which of the following symbol is used.

    (a)

    ; (semicolon)

    (b)

    . (dot)

    (c)

    : (colon)

    (d)

    $ (dollar)

  11. The subscript of a string may be:

    (a)

    Positive

    (b)

    Negative

    (c)

    Both (a) and (b)

    (d)

    Either (a) or (b)

  12. Functions defined inside a class:

    (a)

    Functions

    (b)

    Module

    (c)

    Methods

    (d)

    section

  13. What is the output of the following program? import csv
    d=csv.reader(open('c:\PYPRG\ch13\city.csv'))
    next(d)
    for row in d:
    print(row)
    if the file called “city.csv” contain the following details
    chennai,mylapore
    mumbai,andheri

    (a)

    chennai,mylapore

    (b)

    mumbai,andheri

    (c)

    chennai,mumba

    (d)

    chennai,mylapore 
    mumbai,andheri

  14. The module which allows you to interface with the Windows operating system is

    (a)

    OS module

    (b)

    sys module

    (c)

    csv module

    (d)

    getopt module

  15. The small sections of code that are used to perform a particular task is called

    (a)

    Subroutines

    (b)

    Files

    (c)

    Pseudo code

    (d)

    Modules

    1. Part II

      Answer any six questions. Question no. 21 is compulsory.


    6x 2 = 12
  16. How will you retain duplicate rows while displaying the table?

  17. How will search NULL values in a field? Give example.

  18. What is the rule to apply DROP TABLE command?

  19. Write the syntax of GROUP BY and HAVING clause.

  20. Differentiate text mode and binary mode.

  21. What is the use of close ( ) method?

  22. What is called modification?

  23. Write is purpose of using skipinitialspace parameter.

    1. Part III

      Answer any six questions. Question no. 26 is compulsory.


    6 x 3 = 18
  24. Why strlen is called pure function?

  25.  What is the side effect of impure function. Give example.
     

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

  27. Identify Which of the following are List, Tuple and class ?
    (a) arr [1, 2, 34]
    (b) arr (1, 2, 34)
    (c) student [rno, name, mark]
    (d) day= (‘sun’, ‘mon’, ‘tue’, ‘wed’)
    (e) x= [2, 5, 6.5, [5, 6], 8.2]
    (f) employee [eno, ename, esal, eaddress]

  28. Identify the scope of the variables in the following pseudo code and write its
    output
    color:= Red
    mycolor( ):
    b:=Blue
    lue
    myfavcolor( ):
    g:=Green
    printcolor, b, g
    myfavcolor( )
    printcolor, b
    mycolor( )
    print color

  29. What are string literals? Explain.

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

  31. What will be the output of the following code?
    list = [2**x for x in range(5)]
    print(list)

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

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

      1. Part IV

        Answer all the Questions.

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

    2. How will you access the multi-item. Explain with example.

    1. Write any Five Characteristics of Modules

    2. Explain input() and print() functions with examples.

    1. Explain the following built-in functions.
      (a) id()
      (b) chr()
      (c) round()
      (d) type()
      (e) pow()

    2. What is nested tuple? Explain with an example.

    1. Construct the following SQL statements in the student table-
      (i) SELECT statement using GROUP BY clause.
      (ii) SELECT statement using ORDER BY clause.

    2. Explain each word of the following command.
      Python -< filename.py >- < i > <C++ filename without cpp extension >

    1. Explain the types of scopes for variable or LEGB rule with example.

    2. Explain the concept accesscontrol.

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

TN 12th Standard Computer Science free Online practice tests

Reviews & Comments about 12th Standard English Medium Computer Science Reduced syllabus Public Exam Model Question Paper With Answer Key - 2021

Write your Comment