New ! Computer Science MCQ Practise Tests



12th Standard English Medium Computer Science Reduced Syllabus Annual Exam Model Question Paper - 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. The values which are passed to a function definition are called

    (a)

    Arguments

    (b)

    Subroutines

    (c)

    Function

    (d)

    Definition

  2. Which of the following defines what an object can do?

    (a)

    Operating System

    (b)

    Compiler

    (c)

    Interface

    (d)

    Interpreter

  3. Which of the following carries out the instructions defined in the interface?

    (a)

    Operating System

    (b)

    Compiler

    (c)

    Implementation

    (d)

    Interpreter

  4. The data structure which is a mutable ordered sequence of elements is called

    (a)

    Built in

    (b)

    List

    (c)

    Tuple

    (d)

    Derived data

  5. The data type whose representation is known are called

    (a)

    Built in datatype

    (b)

    Derived datatype

    (c)

    Concrete datatype

    (d)

    Abstract datatype

  6. Which of the following is constructed by placing expressions within square brackets?

    (a)

    Tuples

    (b)

    Lists

    (c)

    Classes

    (d)

    quadrats

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

    (a)

    Scope

    (b)

    Mapping

    (c)

    late binding

    (d)

    early binding

  8. Which members are accessible from outside the class?

    (a)

    Public members

    (b)

    Protected members

    (c)

    Secured members

    (d)

    Private members

  9. The members that are accessible from within the class and are also available to its sub classes is called

    (a)

    Public members

    (b)

    Protected members

    (c)

    Secured members

    (d)

    Private members

  10. Time complexity of bubble sort in best case is

    (a)

    θ (n)

    (b)

    θ (nlogn)

    (c)

    θ (n2)

    (d)

    θ (n(logn) 2)

  11. The Θ notation in asymptotic evaluation represents

    (a)

    Base case

    (b)

    Average case

    (c)

    Worst case

    (d)

    NULL case

  12. Which of the following character is used to give comments in Python Program?

    (a)

    #

    (b)

    &

    (c)

    @

    (d)

    $

  13. This symbol is used to print more than one item on a single line.

    (a)

    Semicolon(;)

    (b)

    Dollor($)

    (c)

    comma(,)

    (d)

    Colon(:)

  14. elif can be considered to be abbreviation of

    (a)

    nested if

    (b)

    if..else

    (c)

    else if

    (d)

    if..elif

  15. What is the output of the following snippet?
    i=1
    while True:
    if i%3 ==0:
    break
    print(i,end='')
    i +=1

    (a)

    12

    (b)

    123

    (c)

    1234

    (d)

    124

    1. Part II

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


    6 x 2 = 12
  16. Write the output for the following code
    (i) print (list (range (1, 11, 2)))
    (ii) print (list (range(2, 11, 2)))

  17. Write a python program to print the following output [36,49,64,81,100]

  18. Give an example of joining two tuples.

  19. How will you create a set using list or tuple? Give an example.

  20. Write the output.
    A = {'A', 2, 4, 'D'}
    B = {'A', 'B', 'C' 'D'}
    print (A | B)
    print (A & B)
    print (A - B)
    print (A ^ B)

  21. Differentiate python class function and ordinary function.

  22. Write the output of the following program
    a:=10
     Disp():
     a:=7
     print a
    Disp 1():
    print a

  23. What is modular programming?

    1. Part III

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


    6 x 3 = 18
  24.  What is the side effect of impure function. Give example.

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

  26. List the characteristics of an algorithm.

  27. Using if..else..elif statement write a suitable programs to display largest of 3 numbers.

  28. List the differences between break and continue statements.

  29. Write a short about the followings with suitable example:
    (a) capitalize( )
    (b) swapcase( )

  30. Write a pseudo code for linear search

  31. Write a pseudo code for bubble sort algorithm

      1. Part IV

        Answer all the Questions.

    10 x 5 = 50
  32. How will you facilitate data abstraction. Explain it with suitable example.

    1. Explain with an example interface and implementation.

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

    1. Write any Five Characteristics of Modules.

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

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

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

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

    2. What are the components of SQL? Write the commands in each.

    1. Write a Python program to execute the following c++ coding.
      #include <iostream>
      using namespace std;
      int main()
      { cout<<“WELCOME”;
      return(0);
      }
      The above C++ program is saved in a file welcome.cpp

    2. Write a Python script to create a table called ITEM with following specification.
      Add one record to the table.
      Name of the database :- ABC
      Name of the table :- Item
      Column name and specification :-

      I code :- Integer and act as primary key
      Item Name :- Character with length 25
      Rate :- Integer
      Record to be added :- 1008, Monitor, 15000

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

Reviews & Comments about 12th Standard English Medium Computer Science Reduced Syllabus Annual Exam Model Question Paper - 2021

Write your Comment