Importing C++ Programs in Python Book Back Questions

12th Standard EM

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:45:00 Hrs
Total Marks : 30
    5 x 1 = 5
  1. Which of the following is not a scripting language?

    (a)

    JavaScript

    (b)

    PHP

    (c)

    Perl

    (d)

    HTML

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

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

  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

  6. 3 x 2 = 6
  7. What is the theoretical difference between Scripting language and other programming language?

  8. Write the expansion of (i) SWIG (ii) MinGW

  9. What is the use of cd command. Give an example.

  10. 3 x 3 = 9
  11. List the commonly used python interfaces.

  12. How to import modules in python?

  13. Write an algorithm for executing c++ program pali_cpp.cpp using python program.pall.py.

  14. 2 x 5 = 10
  15. What is the purpose of sys,os,getopt module in Python.Explain

  16. Write the syntax for getopt( ) and explain its arguments and return values

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

TN 12th Standard EM Computer Science free Online practice tests

Reviews & Comments about 12th Computer Science - Importing C++ Programs in Python Book Back Questions

Write your Comment