Welcome to your Python Set 5
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.
Is Python code compiled or interpreted?
2.
Which of the following commands will create a list?
3.
To insert 5 to the third position in list1, we use which command?
4.
Suppose listExample is [‘h’,’e’,’l’,’l’,’o’], what is len(listExample)?
5.
Suppose list1 is [4, 7, 9], what is sum(list1)?
6.
Which of the following is used to define a block of code in Python language?
7.
To remove string “hello” from list1, we use which command?
8.
Which of the following is the use of id() function in python?
9.
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after list1.reverse()?
10.
Which of the following is the correct extension of the Python file?
11.
Suppose list1 is [4, 2, 2, 4, 5, 2, 1, 0], Which of the following is correct syntax for slicing operation?
12.
Suppose list1 is [1, 3, 2], What is list1 * 2?
13.
Suppose list1 is [3, 5, 25, 11, 13], what is min(list1)?
14.
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.pop(1)?
15.
Which one of these is floor division?
16.
To shuffle the list(say list1) what function do we use?
17.
Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]?
18.
Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5)?
19.
Suppose list1 is [2, 33, 222, 14, 25], What is list1[:-1]?
20.
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1.count(5)?
21.
What is the output when we execute list(“hello”)?
22.
What is the output of print 0.1 + 0.2 == 0.3?
23.
Suppose list1 is [2445,133,12454,123], what is max(list1)?
24.
What is the output of this expression, 3*1**3?
25.
Suppose list1 = [0.5 * x for x in range(0, 4)], list1 is: