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