page-banner
Python M3-R5.1 MCQs SET-20
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

Create Account