New ! Computer Science MCQ Practise Tests



12th Standard English Medium Computer Science Subject Book Back 1 Mark Questions with Solution Part - II

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

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

    1 Marks

    25 x 1 = 25
  1. 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

  2. The functions which cause side effects to the arguments passed are called

    (a)

    Impure function

    (b)

    Partial Functions

    (c)

    Dynamic Functions

    (d)

    Pure functions

  3. A sequence of immutable objects is called

    (a)

    Built in

    (b)

    List

    (c)

    Tuple

    (d)

    Derived data

  4. Which of the following allow to name the various parts of a multi-item object?

    (a)

    Tuples

    (b)

    Lists

    (c)

    Classes

    (d)

    quadrats

  5. Which of the following refers to the visibility of variablesin one part of a program to another part of the same program.

    (a)

    Scope

    (b)

    Memory

    (c)

    Address

    (d)

    Accessibility

  6. Which of the following members of a class can be handled only from within the class?

    (a)

    Public members

    (b)

    Protected members

    (c)

    Secured members

    (d)

    Private members

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

    (a)

    Insertion sort

    (b)

    Quick sort

    (c)

    Merge sort

    (d)

    Selection sort

  8. The Python prompt indicates that Interpreter is ready to accept instruction.

    (a)

    >>>

    (b)

    <<<

    (c)

    #

    (d)

    <<

  9. What is the output of the following snippet?
    T=1
    while T:
    print(True)
    break

    (a)

    False

    (b)

    True

    (c)

    0

    (d)

    1

  10. A Function which calls itself is called as

    (a)

    Built-in

    (b)

    Recursion

    (c)

    Lambda

    (d)

    return

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

  12. Which of the following is the slicing operator?

    (a)

    { }

    (b)

    [ ]

    (c)

    < >

    (d)

    ( )

  13. Which of the following function is used to count the number of elements in a list?

    (a)

    count()

    (b)

    find()

    (c)

    len()

    (d)

    index()

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

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

  16. Which of the following method is used as destructor?

    (a)

    __init__( )

    (b)

    __dest__( )

    (c)

    __rem__( )

    (d)

    __del__( )

  17. Which of the following is the output of the following program?
    class Student:
    def __init__(self, name):
    self.name=name
    print (self.name)
    S=Student(“Tamil”)

    (a)

    Error

    (b)

    Tamil

    (c)

    name

    (d)

    self

  18. What type of relationship does hierarchical model represents?

    (a)

    one-to-one

    (b)

    one-to-many

    (c)

    many-to-one

    (d)

    many-to-many

  19. What is the output of the following program? import csv
    d=csv.reader(open('c:\PYPRG\ch13\city.csv'))
    next(d)
    for row in d:
    print(row)
    if the file called “city.csv” contain the following details
    chennai,mylapore
    mumbai,andheri

    (a)

    chennai,mylapore

    (b)

    mumbai,andheri

    (c)

    chennai,mumba

    (d)

    chennai,mylapore,mumbai,andheri

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

  21. Which of the following is a control structure used to traverse and fetch the records of the database?

    (a)

    Pointer

    (b)

    Key

    (c)

    Cursor

    (d)

    Insertion point

  22. Which of the following function retrieves the average of a selected column of rows in a table?

    (a)

    Add()

    (b)

    SUM()

    (c)

    AVG( )

    (d)

    AVERAGE()

  23. Observe the output figure. Identify the coding for obtaining this output.

    (a)

    import matplotlib.pyplot as plt
    plt.plot([1,2,3],[4,5,1])
    plt.show()

    (b)

    import matplotlib.pyplot as plt
    plt.plot([1,2],[4,5])
    plt.show()

    (c)

    import matplotlib.pyplot as plt
    plt.plot([2,3],[5,1])
    plt.show()

    (d)

    import matplotlib.pyplot as plt
    plt.plot([1,3],[4,1])
    plt.show()

  24. Identify the right type of chart using the following hints.
    Hint 1: This chart is often used to visualize a trend in data over intervals of time.
    Hint 2: The line in this type of chart is often drawn chronologically.

    (a)

    Line chart

    (b)

    Bar chart

    (c)

    Pie chart

    (d)

    Scatter plot

  25. 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 English Medium Computer Science Subject Book Back 1 Mark Questions with Solution Part - II updated Book back Questions

Write your Comment