What is the output of the code?
Anonymous Quiz
37%
Emma 25
9%
name age
27%
{'name': 'Emma', 'age': 25}
11%
('name', Emma) ('age', 25)
14%
Error
3%
None of the above
What is the output of the code?
Anonymous Quiz
18%
Nothing is printed
11%
i from A is 0
37%
i from A is 60
24%
i from A is 90
7%
Error
3%
None of the above
What is the output of the code?
Anonymous Quiz
7%
Nothing
12%
Inbox Inbox
48%
Inbox Spam
16%
Spam Inbox
8%
Spam Spam
7%
Error
2%
None of the above
What will be the output of the Python code?
Anonymous Quiz
15%
The program has an error because there isnβt any function to return self.a
33%
The program has an error because b is private and display(self) is returning a private member
27%
The program has an error because b is private and hence canβt be printed
25%
The program runs fine and 1 is printed
What is the output of the program?
Anonymous Quiz
7%
['a', 'b', 'c']
5%
['c', 'b', 'a']
20%
['a', 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c']
21%
['c', 'b', 'a', 'c', 'b', 'a', 'c', 'b', 'a']
18%
[]
26%
Error
3%
None of the mentioned
π€1
What is the true statement about the code snippet?
Anonymous Quiz
44%
Class B inherits all the data fields of class A
16%
Class B needs an argument
17%
The data field βjβ cannot be accessed by object b
24%
Class B is inheriting class A but the data field βiβ in A cannot be inherited