TN Online TestSamacheer Kalvi practice

12th Standard Computer Science — Importing C++ programs in Python.: Additional Online Practice Test

Share this chapter: Telegram

Pick how many questions you want and set a time limit, then start. You'll get your score at the end with the correct answer and an explanation for every question. Free, in Tamil and English — 15 questions available.

Set up your test

Time remaining00:00
Q1
Which of the following is a characteristic feature of C++ compared to Python?
Q2
A programming language designed for integrating and communicating with other programming languages is known as a:
Q3
What is the process by which Python periodically frees and reclaims blocks of memory that are no longer in use?
Q4
What does SWIG stand for in the context of C++ integration with Python?
Q5
Which runtime compiler suite allows compiling and linking C++ code dynamically through Python on the Windows Operating System?
Q6
What does the first element of sys.argv, sys.argv, contain when running a Python script from the command line?
Q7
In contrast to Python, how many values can a C++ return statement return directly to its caller?
Q8
In the command os.system('g++ ' + inp_file + ' -o ' + exe_file), what does the option '-o' specify?
Q9
The getopt.getopt() method returns a value consisting of how many elements?
Q10
If a Python source file is executed directly as the main program, what value is assigned to the special variable __name__ by the interpreter?
Q11
In Python, which slicing expression on sys.argv is commonly used to pass all command-line arguments except the script's own file name?
Q12
The program g++ automatically compiles and links C++ source files by invoking which of the following?
Q13
In the getopt.getopt(argv, "i:") function call, what does the colon ":" after the option letter 'i' indicate?
Q14
What is the main theoretical difference between scripting languages and traditional programming languages?
Q15
Which operator is used to access functions defined inside an imported Python module?

More for this chapter

Book Back Questions10 textbook MCQs · solved Additional MCQs15 extra MCQs · solved Practice TestInteractive · instant score Book Back TestTest yourself on the textbook set Study NotesConcepts & methods Formula SheetAll key formulas

About this Importing C++ programs in Python. test

This free online practice test covers Importing C++ programs in Python. from the 12th Standard Computer Science (Samacheer Kalvi) syllabus. Choose the number of questions and an optional time limit, then answer and submit — everything is checked in your browser, with the correct answers and a worked explanation shown at the end. For the full solutions to every question in this set, see the solved MCQs page.

More chapters in Computer Science

View all
1 Function 2 Data Abstraction 3 Scoping 4 Algorithmic Strategies 5 Python -Variables and Operators 6 Control Structures 7 Python functions 8 Strings and String manipulation 9 Lists, Tuples, Sets and Dictionary 10 Python Classes and objects 11 Database Concepts 12 Structured Query Language (SQL) 13 Python and CSV files 15 Data manipulation through SQL 16 Data visualization using pyplot: line chart, pie chart and bar chart