New ! Computer Science MCQ Practise Tests



12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 1 Mark Questions with Solution Part - II

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 5

    1 Marks

    5 x 1 = 5
  1. The module which allows you to interface with the Windows operating system is

    (a)

    OS module

    (b)

    sys module

    (c)

    csv module

    (d)

    getopt module

  2. getopt() will return an empty array if there is no error in splitting strings to

    (a)

    argv variable

    (b)

    opt variable

    (c)

    args variable

    (d)

    ifile variable

  3. Identify the function call statement in the following snippet.
    if __name__ =='__main__':
    main(sys.argv[1:])

    (a)

    main(sys.argv[1:])

    (b)

    __name__

    (c)

    __main__

    (d)

    argv

  4. Which of the following can be used for processing text, numbers, images, and scientific data?

    (a)

    HTML

    (b)

    C

    (c)

    C++

    (d)

    PYTHON

  5. What does __name__ contains?

    (a)

    c++ filename

    (b)

    main() name

    (c)

    python filename

    (d)

    os module name

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

Reviews & Comments about 12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 1 Mark Questions with Solution Part - II updated Book back Questions

Write your Comment