New ! Computer Science MCQ Practise Tests



Model 1 Mark Book Back Questions (New Syllabus) 2020

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

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

    Part A

    28 x 1 = 28
  1. Which of the following defines what an object can do?

    (a)

    Operating System

    (b)

    Compiler

    (c)

    Interface

    (d)

    Interpreter

  2. Which of the following is a compound structure?

    (a)

    Pair

    (b)

    Triplet

    (c)

    single

    (d)

    quadrat

  3. Which of the following security technique that regulates who canuse resources in a computing environment?

    (a)

    Password

    (b)

    Authentication

    (c)

    Access control

    (d)

    Certification

  4. Two main measures for the efficiency of an algorithm are

    (a)

    Processor and memory

    (b)

    Complexity and capacity

    (c)

    Time and space

    (d)

    Data and space

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

    (a)

    Insertion sort

    (b)

    Quick sort

    (c)

    Merge sort

    (d)

    Selection sort

  6. Which of the following is not a Keyword in Python?

    (a)

    break

    (b)

    while

    (c)

    continue

    (d)

    operators

  7. elif can be considered to be abbreviation of

    (a)

    nested if

    (b)

    if..else

    (c)

    else if

    (d)

    if..elif

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

  9. A Function which calls itself is called as

    (a)

    Built-in

    (b)

    Recursion

    (c)

    Lambda

    (d)

    return

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

    (a)

    Required

    (b)

    Keyword

    (c)

    Default

    (d)

    Variable-length

  11. What will be the output of the following code?
    str1 = "Chennai Schools"
    str1[7] = "-"

    (a)

    Chennai-Schools

    (b)

    Chenna-School

    (c)

    Type error

    (d)

    Chennai

  12. What is stride?

    (a)

    index value of slide operation

    (b)

    first argument of slice operation

    (c)

    second argument of slice operation

    (d)

    third argument of slice operation

  13. If List=[10,20,30,40,50] then List[2]=35 will result

    (a)

    [35,10,20,30,40,50]

    (b)

    [10,20,30,40,50,35]

    (c)

    [10,20,35,40,50]

    (d)

    [10,35,30,40,50]

  14. What will be the result of the following Python code?
    S=[x**2 for x in range(5)]
    print(S)

    (a)

    [0,1,2,4,5]

    (b)

    [0,1,4,9,16]

    (c)

    [0,1,4,9,16,25]

    (d)

    [1,4,9,16,25]

  15. Which of the following method is automatically executed when an object is created?

    (a)

    __object__( )

    (b)

    __del__( )

    (c)

    __func__( )

    (d)

    __init__( )

  16. A private class variable is prefixed with

    (a)

    __

    (b)

    &&

    (c)

    ##

    (d)

    **

  17. What type of relationship does hierarchical model represents?

    (a)

    one-to-one

    (b)

    one-to-many

    (c)

    many-to-one

    (d)

    many-to-many

  18. Who is called Father of Relational Database from the following?

    (a)

    Chris Date

    (b)

    Hugh Darween

    (c)

    Edgar Frank Codd

    (d)

    Edgar Frank Cadd

  19. Which commands provide definitions for creating table structure, deleting relations, and modifying relation schemas.

    (a)

    DDL

    (b)

    `DML

    (c)

    DCL

    (d)

    DQL

  20. The clause used to sort data in a database

    (a)

    SORT BY

    (b)

    ORDER BY

    (c)

    GROUP BY

    (d)

    SELECT

  21. The expansion of CRLF is

    (a)

    Control Return and Line Feed

    (b)

    Carriage Return and Form Feed

    (c)

    Control Router and Line Feed

    (d)

    Carriage Return and Line Feed

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

  23. Which of the following is a software design technique to split your code into separate parts?

    (a)

    Object oriented Programming

    (b)

    Modular programming

    (c)

    Low Level Programming

    (d)

    Procedure oriented Programming

  24. What does __name__ contains?

    (a)

    c++ filename

    (b)

    main() name

    (c)

    python filename

    (d)

    os module name

  25. SQLite falls under which database system?

    (a)

    Flat file database system

    (b)

    Relational Database system

    (c)

    Hierarchical database system

    (d)

    Object oriented Database system

  26. Which of the following clause avoide the duplicate?

    (a)

    Distinct

    (b)

    Remove

    (c)

    Where

    (d)

    GroupBy

  27. Which is a python package used for 2D graphics?

    (a)

    matplotlib.pyplot

    (b)

    matplotlib.pip

    (c)

    matplotlib.numpy

    (d)

    matplotlib.plt

  28. 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 Model 1 Mark Book Back Questions (New Syllabus) 2020

Write your Comment