MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Python
Tough Python Interview
Quiz 1
1
2
3
4
5
6
7
8
9
10
Q.1
What will be the output of the following Python code? x = ['ab', 'cd'] print(len(list(map(list, x))))))
a) 2
b) 4
c) error
d) none of the mentioned
Q.2
What will be the output of the following Python code? x = ['ab', 'cd'] print(list(map(list, x)))
a) [‘a’, ‘b’, ‘c’, ‘d’]
b) [[‘ab’], [‘cd’]]
c) [[‘a’, ‘b’], [‘c’, ‘d’]]
d) none of the mentioned
Q.3
What will be the output of the following Python code? x = [print(len(list(map(len, x))))
a) 2
b) 1
c) error
d) none of the mentioned
Q.4
What will be the output of the following Python code? x = [print(len(list(map(int, x))))
a) 2
b) 1
c) error
d) none of the mentioned
Q.5
What will be the output of the following Python code? x = [print(len(''.join(list(map(int, x)))))
a) 4
b) 2
c) error
d) none of the mentioned
Q.6
What will be the output of the following Python code? x = [print(len(''.join(list(map(str, x)))))
a) 4
b) 5
c) 6
d) error
Q.7
What will be the output of the following Python code? x = [print(len(' '.join(list(map(int, x)))))
a) 4
b) 5
c) 6
d) error
Q.8
What will be the output of the following Python code? x = [12.34.print(len(' '.join(list(map(str, x)))))
a) 6
b) 8
c) 9
d) error
Q.9
What will be the output of the following Python code? x = [12.34.print(' '.join(list(map(str, x))))
a) 12 1 34 0
b) 12.1 34
c) 121 340
d) 12.1 34.0
Q.10
What will be the output of the following Python code? x = [[0], [1]] print(len(' '.join(list(map(str, x)))))
a) 2
b) 3
c) 7
d) 8
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page