page-banner
Python M3-R5.1 MCQs SET-20
Q1.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = [25, 34, 70, 63]
n = m[2] - m[0]
print(n)
A. 25
B. 45
C. 70
D. 34
View Answer
Q2.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = [25, 34, 70, 63]
n = str(m[1]) + str(m[2])
print(n)
A. 2534
B. 95
C. 104
D. 3470
View Answer
Q3.
निम्नलिखित कथन के बाद m का डेटा प्रकार क्या होगा?

What will be the data type of m after the following statement?
m = [90, 'A', 115, 'B', 250]
A. List
B. String
C. Dictionary
D. Tuple
View Answer
Q4.
निम्नलिखित कथन के बाद m का डेटा प्रकार क्या होगा?

What will be the data type of m after the following statement?
m = 'World Wide Web'
A. List
B. String
C. Dictionary
D. Tuple
View Answer
Q5.
निम्नलिखित कथन के बाद m का डेटा प्रकार क्या होगा?

What will be the data type of m after the following statement?
m = {'Listen' :'Music', 'Play' : 'Games'}
A. List
B. Set
C. Dictionary
D. Tuple
View Answer
Q6.
निम्नलिखित कथन के बाद m का डेटा प्रकार क्या होगा?

What will be the data type of m after the following statement?
m = {'A', 'F', 'R', 'Y'}
A. List
B. Set
C. Dictionary
D. Tuple
View Answer
Q7.
निम्नलिखित कथन के बाद m का डेटा प्रकार क्या होगा?

What will be the data type of m after the following statement?
m = True
A. List
B. String
C. Dictionary
D. Boolean
View Answer
Q8.
निम्नलिखित कथनों के बाद m का डेटा प्रकार क्या होगा?

What will be the data type of m after the following statements?
true = "Honesty is the best policy"
m = true
A. List
B. String
C. Dictionary
D. Boolean
View Answer
Q9.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = {'Listen' :'Music', 'Play' : 'Games'}
print(m.keys())
A. dict_keys([‘Listen’, ‘Play’])
B. dict_keys([‘Music’, ‘Games’])
C. dict_keys({‘Listen’ :‘Music’, ‘Play’ : ‘Games’})
D. dict_keys({‘Listen’ : ‘Games’})
View Answer
Q10.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = {'Listen' :'Music', 'Play' : 'Games'}
print(m.values())
A. dict_keys([‘Listen’, ‘Play’])
B. dict_values([‘Music’, ‘Games’])
C. dict_values({‘Listen’ :‘Music’, ‘Play’ : ‘Games’})
D. dict_values({‘Listen’ : ‘Games’})
View Answer
Q11.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = {'Listen' :'Music', 'Play' : 'Games'}
n = m['Play']
print(n)
A. Listen
B. Music
C. Play
D. Games
View Answer
Q12.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = {'Listen' :'Music', 'Play' : 'Games'}
n = list(m.values())
print(n[0])
A. Listen
B. Music
C. Play
D. Games
View Answer
Q13.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = {'Listen' :'Music', 'Play' : 'Games'}
n = list(m.items())
print(n)
A. [('Play', 'Games'), ('Listen', 'Music')]
B. [('Listen', 'Music')]
C. [('Play', 'Games')]
D. ('Play', 'Games'), ('Listen', 'Music')
View Answer
Q14.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = 36
if m > 19:
    print(100)
A. 36
B. 19
C. 100
D. M
View Answer
Q15.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = 50
if m > 50:
    print(25)
else:
    print(75)
A. 50
B. m
C. 75
D. 25
View Answer
Q16.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = 8
if m > 7:
    print(50)
elif m == 7:
    print(60)
else:
    print(70)
A. 50
B. 60
C. 70
D. 8
View Answer
Q17.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = 85
n = 17
print(m / n)
A. 5
B. 5.5
C. 6.0
D. 5.0
View Answer
Q18.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = 44
n = 23
m = m + n
print(m)
A. 23
B. 44
C. 67
D. m + n
View Answer
Q19.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = 20
n = 6
m = m * n
print(m)
A. m * n
B. 20
C. 206
D. 120
View Answer
Q20.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
m = 99
n = 11
m = m - n
print(m)
A. 88
B. 11
C. 99
D. 9911
View Answer