New ! Computer Science MCQ Practise Tests



12th Standard Computer Science Python and CSV Files English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:10:00 Hrs
Total Marks : 10

    Answer all the questions

    10 x 1 = 10
  1. The expansion of CRLF is

    (a)

    Control Return and Line Feed

    (b)

    Carriage Return and Form Feed

    (c)

    Control Router and Line Feed

    (d)

    Carriage Return and Line Feed

  2. Which of the following mode is used when dealing with non-text files like image or exe files?

    (a)

    Text mode

    (b)

    Binary mode

    (c)

    xls mode

    (d)

    csv mode

  3. Which of the following is a string used to terminate lines produced by writer()method of csv module?

    (a)

    Line Terminator

    (b)

    Enter key

    (c)

    Form feed

    (d)

    Data Terminator

  4. Which of the following creates an object which maps data to a dictionary?

    (a)

    listreader()

    (b)

    reader()

    (c)

    tuplereader()

    (d)

    DictReader ()

  5. CSV means

    (a)

    Condition separated values

    (b)

    Colon separated values

    (c)

    C++ solution values

    (d)

    Comma separated values

  6. Which of the following can protect if the data itself contains commas in CSV file?

    (a)

    ' '

    (b)

    , ,

    (c)

    " "

  7. Fields containing line breaks denoted by

    (a)

    CSV

    (b)

    XLS

    (c)

    CLRF

    (d)

    CRLF

  8. Which python file modes are used to creating new file?

    (a)

    all of these

    (b)

    'x'

    (c)

    'a'

    (d)

    'w'

  9. Which of the following describes the format of the CSV file that is to be read?

    (a)

    parameter

    (b)

    dialect

    (c)

    whitespace

    (d)

    delimeter

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

    (a)

    read ( )

    (b)

    dictreader ( )

    (c)

    reader ( )

    (d)

    diet ( )

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

Reviews & Comments about 12th Standard Computer Science Python and CSV Files English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

Write your Comment