New ! Computer Science MCQ Practise Tests



12th Standard English Medium Computer Science Reduced syllabus Creative one Mark Question with Answer key - 2021(Public Exam )

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

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

    Multiple Choice Questions(Creative)

    50 x 1 = 50
  1. Which of the following optimization technique used in dynamic algorithms

    (a)

    Memorization

    (b)

    Composition

    (c)

    Specification

    (d)

    Decomposition

  2. Data are maintained and manipulated effectively through_________

    (a)

    Algorithm

    (b)

    Data Structures

    (c)

    Pseudocode

    (d)

    Program

  3. Recursion used to calculate factorial of a given value n in algorithm is an example of________ component

    (a)

    Fixed part

    (b)

    Variable part

    (c)

    Operator part

    (d)

    Time part

  4. Which of the following can be identify by an identifier?

    (a)

    variable

    (b)

    function

    (c)

    class

    (d)

    all of these

  5. Which of the following is not a fundamental data type?

    (a)

    tuples

    (b)

    lists

    (c)

    character

    (d)

    dictionaries

  6. In Python Script Editor the errors will be shown in _____ color in the IDLE window.

    (a)

    red

    (b)

    green

    (c)

    blue

    (d)

    orange

  7. An arithmetic operator takes _____ operands and perform a calculations.

    (a)

    3

    (b)

    4

    (c)

    2

    (d)

    1

  8. Python uses the symbols and symbol combinations as ____ in expressions.

    (a)

    literals

    (b)

    keywords

    (c)

    identifiers

    (d)

    delimiters

  9. Which of the following statement is used as a place holder in python?

    (a)

    continue

    (b)

    break

    (c)

    pass

    (d)

    if

  10. How many number of return statement allowed in a function definition?

    (a)

    only one

    (b)

    only 2

    (c)

    only 4

    (d)

    multiple

  11. The output of one function used as an argument for another function is called

    (a)

    Recursion

    (b)

    Built-in

    (c)

    Composition

    (d)

    Decomposition

  12. If there is no return statement present inside the function. then the function will return _____ object.

    (a)

    No

    (b)

    Nothing

    (c)

    None

    (d)

    def

  13. A _____ variable declared inside the function's body is known as

    (a)

    file scope

    (b)

    function scope

    (c)

    global scope

    (d)

    local scope

  14. In python ______ function is a function that is defined without a name.

    (a)

    Anonymous

    (b)

    Recursive

    (c)

    User defined

    (d)

    Default

  15. String are enclosed with

    (a)

    "

    (b)

    " "

    (c)

    '''''' ''''''

    (d)

    ''' '''

    (e)

    all of these

  16. String index values are also called as

    (a)

    class

    (b)

    function

    (c)

    subscript

    (d)

    arguments

  17. The negative subscript is always begins with

    (a)

    0

    (b)

    1

    (c)

    -1

    (d)

    -1.0

  18. The subscript can be _____ integer numbers.

    (a)

    Positive

    (b)

    Negative

    (c)

    Floating

    (d)

    Positive or negative

  19. Python provides a function _____ to change all occurrences of a particular character in a string.

    (a)

    replace()

    (b)

    change ()

    (c)

    change all ()

    (d)

    repalceall ()

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

  21. Which of the following datatype enclosed with [ ]?

    (a)

    Tuples

    (b)

    List

    (c)

    Dictionary

    (d)

    Set

  22. How many times the following loop executes?
    li = [10,23,41,75]
    i=0
    while i > = -4;
    print (li [i])
    i+ = 1

    (a)

    -4

    (b)

    4

    (c)

    0

    (d)

    Error

  23. A _________ in Python is known as a "sequence datatype"

    (a)

    List

    (b)

    Set

    (c)

    Dictionary

    (d)

    Tuples

  24. In a nested tuple, each tuple is considered as a (n) ___________

    (a)

    Function

    (b)

    Tuple

    (c)

    List

    (d)

    Set

  25. In Python, a class is defined by using the _______ class.

    (a)

    Operator

    (b)

    Identifier

    (c)

    Object

    (d)

    Keyword

  26. The process of creating object is called as ___________

    (a)

    Class definition

    (b)

    Class declaration

    (c)

    Class instantiation

    (d)

    Class objects

  27. The specific related information about every record in the table is maintained by

    (a)

    language

    (b)

    relation

    (c)

    tuple

    (d)

    field

  28. All the values in a given field must be of same ____________

    (a)

    command

    (b)

    datatype

    (c)

    record

    (d)

    name

  29. The NULL value in the field can be searched in a table using the ______ in the WHERE clause.

    (a)

    ==NULL

    (b)

    NULL

    (c)

    ISNULL

    (d)

    NOT NULL

  30. CSV means

    (a)

    Condition separated values

    (b)

    Colon separated values

    (c)

    C++ solution values

    (d)

    Comma separated values

  31. How many formats in which CSV file data can be read?

    (a)

    3

    (b)

    2

    (c)

    4

    (d)

    5

  32. CSV dictreader ( ) works with

    (a)

    list

    (b)

    tuple

    (c)

    set

    (d)

    dictionary

  33. Which method is used to write all the data at once?

    (a)

    write

    (b)

    writer ( )

    (c)

    writerow ( )

    (d)

    allrow ( )

  34. _______ files are saved with extension.xlsx.

    (a)

    Excel

    (b)

    CSV

    (c)

    Wordpad

    (d)

    Notepad

  35. _______ takes 1-dimensional data, and 2-dimensional to write in a file

    (a)

    write

    (b)

    writerow ( )

    (c)

    row ( )

    (d)

    wrow ( )

  36. To read a CSV file into a dictionary can be done by using __________  class of CSV module

    (a)

    dictionary ( )

    (b)

    dictreader ( )

    (c)

    readerdict ( )

    (d)

    rdict ( )

  37. SWIG expansion is

    (a)

    Simplified Wrapper Interface Generator

    (b)

    Software Wrapper Information Generator

    (c)

    Simplified Wrapper Interface Generator

    (d)

    System Wrapper Interface Generator

  38. The operator used to access the python functions using modules is

    (a)

    .

    (b)

    ,

    (c)

    : :

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

    (a)

    c++

    (b)

    C

    (c)

    Python

    (d)

    g++

  40. __________ method returns value consisting of two elements.

    (a)

    sys.argv

    (b)

    oS.system ( )

    (c)

    getopt ( )

    (d)

    none of these

  41. cursor.description will be stored as a

    (a)

    list

    (b)

    set

    (c)

    tuple

    (d)

    dictionary

  42. Which kind of data encoded visually communicate a quantitative message

    (a)

    String

    (b)

    Numbers

    (c)

    Images

    (d)

    None of these

  43. The most popular data visualization library in Python is

    (a)

    matplotlib

    (b)

    pip

    (c)

    matinfolib

    (d)

    matpiplib

  44. The default x.vector has the same length of y but starts with

    (a)

    3

    (b)

    2

    (c)

    1

    (d)

    0

  45. Which button will help to navigate the chart?

    (a)

    Navigate

    (b)

    Pan

    (c)

    Home

    (d)

    Zoom

  46. Which of the following chart represents the frequency distribution of continuous variables?

    (a)

    Histogram

    (b)

    Pie

    (c)

    Line

    (d)

    Bar

  47. In which plot the width of the bars is always same?

    (a)

    Line

    (b)

    Bar chat

    (c)

    Pie chart

    (d)

    Histogram

  48. ______ in data visualization helps to show relationship in the data for more variables

    (a)

    Tables

    (b)

    Graphics

    (c)

    Charts

    (d)

    Dashboards

  49. If a list given to the plot ( ) command, matplotlib assumes it is a sequence of _____ values

    (a)

    X

    (b)

    Y

    (c)

    0

    (d)

    4

  50. ________ and ______  are the two ways to display data in the form of diagram.

    (a)

    Line chart, Pie chart

    (b)

    Line chart, Bar chart

    (c)

    Bar Graph, Histogram

    (d)

    Line chart, Histogram

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

Reviews & Comments about 12th Standard English Medium Computer Science Reduced syllabus Creative one Mark Question with Answer key - 2021(Public Exam )

Write your Comment