Online Test for Python
- Python automatically stores byte code in files with a .pyc extension.
TrueFalse
- 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
- Which of the following is a correct way to declare a variable in Python?
int x = 5x = "hello"x := 55 = x
- Which individual created the Python programming language?
Bill GatesSteve JobsVan RossumDennis Ritchie
- Which of the following core types in Python is considered mutable?
NumbersStringsTuplesLists
- 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
- Which of the following core types in Python is considered immutable?
ListsDictionariesStringsSets
- What is the purpose of the "if" statement in Python?
To create a loopTo declare a variableTo define a functionTo conditionally execute code
- Immutability can be used to guarantee that an object remains constant throughout your program.
TrueFalse
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