New ! Computer Science MCQ Practise Tests



Importing C++ Programs in Python 1 Mark Book Back Question Paper With Answer Key

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

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

    Multiple Choice Question 

    10 x 1 = 10
  1. Which of the following is not a scripting language?

    (a)

    JavaScript

    (b)

    PHP

    (c)

    Perl

    (d)

    HTML

  2. Importing C++ program in a Python program is called

    (a)

    wrapping

    (b)

    Downloading

    (c)

    Interconnecting

    (d)

    Parsing

  3. The expansion of API is

    (a)

    Application Programming Interpreter

    (b)

    Application Programming Interface

    (c)

    Application Performing Interface

    (d)

    Application Programming Interlink

  4. A framework for interfacing Python and C++ is

    (a)

    Ctypes

    (b)

    SWIG

    (c)

    Cython

    (d)

    Boost

  5. Which of the following is a software design technique to split your code into separate parts?

    (a)

    Object oriented Programming

    (b)

    Modular programming

    (c)

    Low Level Programming

    (d)

    Procedure oriented Programming

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

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

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

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

    (a)

    HTML

    (b)

    C

    (c)

    C++

    (d)

    PYTHON

  10. What does __name__ contains?

    (a)

    c++ filename

    (b)

    main() name

    (c)

    python filename

    (d)

    os module name

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

Reviews & Comments about 12th Standard Computer Science English Medium - Importing C++ Programs in Python 1 Mark Book Back Question Paper and Answer Key 2022 - 2023

Write your Comment