Welcome to your Python Set 1
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.
What does the name Python signify?
2.
All the keywords in Python are in_
3.
What arithmetic operators cannot be used with strings in Python?
4.
"What will be the value of ‘result’ in following Python program?list1 = [1,2,3,4] list2 = [2,4,5,6] list3 = [2,6,7,8] result = list() result.extend(i for i in list1 if i not in (list2+list3) and i not in result) result.extend(i for i in list2 if i not in (list1+list3) and i not in result) result.extend(i for i in list3 if i not in (list1+list2) and i not in result)"
5.
Which one of the following is the use of function in python?
6.
Which of the following statements is used to create an empty set in Python?
7.
"What will be the output of the following Python code?>>>list1 = [1, 3] >>>list2 = list1 >>>list1[0] = 4 >>>print(list2)"
8.
When was Python 3.0 released?
9.
"What will be the output of the following Python program? i = 0 while i < 5: print(i) i += 1 if i == 3: break else: print(0)"
11.
What is the maximum possible length of an identifier in Python?
12.
" What will be the output of the following Python program? z=set('abc') z.add('san') z.update(set(['p', 'q'])) z"
13.
What are the people who specialize in Python called?
14.
"Which of the following Python statements will result in the output: 6? A = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]"
15.
To add a new element to a list we use which Python command?
16.
"What will be the output of the following Python code? print(""abc. DEF"".capitalize())"
17.
What does pip mean in Python?
18.
What is the type of programming language supported by Python?
19.
Which of the following definitions is the one for packages in Python?
20.
What is the extension of the Python file?
21.
When was Python released?
22.
The built-in function in Python is:
23.
"What will be the output of the following Python program? def addItem(listParam): listParam += [1] mylist = [1, 2, 3, 4] addItem(mylist) print(len(mylist))"
25.
"What will be the output of the following Python code? x = 'abcd' for i in range(len(x)): print(i) "