New ! Computer Science MCQ Practise Tests



12th Standard English Medium Computer Science Reduced Syllabus One mark Important Questions With Answer Key - 2021(Public Exam )

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 50

      Multiple Choice Questions

    50 x 1 = 50
  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 carries out the instructions defined in the interface?

    (a)

    Operating System

    (b)

    Compiler

    (c)

    Implementation

    (d)

    Interpreter

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

  4. Which of the following is an instance created from the class?

    (a)

    parameter

    (b)

    function

    (c)

    subroutines

    (d)

    object

  5. Which of the following is a type for objects whose behavior is defined by a set of value and a set of operations?

    (a)

    User-defined datatype

    (b)

    Derived datatype

    (c)

    Built-in datatype

    (d)

    Abstract datatype

  6. List can also be called as

    (a)

    Functions

    (b)

    Class

    (c)

    Structure

    (d)

    Pairs

  7. A ________ is a comma separated values surround with parentheses.

    (a)

    List

    (b)

    Tuple

    (c)

    Set

    (d)

    Dictionary

  8. Containers for mapping names of variables to objects is called

    (a)

    Scope

    (b)

    Mapping

    (c)

    Binding

    (d)

    Namespaces

  9. How many types of variable scope are there?

    (a)

    2

    (b)

    4

    (c)

    3

    (d)

    6

  10. In Object Oriented Programming Language security is implanted through_______

    (a)

    Access modifiers

    (b)

    Access modules

    (c)

    Access variables

    (d)

    Keywords

  11. Time complexity of bubble sort in best case is

    (a)

    θ (n)

    (b)

    θ (nlogn)

    (c)

    θ (n2)

    (d)

    θ (n(logn) 2)

  12. In dynamic programming, the technique of storing the previously calculated values is called ?

    (a)

    Saving value property

    (b)

    Storing value property

    (c)

    Memoization

    (d)

    Mapping

  13. Which of the following should be written for the selected programming language with specific syntax?

    (a)

    Algorithm

    (b)

    Pseudocode

    (c)

    Process

    (d)

    Program

  14. Which sorting techniques working by taking elements from the list one by one and inserting them in their correct position into a new sorted list?

    (a)

    Bubble

    (b)

    Selection

    (c)

    Merge

    (d)

    Insertion

  15. The condition in the if statement should be in the form of

    (a)

    Arithmetic or Relational expression

    (b)

    Arithmetic or Logical expression

    (c)

    Relational or Logical expression

    (d)

    Arithmetic

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

    (a)

    define

    (b)

    return

    (c)

    finally

    (d)

    def

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

    (a)

    ; (semicolon)

    (b)

    . (dot)

    (c)

    : (colon)

    (d)

    $ (dollar)

  18. Pick the correct one to execute the given statement successfully.
    if ____ : print(x, " is a leap year")

    (a)

    x%2=0

    (b)

    x%4==0

    (c)

    x/4=0

    (d)

    x%4=0

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

    (a)

    %e

    (b)

    %E

    (c)

    %g

    (d)

    %n

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

  21. If List=[17,23,41,10] then List.append(32) will result

    (a)

    [32,17,23,41,10]

    (b)

    [17,23,41,10,32]

    (c)

    [10,17,23,32,41]

    (d)

    [41,32,23,17,10]

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

  23. Functions defined inside a class:

    (a)

    Functions

    (b)

    Module

    (c)

    Methods

    (d)

    section

  24. Which database model represents parent-child relationship?

    (a)

    Relational

    (b)

    Network

    (c)

    Hierarchical

    (d)

    Object

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

    (a)

    Chris Date

    (b)

    Hugh Darween

    (c)

    Edgar Frank Codd

    (d)

    Edgar Frank Cadd

  26. Queries can be generated using

    (a)

    SELECT

    (b)

    ORDER BY

    (c)

    MODIFY

    (d)

    ALTER

  27. Which of the following ensures the accuracy and reliability of the data in the database?

    (a)

    Constraint

    (b)

    Table

    (c)

    Classes

    (d)

    Data types

  28. In the INSERT command the fields that are omitted will have

    (a)

    default value

    (b)

    Null value

    (c)

    No value

    (d)

    a or b

  29. Which command is used to retrieve a subset of records from one or more tables?

    (a)

    QUERY

    (b)

    SUBSET

    (c)

    SET

    (d)

    SELECT

  30. Which keyword is used to divide the table into groups?

    (a)

    DIVIDE BY

    (b)

    ORDER BY

    (c)

    GROUP BY

    (d)

    HAVING

  31. After the database has been created, the data can be manipulated using ___________ procedures.

    (a)

    TCL

    (b)

    DCL

    (c)

    DQL

    (d)

    DML

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

  33. Which of the following mode is used when dealing with non-text files like image or exe files?

    (a)

    Text mode

    (b)

    Binary mode

    (c)

    xls mode

    (d)

    csv mode

  34. Which of the following is a string used to terminate lines produced by writer()method of csv module?

    (a)

    Line Terminator

    (b)

    Enter key

    (c)

    Form feed

    (d)

    Data Terminator

  35. Which of the following is a human readable text file where each line has fields?

    (a)

    CSV file

    (b)

    CSV module

    (c)

    CSV sheet

    (d)

    CSV text

  36. Which of the following is not a format in which CSV file data can be read?

    (a)

    Quotes

    (b)

    Pipe

    (c)

    Semi colon

    (d)

    Comma

  37. Which of the following class of CSV file module is used to write CSV file with quotes by registering new dialects?

    (a)

    csv.register ( )

    (b)

    csv.dialeet ( )

    (c)

    csv.dialect register ( )

    (d)

    csv.register_dialeet ( )

  38. CSV file name ________ can be represented in the open command using

    (a)

    " "

    (b)

    ' '

    (c)

    ",,,, ",,,,

    (d)

    a or b

  39. Importing C++ program in a Python program is called

    (a)

    wrapping

    (b)

    Downloading

    (c)

    Interconnecting

    (d)

    Parsing

  40. A framework for interfacing Python and C++ is

    (a)

    Ctypes

    (b)

    SWIG

    (c)

    Cython

    (d)

    Boost

  41. getopt() will return an empty array if there is no error in splitting strings to

    (a)

    argv variable

    (b)

    opt variable

    (c)

    args variable

    (d)

    ifile variable

  42. Identify the function call statement in the following snippet.
    if __name__ =='__main__':
    main(sys.argv[1:])

    (a)

    main(sys.argv[1:])

    (b)

    __name__

    (c)

    __main__

    (d)

    argv

  43. Which of the following is not a python module?

    (a)

    OS

    (b)

    Sys

    (c)

    Tel

    (d)

    Getopt

  44. _________ is a program that calls GCC for linking the c++ library files to the object code.

    (a)

    c++

    (b)

    C

    (c)

    Python

    (d)

    g++

  45. _________ is a software design technique to split the code into separate parts.

    (a)

    Procedural programming

    (b)

    Structural programming

    (c)

    Object Oriented Programming

    (d)

    Modular Programming

  46. Which of the following is called the master table?

    (a)

    sqlite_master

    (b)

    sql_master

    (c)

    main_master

    (d)

    master_main

  47. Which of the following is a command to open the already created database from the statement connection = sqlite3.connect ("ABC.db")

    (a)

    ABC.db

    (b)

    connect

    (c)

    SQlite3

    (d)

    connection

  48. cursor.description will be stored as a

    (a)

    list

    (b)

    set

    (c)

    tuple

    (d)

    dictionary

  49. ________ is a software application for the interaction between users and the databases.

    (a)

    CSV

    (b)

    Python

    (c)

    DBMS

    (d)

    Sys

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

    (a)

    Matplotlib

    (b)

    PIP

    (c)

    plt.show()

    (d)

    python package

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

Reviews & Comments about 12th Standard English Medium Computer Science Reduced Syllabus One mark Important Questions With Answer Key - 2021(Public Exam )

Write your Comment