New ! Computer Science MCQ Practise Tests



12th Standard Computer Science Importing C++ Programs in Python English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

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

    Answer all the questions

    10 x 1 = 10
  1. Importing C++ program in a Python program is called

    (a)

    wrapping

    (b)

    Downloading

    (c)

    Interconnecting

    (d)

    Parsing

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

    (a)

    Ctypes

    (b)

    SWIG

    (c)

    Cython

    (d)

    Boost

  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. What does __name__ contains?

    (a)

    c++ filename

    (b)

    main() name

    (c)

    python filename

    (d)

    os module name

  5. Which of the following is not general purpose language?

    (a)

    Python

    (b)

    Perl

    (c)

    Java

    (d)

    C++

  6. In which language datatype or not required while declare variable?

    (a)

    C++

    (b)

    C

    (c)

    Java

    (d)

    Python

  7. Which programming language is useful when the logic can be written in C++ and manipulated through python program?

    (a)

    C++

    (b)

    Python

    (c)

    Perl

    (d)

    Html

  8. A scripting language requires

    (a)

    Compiler

    (b)

    Interpreter

    (c)

    Python

    (d)

    Modules

  9. Which of the following is needed to run a c++ program on windows?

    (a)

    m++

    (b)

    g++

    (c)

    ghre++

    (d)

    f++

  10. Which of the following is not a python module?

    (a)

    Sys

    (b)

    OS

    (c)

    Getopt

    (d)

    g++

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

Reviews & Comments about 12th Standard Computer Science Importing C++ Programs in Python English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

Write your Comment