New ! Computer Science MCQ Practise Tests



Sample 1 Mark Book Back Questions (New Syllabus) 2020

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:25:00 Hrs
Total Marks : 29

    Part A

    29 x 1 = 29
  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 data type whose representation is known are called

    (a)

    Built in datatype

    (b)

    Derived datatype

    (c)

    Concrete datatype

    (d)

    Abstract datatype

  3. Which of the following allow to name the various parts of a multi-item object?

    (a)

    Tuples

    (b)

    Lists

    (c)

    Classes

    (d)

    quadrats

  4. The process of subdividing a computer program into separate sub-programs is called

    (a)

    Procedural Programming

    (b)

    Modular programming

    (c)

    Event Driven Programming

    (d)

    Object oriented Programming

  5. Which of the following is not a stable sorting algorithm?

    (a)

    Insertion sort

    (b)

    Quick sort

    (c)

    Merge sort

    (d)

    Selection sort

  6. The Θ notation in asymptotic evaluation represents

    (a)

    Base case

    (b)

    Average case

    (c)

    Worst case

    (d)

    NULL case

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

    (a)

    Semicolon(;)

    (b)

    Dollor($)

    (c)

    comma(,)

    (d)

    Colon(:)

  8. Which of the following is not a token?

    (a)

    Interpreter

    (b)

    Identifiers

    (c)

    Keyword

    (d)

    Operators

  9. Which amongst this is not a jump statement?

    (a)

    for

    (b)

    goto

    (c)

    continue

    (d)

    break

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

    (a)

    ;

    (b)

    ::

    (c)

    !

    (d)

    ":"

  11. Which of the following keyword is used to exit a function block?

    (a)

    define

    (b)

    return

    (c)

    finally

    (d)

    def

  12. In which arguments the correct positional order is passed to a function?

    (a)

    Required

    (b)

    Keyword

    (c)

    Default

    (d)

    Variable-length

  13. Which of the following is used as placeholders or replacement fields which get replaced along with format( ) function?

    (a)

    { }

    (b)

    < >

    (c)

    ++

    (d)

    ^^

  14. The subscript of a string may be:

    (a)

    Positive

    (b)

    Negative

    (c)

    Both (a) and (b)

    (d)

    Either (a) or (b)

  15. Which of the following Python function can be used to add more than one element within an existing list?

    (a)

    append()

    (b)

    append_more()

    (c)

    extend()

    (d)

    more()

  16. Which of the following set operation includes all the elements that are in two sets but not the one that are common to two sets?

    (a)

    Symmetric difference

    (b)

    Difference

    (c)

    Intersection

    (d)

    Union

  17. A private class variable is prefixed with

    (a)

    __

    (b)

    &&

    (c)

    ##

    (d)

    **

  18. Which of the following method is used as destructor?

    (a)

    __init__( )

    (b)

    __dest__( )

    (c)

    __rem__( )

    (d)

    __del__( )

  19. What type of relationship does hierarchical model represents?

    (a)

    one-to-one

    (b)

    one-to-many

    (c)

    many-to-one

    (d)

    many-to-many

  20. Who developed ER model?

    (a)

    Chen

    (b)

    EF Codd

    (c)

    Chend

    (d)

    Chand

  21. The clause used to sort data in a database

    (a)

    SORT BY

    (b)

    ORDER BY

    (c)

    GROUP BY

    (d)

    SELECT

  22. Which of the following module is provided by Python to do several operations on the CSV files?

    (a)

    py

    (b)

    xls

    (c)

    csv

    (d)

    os

  23. Which of the following creates an object which maps data to a dictionary?

    (a)

    listreader()

    (b)

    reader()

    (c)

    tuplereader()

    (d)

    DictReader ()

  24. The expansion of API is

    (a)

    Application Programming Interpreter

    (b)

    Application Programming Interface

    (c)

    Application Performing Interface

    (d)

    Application Programming Interlink

  25. What does __name__ contains?

    (a)

    c++ filename

    (b)

    main() name

    (c)

    python filename

    (d)

    os module name

  26. Which of the following function retrieves the average of a selected column of rows in a table?

    (a)

    Add()

    (b)

    SUM()

    (c)

    AVG( )

    (d)

    AVERAGE()

  27. Identify the package manager for Python packages, or modules.

    (a)

    Matplotlib

    (b)

    PIP

    (c)

    plt.show()

    (d)

    python package

  28. To install matplotlib, the following function will be typed in your command prompt. What does “-U”represents?
    Python –m pip install –U pip

    (a)

    downloading pip to the latest version

    (b)

    upgrading pip to the latest version

    (c)

    removing pip

    (d)

    upgrading matplotlib to the latest version

  29. Read the statements given below. Identify the right option from the following for pie chart.
    Statement A: To make a pie chart with Matplotlib, we can use the plt.pie() function.
    Statement B: The autopct parameter allows us to display the percentage value using the Python string formatting.

    (a)

    Statement A is correct

    (b)

    Statement B is correct

    (c)

    Both the statements are correct

    (d)

    Both the statements are wrong

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

Reviews & Comments about 12th Standard Computer Science English Medium Sample 1 Mark Book Back Questions (New Syllabus) 2020

Write your Comment