page-banner
Python M3-R5.1 MCQs SET-20
Q6.
निम्नलिखित कथन के बाद m का डेटा प्रकार क्या होगा?<break-line><break-line>What will be the data type of m after the following statement?<pre><code>m = {'A', 'F', 'R', 'Y'}</code></pre>
A. List
B. Set
C. Dictionary
D. Tuple
View Answer
Q7.
निम्नलिखित कथन के बाद m का डेटा प्रकार क्या होगा?<break-line><break-line>What will be the data type of m after the following statement?<pre><code>m = True</code></pre>
A. List
B. String
C. Dictionary
D. Boolean
View Answer
Q8.
निम्नलिखित कथनों के बाद m का डेटा प्रकार क्या होगा?<break-line><break-line>What will be the data type of m after the following statements?<pre><code>true = "Honesty is the best policy" m = true</code></pre>
A. List
B. String
C. Dictionary
D. Boolean
View Answer
Q9.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?<break-line><break-line>What will be the output after the following statements?<pre><code>m = {'Listen' :'Music', 'Play' : 'Games'} print(m.keys())</code></pre>
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.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?<break-line><break-line>What will be the output after the following statements?<pre><code>m = {'Listen' :'Music', 'Play' : 'Games'} print(m.values())</code></pre>
A. dict_keys([‘Listen’, ‘Play’])
B. dict_values([‘Music’, ‘Games’])
C. dict_values({‘Listen’ :‘Music’, ‘Play’ : ‘Games’})
D. dict_values({‘Listen’ : ‘Games’})
View Answer