New ! Computer Science MCQ Practise Tests



12th Standard Computer Science English Medium Free Online Test 1 Mark Questions 2020 - Part Ten

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

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

    Answer all the questions

    25 x 1 = 25
  1. Which of the following carries out the instructions defined in the interface?

    (a)

    Operating System

    (b)

    Compiler

    (c)

    Implementation

    (d)

    Interpreter

  2. Bundling two values together into one can be considered as

    (a)

    Pair

    (b)

    Triplet

    (c)

    single

    (d)

    quadrat

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

  4. The Θ notation in asymptotic evaluation represents

    (a)

    Base case

    (b)

    Average case

    (c)

    Worst case

    (d)

    NULL case

  5. Which of the following method checks the search element with each element in sequence?

    (a)

    Bubble search

    (b)

    Binary search

    (c)

    Linear search

    (d)

    None of these

  6. _______is a step-by-step procedure for solving a given problem

    (a)

    Algorithm

    (b)

    Program

    (c)

    Statements

    (d)

    Structure

  7. Which operator is also called as Comparative operator?

    (a)

    Arithmetic

    (b)

    Relational

    (c)

    Logical

    (d)

    Assignment

  8. Which of the following mode allows to write codes in Python command prompt?

    (a)

    Script mode

    (b)

    Complier mode

    (c)

    Interactive mode

    (d)

    Program mode

  9. What is the output for the following m = 25 if 24 < 25 else 50

    (a)

    25

    (b)

    50

    (c)

    24 < 25

    (d)

    0

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

    (a)

    False

    (b)

    True

    (c)

    0

    (d)

    1

  11. Which of the following is used to alter the control flow of the process depending on the state of the process?

    (a)

    control structure

    (b)

    control statement

    (c)

    program statement

    (d)

    control structure or control statement

  12. Which of the following can be used when the user wants to execute a block of code several times bill the condition is satisfied?

    (a)

    while

    (b)

    if-else

    (c)

    if-elif-if

    (d)

    all of there

  13. Read the following statement and choose the correct statement(s).
    (I) In Python, you don’t have to mention the specific data types while defining function.
    (II) Python keywords can be used as function name.

    (a)

    I is correct and II is wrong

    (b)

    Both are correct

    (c)

    I is wrong and II is correct

    (d)

    Both are wrong

  14. Which of the following is not a type of function in python?

    (a)

    Control

    (b)

    Lambda

    (c)

    Recursion

    (d)

    Built in

  15. A with local scope can be accessed only within the block

    (a)

    keyword

    (b)

    variable

    (c)

    function

    (d)

    integer

  16. The default presidium of fixed point constant is

    (a)

    7

    (b)

    6

    (c)

    8

    (d)

    16

  17. In variable length arguments we can pass the arguments using _____ methods.

    (a)

    Three

    (b)

    Four

    (c)

    Two

    (d)

    Six

  18. The formatting operator ____ is used to replacing parts of strings with the data stored in variables.

    (a)

    #

    (b)

    %

    (c)

    ::

  19. What is the use of type() function in python?

    (a)

    To create a Tuple

    (b)

    To know the type of an element in tuple.

    (c)

    To know the data type of python object

    (d)

    To create a list.

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

  21. Which of the following is a simplest way of creating sequence of elements that satisfy certain condition?

    (a)

    Tuple comprehension

    (b)

    Dictionary

    (c)

    Set comprehension

    (d)

    List comprehension

  22. In python, _________________ is an integer number which can be positive or negative.

    (a)

    Identifier

    (b)

    Keyword

    (c)

    Operators

    (d)

    Index value

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

  24. Which argument doesn't need a value when we call the method?

    (a)

    this

    (b)

    self

    (c)

    var

    (d)

    first

  25. Which database model is simple and easy to design logical view of database?

    (a)

    Hierarchical

    (b)

    Object

    (c)

    Relational

    (d)

    ER model

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

Reviews & Comments about 12th Standard Computer Science English Medium Free Online Test 1 Mark Questions 2020 - Part Ten

Write your Comment