Online Test for Python
- What is a Python Virtual Machine (PVM)?
runtime engine of Python that compiled your compiled byte coderuntime engine of Python that interprets your compiled byte coderuntime engine of Python that convert source code into byte codeNone of the above
- Which of the following is a correct statement about Python programs?
Python programs are composed of functions, loops, and objects.Python programs consist of variables, arrays, and objects.Python programs are divided into modules, statements, expressions, and objects.Python programs are made up of classes, methods, and expressions.
- Python is
Interpreter Programming languageCompiled programming languageInterpreter and Compiled programming languageNone of the above
- Python has deep support of Object Oriented Programming (OOP)
TrueFalse
- Which of the following is a loop in Python?
for looprepeat loopuntil loopwhile loop
- Which of the following is NOT an area where Python is commonly used?
Web development (server-side)Software developmentMathematicsGraphic design
- Python automatically stores byte code in files with a .pyc extension.
TrueFalse
- An “immutable” object is an object that can be changed after it is created.
TrueFalse
- Which of the following core types in Python is considered mutable?
NumbersStringsTuplesLists
- Which of the following is a correct way to declare a variable in Python?
int x = 5x = "hello"x := 55 = x
Also Exercise
Post Your Question
Social Sharing
Search
Articles
Recently Added Jobs
Rajasthan High Court - Jodhpur Recruitment 2017 for Civil Judges
Last Date: 21 December, 2017
Last Date: 21 December, 2017
WBSEDCL Recruitment - 2017 for Office Executive
Last Date: 16 May, 2017
Last Date: 16 May, 2017
RECRUITMENT OF PROBATIONARY OFFICERS IN STATE BANK OF INDIA
Last Date: 06 March, 2017
Last Date: 06 March, 2017
UPSC Combined Medical Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015
UPSC Engineering Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015