Online Test for Python
- Which of the following is NOT an area where Python is commonly used?
Web development (server-side)Software developmentMathematicsGraphic design
- In which year was the Python programming language released?
1995199120002005
- An “immutable” object is an object that can be changed after it is created.
TrueFalse
- Which of the following operating systems does Python run on?
Mac OS X onlyMac OS X, Windows onlyMac OS X, Windows, Linux onlyMac OS X, Windows, Linux, and Unix only
- When execute Python program, Python first compiles source code(file statement) into a format known as pseudo code.
TrueFalse
- What is the purpose of the "if" statement in Python?
To create a loopTo declare a variableTo define a functionTo conditionally execute code
- 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.
- Which of the following core types in Python is considered immutable?
ListsDictionariesStringsSets
- What is the extension of the Python byte code file?
.pypyc.pydNone of the above
- Which of the following core types in Python is considered mutable?
NumbersStringsTuplesLists
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