Online Test for Python
- What is the purpose of the "if" statement in Python?
To create a loopTo declare a variableTo define a functionTo conditionally execute code
- In which year was the Python programming language released?
1995199120002005
- Immutability can be used to guarantee that an object remains constant throughout your program.
TrueFalse
- Which of the following is not a valid data type in Python?
characterlistdictionaryset
- 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
- An “immutable” object is an object that can be changed after it is created.
TrueFalse
- Which of the following is a correct way to declare a variable in Python?
int x = 5x = "hello"x := 55 = x
- 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 is immutable core data type of python?
Numbers, Strings, and ListsNumbers, Dictionary, and TuplesList, Strings, and TuplesNumbers, Strings, and Tuples
- Which individual created the Python programming language?
Bill GatesSteve JobsVan RossumDennis Ritchie
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