. 1. Who developed Python Programming Language? a) Wick van Rossum b) Rasmus Lerdorf c)…
- User
.
-
Who developed Python Programming Language? a) Wick van Rossum b) Rasmus Lerdorf c) Guido van Rossum d) Niene Stom
-
Which type of Programming does Python support? a) object-oriented programming b) structured programming c) functional programming d) all of the mentioned
-
Is Python case sensitive when dealing with identifiers? a) no b) yes c) machine dependent d) none of the mentioned
-
Which of the following is the correct extension of the Python file? a) .python b) .pl c) .py
-
Is Python code compiled or interpreted? a) Python code is both compiled and interpreted b) Python code is neither compiled nor interpreted c) Python code is only compiled d) Python code is only interpreted
advertisement 6. All keywords in Python are in _________ a) Capitalized b) lower case c) UPPER CASE
-
What will be the value of the following Python expression? a) 7 b) 2 c) 4 d) 1
-
Which of the following is used to define a block of code in Python language? a) Indentation b) Key c) Brackets d) All of the mentioned
-
Which keyword is used for function in Python language? a) Function b) def c) Fun d) Define
-
Which of the following character is used to give single-line comments in Python? a) // b) # c) !
-
What will be the output of the following Python code?
d) none of the mentioned
-
Which of the following functions can help us to find the version of python that we are currently working on? a) sys.version(1) b) sys.version(0) c) sys.version() d) sys.version
-
Python supports the creation of anonymous functions at runtime, using a construct called __________ a) pi b) anonymous c) lambda d) none of the mentioned
-
What is the order of precedence in python? a) Exponential, Parentheses, Multiplication, Division, Addition, Subtraction b) Exponential, Parentheses, Division, Multiplication, Addition, Subtraction c) Parentheses, Exponential, Multiplication, Division, Subtraction, Addition
-
What will be the output of the following Python code snippet if x=1?
-
What does pip stand for python? a) Pip Installs Python b) Pip Installs Packages c) Preferred Installer Program d) All of the mentioned
-
Which of the following is true for variable names in Python? a) underscore and ampersand are the only two special characters allowed b) unlimited length c) all private members must have leading and trailing underscores d) none of the mentioned
-
What are the values of the following Python expressions?
-
- Assistant
- c) Guido van Rossum
- d) all of the mentioned
- b) yes
- c) .py
- a) Python code is both compiled and interpreted
- b) lower case
- a) 7
- a) Indentation
- b) def
- b) #
- d) none of the mentioned
- c) sys.version()
- c) lambda
- b) Exponential, Parentheses, Division, Multiplication, Addition, Subtraction
- b) 2
- d) All of the mentioned
- b) unlimited length
- a) 1, 2, 4, 5, 7, 8
- b) //
- a) [1, 2, 'hello']
- b) print()
- b) Id returns the identity of the object
- d) 2
- c) 2
- c) Class
- b) 56.23
- b) A folder of python modules
- a) Error
- d) A B C D
- Assistant
I apologize, but I made a mistake in the answer to question 62. The correct answer is:
- a) conversion of a Python object hierarchy into byte stream