New ! Computer Science MCQ Practise Tests



12th Standard Computer Science English Medium Free Online Test One Mark Questions with Answer Key 2020 - Part Five

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

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

    Answer all the questions

    25 x 1 = 25
  1. Which of the following carries out the instructions defined in the interface?

    (a)

    Operating System

    (b)

    Compiler

    (c)

    Implementation

    (d)

    Interpreter

  2. The recursive function is defined using the keyword

    (a)

    let

    (b)

    let rec

    (c)

    name

    (d)

    infer

  3. ADT behavior is defined by
    (i) Set of Variables
    (ii) Set of Value
    (iii) Set of Functions
    (iv) Set of Operations

    (a)

    i, ii

    (b)

    ii, iii

    (c)

    ii, iv

    (d)

    i, iii

  4. ______ are functions that retrieve information from the data type.

    (a)

    Constructors

    (b)

    Selectors

    (c)

    List

    (d)

    Tuple

  5. Choose the type of scope for a variable '9! defined in the following program.
    Disp ( ):
    a:=7
    Print a
    Disp ( )

    (a)

    Global

    (b)

    Enclosed

    (c)

    Local

    (d)

    Built-in

  6. Which of the following is not a searching technique?
    (i) Linear
    (ii) Binary
    (iii) Selection
    (iv) Merge

    (a)

    Only i

    (b)

    Only ii

    (c)

    Only iii

    (d)

    iii and iv

  7. How many asymptotic notations are mostly used to represent time complexity of algorithms?

    (a)

    Three

    (b)

    Two

    (c)

    One

    (d)

    Many

  8. Which of the following optimization technique used in dynamic algorithms

    (a)

    Memorization

    (b)

    Composition

    (c)

    Specification

    (d)

    Decomposition

  9. Which mode displays the python code result immediately?

    (a)

    Compiler

    (b)

    Interactive

    (c)

    Script

    (d)

    Program

  10. Which of the following is a raw data given in a variable or constant?

    (a)

    Information

    (b)

    Delimiters

    (c)

    Literal

    (d)

    Keywords

  11. In Python shell window opened by pressing.

    (a)

    Alt + N

    (b)

    Ctrl + N

    (c)

    Shift +N

    (d)

    Ctrl + Shift +N

  12. What can be learned through alternative or branching statement?

    (a)

    looping

    (b)

    decision making

    (c)

    functions

    (d)

    classes

  13. Read the following statement and choose the correct statement(s).
    (I) In Python, you don’t have to mention the specific data types while defining function.
    (II) Python keywords can be used as function name.

    (a)

    I is correct and II is wrong

    (b)

    Both are correct

    (c)

    I is wrong and II is correct

    (d)

    Both are wrong

  14. Which of the following are the values pass to the function parameters?

    (a)

    Variables

    (b)

    Arguments

    (c)

    Definitions

    (d)

    Identifiers

  15. Write the output for the following code
    a=S
    def add():
    a= 10
    print (a)
    add()

    (a)

    5

    (b)

    10

    (c)

    15

    (d)

    error

  16. Which of the following formatting character is used to print exponential notation in upper case?

    (a)

    %e

    (b)

    %E

    (c)

    %g

    (d)

    %n

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

    (a)

    7

    (b)

    8

    (c)

    9

    (d)

    Error

  18. Let setA={3,6,9}, setB={1,3,9}. What will be the result of the following snippet?
    print(setA|setB)

    (a)

    {3,6,9,1,3,9}

    (b)

    {3,9}

    (c)

    {1}

    (d)

    {1,3,6,9}

  19. Which of the following function used to include multiple element in the list?

    (a)

    append ()

    (b)

    extend ()

    (c)

    insert ()

    (d)

    endlist ()

  20. The ______________ function deletes and returns the last element of a list if the index is not given?

    (a)

    del ()

    (b)

    remove ()

    (c)

    pop ()

    (d)

    push ()

  21. Class members are accessed through which operator?

    (a)

    &

    (b)

    .

    (c)

    #

    (d)

    %

  22. Which of the following variables can be accessed only within the class?

    (a)

    Protected

    (b)

    Public

    (c)

    Private

    (d)

    None of these

  23. A tuple is also known as

    (a)

    table

    (b)

    row

    (c)

    attribute

    (d)

    field

  24. What will be written inside the file test.csv using the following program
    import csv
    D = [['Exam'],['Quarterly'],['Halfyearly']]
    csv.register_dialect('M',lineterminator = '\n')
    with open('c:\pyprg\ch13\line2.csv', 'w') as f:
    wr = csv.writer(f,dialect='M')
    wr.writerows(D)
    f.close()

    (a)

    Exam Quarterly Halfyearly

    (b)

    Exam Quarterly Halfyearly

    (c)

    E, Q, H

    (d)

    Exam, Quarterly, Halfyearly

  25. The function that returns the largest value of the selected column is

    (a)

    MAX()

    (b)

    LARGE()

    (c)

    HIGH()

    (d)

    MAXIMUM()

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

Reviews & Comments about 12th Standard Computer Science English Medium Free Online Test One Mark Questions with Answer Key 2020 - Part Five

Write your Comment