placeholder image to represent content

IMPORTING C++ PROGRAMS IN PYTHON

Quiz by Karan Cindae

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
10 questions
Show answers
  • Q1

    Which of the following is not a scripting language?

    PHP

    HTML

    Perl

    JavaScript

    30s
  • Q2

    Importing C++ program in a Python program is called

    Downloading

    wrapping

    Interconnecting

    Parsing

    30s
  • Q3

    The expansion of API is

    Application Programming Interface

    Application Programming Interlink

    Application Programming Interpreter

    Application Performing Interface

    30s
  • Q4

    A framework for interfacing Python and C++ is

    SWIG

    Cython

    Ctypes

    Boost

    30s
  • Q5

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

    Modular programming

    Object oriented Programming

    Procedure oriented Programming

    Low Level Programming

    30s
  • Q6

    The module which allows you to interface with the Windows operating system is

    OS module

    getopt module

    csv module

    sys module

    30s
  • Q7

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

    argv variable

    opt variable

    ifile variable

    args variable

    30s
  • Q8

    Identify the function call statement in the following snippet.

         if __name__ =='__main__':

              main(sys.argv[1:])

    __name__

    main(sys.argv[1:])

    argv

    __main__

    30s
  • Q9

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

    PYTHON

    C

    HTML

    C++

    30s
  • Q10

    What does __name__ contains ?

    python filename

    c++ filename

    main() name

    os module name

    30s

Teachers give this quiz to your class