New ! Computer Science MCQ Practise Tests



Sample 1 Mark Creative Questions (New Syllabus) 2020

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 66

    Part A

    66 x 1 = 66
  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. Which of the following is an example of impure function?

    (a)

    Strlent( )

    (b)

    randomt( )

    (c)

    sqrfi( )

    (d)

    puref( )

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

  4. How many ways to implement an ADT?

    (a)

    Only one

    (b)

    Two

    (c)

    Three

    (d)

    Many

  5. List can also be called as

    (a)

    Functions

    (b)

    Class

    (c)

    Structure

    (d)

    Pairs

  6. ______is made up of list or Tuples

    (a)

    Set

    (b)

    Pair

    (c)

    Dictionary

    (d)

    Control Structures

  7. Which of the following variable can be accessed inside or outside of all the functions in a program?

    (a)

    Local

    (b)

    Global

    (c)

    Enclosed

    (d)

    Built-in

  8. A Function always first look up for a variable name in its______ scope

    (a)

    Local

    (b)

    Enclosed

    (c)

    Global

    (d)

    Built-in

  9. Performance measurement of an algorithm is called

    (a)

    Posteriori testing

    (b)

    Priori estimates

    (c)

    Efficiency testing

    (d)

    Algorithmic analysis

  10. Which of the following is not a factor use a to measure the time efficiency of an algorithm?

    (a)

    Speed of the machine

    (b)

    Operating system

    (c)

    Designing algorithm

    (d)

    Programming language

  11. Which of the following sorting algorithm is too slow and less efficient?

    (a)

    Bubble

    (b)

    Selection

    (c)

    Quick

    (d)

    Merge

  12. Algorithm resembles a _________which can be implemented in any programming language.

    (a)

    Solution

    (b)

    Program

    (c)

    Pseudocode

    (d)

    Function

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

    (a)

    Big Alpha

    (b)

    Big Beta

    (c)

    Big 0

    (d)

    Big Omega

  14. Which of the following defines the Pythons interactive mode of programming?

    (a)

    >>>

    (b)

    <<<

    (c)

    >>

    (d)

    <<

  15. Which function helps to enter data at run time by the user?

    (a)

    input ()

    (b)

    read ()

    (c)

    get ()

    (d)

    Pyinput ()

  16. Which of the following operator checks the relationship between two operands?

    (a)

    Arithmetic

    (b)

    Comparative

    (c)

    Assignment

    (d)

    Conditional

  17. The ______ command is used to open Python shell window.

    (a)

    File ⟶ File New

    (b)

    File ⟶ New

    (c)

    File ⟶ New File

    (d)

    File ⟶ File Open

  18. In Python _____ is a simple assignment operator.

    (a)

    =

    (b)

    !=

    (c)

    ==

    (d)

    #

  19. How many important control structures in python?

    (a)

    2

    (b)

    3

    (c)

    4

    (d)

    many

  20. Which statement in python used to transfer the center from one part of the program to another unconditionally?

    (a)

    Jump

    (b)

    loop

    (c)

    alternative

    (d)

    iterative

  21. In Python for loop, the _____ refers to the initial, final and increment value.

    (a)

    else

    (b)

    sequence

    (c)

    range

    (d)

    b or c

  22. In Python, statement in a block are written with

    (a)

    Function

    (b)

    Identification

    (c)

    Recursion

    (d)

    Parameters

  23. Which of the following statement causes your function to exit?

    (a)

    break

    (b)

    pass

    (c)

    print

    (d)

    return

  24. print (ord('a') displays

    (a)

    65

    (b)

    A

    (c)

    -a

    (d)

    97

  25. pow (5,2) is equivalent to

    (a)

    5 * 2

    (b)

    5 * * 2

    (c)

    2 * * 5

    (d)

    2 * 5

  26. While defining syntax the text which is given in _____ is optional.

    (a)

    ()

    (b)

    <>

    (c)

    []

    (d)

    {}

  27. ____ works like loop.

    (a)

    Function

    (b)

    Recursion

    (c)

    Composition

    (d)

    Specification

  28. Which of the following operators are useful to do string manipulation?

    (a)

    +, -

    (b)

    *, /

    (c)

    + *

    (d)

    ; "

  29. A substring can be taken from the original string by using

    (a)

    {}

    (b)

    ()

    (c)

    []

    (d)

    <>

  30. Which of the following function used to capitalize the first character of the string?

    (a)

    captial ()

    (b)

    firstcapital ()

    (c)

    capitalize ()

    (d)

    capitalizefirst ()

  31. Which of the following is not datatype in Python?

    (a)

    List

    (b)

    Tuples

    (c)

    String

    (d)

    Set

  32. How many ways to delete and element from a list?

    (a)

    2

    (b)

    3

    (c)

    4

    (d)

    None of these

  33. What is the output for the following?
    s = [i ** 2 for x in range (1.2)]
    print (s)

    (a)

    [1,4]

    (b)

    [1,2]

    (c)

    [1]

    (d)

    (1,4)

    (e)

    (1)

  34. Write the output for the following.
    Tu = {1, 2, 4, 4, 5, 6}
    print (Tu (4))

    (a)

    4,5,6

    (b)

    6

    (c)

    5,6

    (d)

    4,4,5,6

  35. B = A &C is equivalent to

    (a)

    B = A. union (c)

    (b)

    B = A. intersection (c)

    (c)

    B = A. intersect (c)

    (d)

    B = A. interest (c)

  36. A list element can be changed using _____________ operator.

    (a)

    Arithmetic

    (b)

    Conditional

    (c)

    Binary

    (d)

    Assignment

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

    (a)

    Function

    (b)

    Tuple

    (c)

    List

    (d)

    Set

  38. Which of the following with a valid class definition?

    (a)

    Class classname () staternent_1

    (b)

    Class classname : : statement_1

    (c)

    Class classname statement_1

    (d)

    Class classname staternent_1

  39. In Python, which function will act as a constructor?

    (a)

    int

    (b)

    inti

    (c)

    classname

    (d)

    init

  40. The ____ of the class should be accessed through instance of a class.

    (a)

    Objects

    (b)

    Members

    (c)

    Functions

    (d)

    Tuples

  41. Which of the following can be a software or hardware based, with one sole purpose of storiing data?

    (a)

    DBMS

    (b)

    Database

    (c)

    Object

    (d)

    SQL

  42. Which of the following DBMS components that manage databases to take backups, report generation?

    (a)

    Square

    (b)

    Hardware

    (c)

    Data

    (d)

    Procedures

  43. Which of the following is a simple abstraction of complex real world data gathering environment?

    (a)

    Data redundancy

    (b)

    Data consistency

    (c)

    Data abstraction

    (d)

    Data model

  44. In which database mode, the relationship are created by dividing the object into entity?

    (a)

    ER-model

    (b)

    Object

    (c)

    Hierarchical

    (d)

    Network

  45. Who are the one responsible for identifying the data to be stored in the data base?

    (a)

    DBA

    (b)

    Application programmers

    (c)

    End user

    (d)

    Database designers

  46. Find the odd man out

    (a)

    -

    (b)

    X

    (c)

    +

    (d)

  47. A Database Table is known as _________

    (a)

    Relation

    (b)

    Table

    (c)

    Attribute

    (d)

    Dictionary

  48. Which of the following language was designed for managing and accessing data in RDBMS?

    (a)

    DBMS

    (b)

    DDL

    (c)

    DML

    (d)

    SQL

  49. Which of the following component simply deals with description of the database schema?

    (a)

    DML

    (b)

    DDL

    (c)

    DCL

    (d)

    DQL

  50. Which of the following data type same as real expect the precision may exceed 64?

    (a)

    float

    (b)

    real

    (c)

    double

    (d)

    long real

  51. Which of the following should be added at the end of field definition?

    (a)

    space

    (b)

    comma

    (c)

    colon

    (d)

    semicolon

  52. Which of the following command replaces some or all data values in a database?

    (a)

    REPLACE

    (b)

    UPDATE

    (c)

    SET

    (d)

    noae of these

  53. Which clause can be used along with GROUP BY clause and SELECT statement to include aggregate function on them?

    (a)

    WHERE

    (b)

    WHERE

    (c)

    HAVING

    (d)

    COMMIT

  54. Which of the following gives the python programmer the ability to parse CSV files?

    (a)

    CSV data

    (b)

    CSV module

    (c)

    CSV sheet

    (d)

    CSV flat file

  55. Which file mode creates a new file if does not exist?

    (a)

    'n'

    (b)

    'r'

    (c)

    'w'

    (d)

    'x'

  56. Which of the following works with list / tupledict?

    (a)

    read ( )

    (b)

    dictreader ( )

    (c)

    reader ( )

    (d)

    diet ( )

  57. Which method will free up the resources that were tied with the file?

    (a)

    free ( )

    (b)

    open ( )

    (c)

    resources ( )

    (d)

    close ( )

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

    (a)

    Python

    (b)

    Perl

    (c)

    Java

    (d)

    C++

  59. MinGW expansion is

    (a)

    Minimalist Graphics for windows

    (b)

    Minimum GNU for windows

    (c)

    Minimalist GNU for Windows

    (d)

    Motion Graphics for windows

  60. ___________ 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

  61. _________ command of 'os' module executes the exe file to get the desired output.

    (a)

    Main ( )

    (b)

    Name ( )

    (c)

    Run ( )

    (d)

    System ( )

  62. The command to populate the table is

    (a)

    ADD

    (b)

    APPEND

    (c)

    INSERT

    (d)

    ADDROW

  63. How many kinds of placeholders the SQlite3 module supports

    (a)

    1

    (b)

    2

    (c)

    3

    (d)

    5

  64. The numerical data is encoded using

    (a)

    dots

    (b)

    lines

    (c)

    bars

    (d)

    all of these

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

    (a)

    configure plots

    (b)

    configure subplots

    (c)

    subplots configure

    (d)

    plots configure

  66. ________ 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 Computer Science English Medium  Sample 1 Mark Creative Questions (New Syllabus) 2020

Write your Comment