New ! Computer Science MCQ Practise Tests



Important 1 Mark Creative Questions (New Syllabus) 2020

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 76

    Part A

    76 x 1 = 76
  1. Which of the following are the values which are passed to a function definition?

    (a)

    Parameters

    (b)

    Algorithm

    (c)

    Data types

    (d)

    Arguments

  2. A_________ combines the external interface with an implementation of the interface

    (a)

    parameter without type

    (b)

    class declaration

    (c)

    function definition

    (d)

    parameter with type

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

  4. Which of the following replicate how we think about the world?

    (a)

    Queue ADT

    (b)

    Data Hiding

    (c)

    Data Abstraction

    (d)

    Stack ADT

  5. Which of the following is contracted by placing expressions within square brackets separated by commas?

    (a)

    List

    (b)

    Tuple

    (c)

    Set

    (d)

    Dictionary

  6. Data Abstraction allows programmers to treat code as_______

    (a)

    Objects

    (b)

    Classes

    (c)

    Members

    (d)

    Parameters

  7. A________ is not just data, it has functions defined within it.

    (a)

    Class

    (b)

    List

    (c)

    Pair

    (d)

    Object

  8. How many variables can be mapped to the same instance?

    (a)

    2

    (b)

    3

    (c)

    4

    (d)

    Multiple

  9. How many types of variable scope are there?

    (a)

    2

    (b)

    4

    (c)

    3

    (d)

    6

  10. The following are the type of variable scopes Find the odd one out

    (a)

    Local

    (b)

    Enclosed

    (c)

    Global

    (d)

    Protected

  11. The inner function can access the variable of the outer function. This is called________scope.

    (a)

    Local

    (b)

    Function

    (c)

    Enclosed

    (d)

    Global

  12. Which characteristics of algorithm defined the operation involving division by zero?

    (a)

    Finiteness

    (b)

    Definiteness

    (c)

    Input

    (d)

    Correctness

  13. O(n) is an example of

    (a)

    best case

    (b)

    Average case

    (c)

    worst case

    (d)

    Null case

  14. Which sorting algorithm sort is by making only one exchange for every pass through the list?

    (a)

    Bubble

    (b)

    Selection

    (c)

    Comparison

    (d)

    Merge

  15. Performance evaluation of an algorithm can be_____ divided into different phases

    (a)

    3

    (b)

    4

    (c)

    4

    (d)

    1

  16. _________is used to describe the lower bound of asymptotic function.

    (a)

    Big Alpha

    (b)

    Big Beta

    (c)

    Big 0

    (d)

    Big Omega

  17. In Python, the script mode programs can be stored with the extension.

    (a)

    .pyt

    (b)

    .pyh

    (c)

    .py

    (d)

    .pon

  18. Which of the following indicates in Python that interpreter is ready to accept instructions?

    (a)

    >>>

    (b)

    <<<

    (c)

    .py

    (d)

    <<

  19. If a = 100, then the expression a**2 output is

    (a)

    1000

    (b)

    10000

    (c)

    200

    (d)

    400

  20. Which of the following is a sequence of characters surrounded by quotes?

    (a)

    String

    (b)

    Complex

    (c)

    Boolean

    (d)

    Octal

  21. Which data can be enclosed with Single or Double or Triple quotes?

    (a)

    Boolean

    (b)

    String

    (c)

    Exponent

    (d)

    none of these

  22. The input () function helps to enter data at  _____ by the user.

    (a)

    compile time

    (b)

    linking time

    (c)

    run time

    (d)

    module time

  23. In Python there are ______ normal token types.

    (a)

    4

    (b)

    3

    (c)

    5

    (d)

    7

  24. All data values in Python are ______

    (a)

    objects

    (b)

    class

    (c)

    type

    (d)

    functions

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

    (a)

    looping

    (b)

    decision making

    (c)

    functions

    (d)

    classes

  26. Which statement transfers the control out of loop even when the loop condition is tested true?

    (a)

    continue

    (b)

    break

    (c)

    pass

    (d)

    goto

  27. The _____ part of while is optional part of while.

    (a)

    if

    (b)

    else

    (c)

    elif

    (d)

    condition

  28. Functions that calls itself are known as

    (a)

    User defined

    (b)

    Recursive

    (c)

    Built-in

    (d)

    Lambda

  29. Which of the following is not a type of arguments used to call a function?

    (a)

    Required

    (b)

    Keywords

    (c)

    Default

    (d)

    Module

  30. Which function can take any number of arguments and must return one value in the form of an expression?

    (a)

    user defined

    (b)

    recursive

    (c)

    lambda

    (d)

    default

  31. Defining a variable outside a function, its _ by default.

    (a)

    local

    (b)

    global

    (c)

    function

    (d)

    operands

  32. Which function is an alternative to bin ()?

    (a)

    id ()

    (b)

    format ()

    (c)

    type ()

    (d)

    chr ()

  33. ______ makes your program easier to write, read test and fix errors.

    (a)

    Functions

    (b)

    List

    (c)

    Tuples

    (d)

    Loops

  34. The __ arguments are also local to function

    (a)

    default

    (b)

    keyword

    (c)

    format

    (d)

    variable-length

  35. _____ is applied in any recursive function is known as base condition.

    (a)

    Finite iteration

    (b)

    Default arguments

    (c)

    Keyword arguments

    (d)

    Infinite iteration

  36. The negative subscript is always begins with

    (a)

    0

    (b)

    1

    (c)

    -1

    (d)

    -1.0

  37. The _____ operator is used to display a string in multiple number of time.

    (a)

    *

    (b)

    * *

    (c)

    * =

    (d)

    + +

  38. The function used to search the first occurrence of the substring In the given string is

    (a)

    search ()

    (b)

    find ()

    (c)

    find string ()

    (d)

    searchstring ()

  39. In list, the negative index number begin with

    (a)

    0

    (b)

    1

    (c)

    -1

    (d)

    0.1

  40. Which of the following operator can be used to alter the range of elements in the list?

    (a)

    = =

    (b)

    ::

    (c)

    =

  41. Which function is used to convert the result of range () function in to list?

    (a)

    convert ()

    (b)

    range ()

    (c)

    list ()

    (d)

    listrange ()

  42. Choose the correct pair from the following.

    (a)

    | - union

    (b)

    - - intersection

    (c)

    ^ - Symmetric difference

    (d)

    & - Difference

  43. In Python, a ____________ is a mixed collection of elements but it stores a key along with its element?

    (a)

    Dictionary

    (b)

    Set

    (c)

    Tuple

    (d)

    List

  44. Which of the following is valid syntax of accessing class members

    (a)

    objectname = classmember ()

    (b)

    objectname. classmember ()

    (c)

    objectname. classmember

    (d)

    objectname. classmember

  45. ______ and_____ are the key features of object oriented programming.

    (a)

    List and tuples

    (b)

    Set and dictionary

    (c)

    Classes and objects

    (d)

    Variables and methods

  46. A variable prefixed with __________ become private in nature.

    (a)

    double underscore

    (b)

    double colon

    (c)

    double dot

    (d)

    double hyphen

  47. Which of the following allows users to store, process and analyze data easily?

    (a)

    My SQL

    (b)

    Relational Algebra

    (c)

    Datamodels

    (d)

    DBMS

  48. Which of the following DBMS components controls everything in a database?

    (a)

    Hardware

    (b)

    Square

    (c)

    Methods

    (d)

    Procedures

  49. How many types of data models are there?

    (a)

    4

    (b)

    3

    (c)

    5

    (d)

    7

  50. Which of the following data base model is an extended form of hierarchical data model?

    (a)

    ER-model

    (b)

    Network

    (c)

    Object

    (d)

    Relational

  51. How many types of DBMS users are there?

    (a)

    2

    (b)

    3

    (c)

    4

    (d)

    5

  52. One classroom has many students is an example of a relationships

    (a)

    one to one

    (b)

    one to many

    (c)

    many to one

    (d)

    many to many

  53. When the data is processed It gives a meaningful __________

    (a)

    Database

    (b)

    Information

    (c)

    Facts

    (d)

    Entities

  54. Each column in a table represents a ___________

    (a)

    Record

    (b)

    Data

    (c)

    Field

    (d)

    Method

  55. Which of the following is not a RDBMS package?

    (a)

    Oracle

    (b)

    Foxpro

    (c)

    DBbase

    (d)

    MySQL

    (e)

    b and c

  56. DCL stands for

    (a)

    Dynamic Control Language

    (b)

    Data Communication Language

    (c)

    Data Control Language

    (d)

    Dynamic Data Control Language

  57. Which of the following used to control the access of data stored in a database?

    (a)

    DCL

    (b)

    DML

    (c)

    DDL

    (d)

    DQL

  58. Double data type precision may exceed

    (a)

    64

    (b)

    74

    (c)

    54

    (d)

    14

  59. How many types of database integrity constraints are there?

    (a)

    4

    (b)

    5

    (c)

    3

    (d)

    Multiple

  60. Which of the following command helps to add new records to the table?

    (a)

    Insert

    (b)

    Add New

    (c)

    Add row

    (d)

    Insert new

  61. Which keyword is used to specify the list of values which must be matched with the record values?

    (a)

    NOT IN

    (b)

    BETWEEN

    (c)

    IN

    (d)

    NOT BETWEEN

  62. A _____________ consists of row and columns.

    (a)

    Table

    (b)

    Database

    (c)

    SQL

    (d)

    DBMS

  63. The _______ keyword is used along with the SELECT command to eliminate duplicate rows in the table?

    (a)

    DUPLICATE

    (b)

    DISTINCT

    (c)

    ELIMINATE

    (d)

    a ro b

  64. Which of the following is not a mode used while opening a file?

    (a)

    P

    (b)

    W

    (c)

    r

    (d)

    a

  65. Which of the following format(s) the CSV files data can be read?

    (a)

    Quotes

    (b)

    Pipe

    (c)

    Comma

    (d)

    all of these

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

  67. _________ the extension of CSV file is

    (a)

    .CV

    (b)

    .CSV

    (c)

    .CVS

    (d)

    .CS

  68. Which of the following is not general purpose language?

    (a)

    Python

    (b)

    Perl

    (c)

    Java

    (d)

    C++

  69. The command to change to the folder where Python is located is

    (a)

    Change

    (b)

    CD

    (c)

    Dir

    (d)

    CDirl

  70. ___________ refers to a set of runtime header files used in compiling and linking the C++ code to be run or window OS?

    (a)

    SWIG

    (b)

    MinGW

    (c)

    Cython

    (d)

    Boost

  71. Which of following is fast, flexible and easy to work?

    (a)

    CSV

    (b)

    SQlite

    (c)

    Perl

    (d)

    Ruby

  72. Which SQlite keyword is used to extract only those records that fulfill a specified condition?

    (a)

    WHERE

    (b)

    EXTRACT

    (c)

    CONNECT

    (d)

    CURSOR

  73. _________ is a simple relational database system.

    (a)

    Cython

    (b)

    Boost

    (c)

    MySQL

    (d)

    SQlite

  74. The most popular data visualization library in Python is

    (a)

    matplotlib

    (b)

    pip

    (c)

    matinfolib

    (d)

    matpiplib

  75. Which button allows to configure various spacing options with figure?

    (a)

    configure plots

    (b)

    configure subplots

    (c)

    subplots configure

    (d)

    plots configure

  76. Data visualization used ________ graphics.

    (a)

    2D

    (b)

    3D

    (c)

    Statistical

    (d)

    Image

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

Reviews & Comments about 12th Standard Computer Science English Medium Important 1 Mark Creative Questions (New Syllabus) 2020

Write your Comment