Welcome to your Python Set 3
Read this before do Start Exam:
1- There are 25 Questions and complete it within 30 Minutes.
2- For Best Experience download our Android App from Google Play Store.
परीक्षा शुरू करने से पहले इसे पढ़ें:
1- 25 प्रश्न हैं और इसे 30 मिनट के भीतर पूरा करें।
2- बेहतरीन अनुभव के लिए Google Play Store से हमारा Android ऐप डाउनलोड करें।
Download App Now
1.
" Which function is called when the following Python program is executed? f = foo() format(f)"
2.
"What will be the output of the following Python statement? >>>""a""+""bc"""
3.
Which type of Programming does Python support?
4.
Which of the following is the truncation division operator in Python?
5.
Which of the following statements are used in Exception Handling in Python?
6.
What does pip stand for python?
7.
" What will be the output of the following Python function? len([""hello"",2, 4, 6])"
8.
Which of the following is not a core data type in Python programming?
9.
30. What is the order of namespaces in which Python looks for an identifier?
10.
Operators with the same precedence are evaluated in which manner?
11.
Which of the following functions converts date to corresponding time in Python?
12.
"What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print (i)"
13.
Who developed Python Programming Language?
14.
"What will be the output of the following Python program?foo(x): x[0] = ['def'] x[1] = ['abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))"
15.
"What will be the output of the following Python expression if x=56.236? print(""%.2f""%x)"
16.
"What will be the output of the following Python code? l=[1, 0, 2, 0, 'hello', '', []] list(filter(bool, l))"
17.
"The following python program can work with ____ parameters. def f(x): def f1(*args, **kwargs): print(""Sanfoundry"") return x(*args, **kwargs) return f1"
18.
"What will be the output of the following Python code? x = 'abcd' for i in x: print(i.upper())"
19.
"What will be the output of the following Python code? 1. class tester: 2. def __init__(self, id): 3. self.id = str(id) 4. id=""224"" 5. 6. >>>temp = tester(12) 7. >>>print(temp.id)"
20.
Which of the following character is used to give single-line comments in Python?
21.
Is Python code compiled or interpreted?
22.
Which of the following is used to define a block of code in Python language?
23.
Which module in the python standard library parses options received from the command line?
24.
" What will be the output of the following Python function? min(max(False,-3,-4), 2,7)"
25.
Which of the following blocks will always be executed whether an exception is encountered or not in a program?