Python Programming Language MCQ with Answers Set 1

 

1. Python is ------ Language





ANSWER= (A) Interpreted
Explain:- Python is interpreted language. Entire code of Python is interpreted and executed simultaneously

 

2. Python is developed by ------ 





ANSWER= (C) Guido van Rossum
Explain:- Guido van Rossum is developer of Python Programming Language. First Python released on February 20, 1991

 

3. Python programming support ------ programming paradigm





ANSWER= (D) All of the above
Explain:- Python programming language supports all type of programming paradigms i.e. procedure, functional, structural and object oriented programming paradigm

 

4. Python is ---------------- language in case of identifiers





ANSWER= (C) case sensitive
Explain:- Python is case sensitive when you deal with identifiers

 

5. The Python files are saved with ------- extension





ANSWER= (B) .py
Explain:- Python files are saved with .py extension.

 

6. The comment lines in Python are given with the help of ----- symbol





ANSWER= (D) #
Explain:-In Python the comments lines are given with the help of # character

 

7. In Python -------- is a symbol which is used to perform operations





ANSWER= (B) Operator
Explain:-In Python operators are used to perform any kind of operations

 

8. The ---------- operator is used to assign the value to variable





ANSWER= (A) assignment
Explain:-In Python assignment operators are used to assign the values to variables

 

9. The ------ operators are used to combine two or more conditions





ANSWER= (C) logical
Explain:-In Python logical operators are used to combine two or more conditions

 

10. A=10 A+=20 print(A) what will be output of above code





ANSWER= (D) None of these
Explain:-The value of A is 10 and assignment and plus operator is used and again 10 value is added so output will be 30

टिप्पणी पोस्ट करा

0 टिप्पण्या