Importing C++ Programs in Python Model Question Paper

12th Standard EM

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

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

    (a)

    JavaScript

    (b)

    PHP

    (c)

    Perl

    (d)

    HTML

  2. The expansion of API is

    (a)

    Application Programming Interpreter

    (b)

    Application Programming Interface

    (c)

    Application Performing Interface

    (d)

    Application Programming Interlink

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

  4. What does __name__ contains ?

    (a)

    c++ filename

    (b)

    main() name

    (c)

    python filename

    (d)

    os module name

  5. Which of the following is not a compiled statically typed language?

    (a)

    C++

    (b)

    Java

    (c)

    Python

    (d)

    All of these

  6. Which of the following is a scripting language?

    (a)

    Ruby

    (b)

    ASP

    (c)

    TCI

    (d)

    All of these

  7. 5 x 2 = 10
  8. What is the theoretical difference between Scripting language and other programming language?

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

  10. What is the use of modules?

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

  12. What is meant by module?

  13. 3 x 3 = 9
  14. What are the applications of scripting language?

  15. What is MinGW? What is its use?

  16. What is sys.argv? What does it contain?

  17. 3 x 5 = 15
  18. Write any 5 features of Python.

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

  20. Write a Python program to execute the following c++ coding
    #include
    using namespace std;
    int main()
    { cout<<“WELCOME”;
    return(0);
    }
    The above C++ program is saved in a file welcome.cpp

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

TN 12th Standard EM Computer Science free Online practice tests

Reviews & Comments about 12th Computer Science - Importing C++ Programs in Python Model Question Paper

Write your Comment