Which of the following statements is valid for "if statement"?🧠🖥🤔
Anonymous Quiz
52%
if f<=12:
28%
if (f<=12)
9%
if (f>=122)
11%
if f>=12
What is the maximum possible length of an identifier?🤔🧠🖥
Anonymous Quiz
27%
79
19%
83
15%
40
39%
None of the above
PVM is often called _________?🧠🤔🖥
Anonymous Quiz
15%
Python interpreter
64%
Python Virtual Memory
12%
Python compiler
9%
python volatile machine
👍2
What will be the output of the following code snippet?🖥🧠🤔
a = [1, 2] print(a * 3)
a = [1, 2] print(a * 3)
Anonymous Quiz
37%
Error
46%
[1,2,1,2,1,2]
10%
[1,2,1,2]
7%
9
👍2
What will be the output of this program ?🤔🧠🖥
--> print("java", 'point', sep='2')
--> print("java", 'point', sep='2')
Anonymous Quiz
39%
java2point
8%
javapoint
34%
javapoint2
18%
javapointsep=2
👍2
What will be the output of this program?🧠🖥🤔
--> print(max("zoo 145 com"))
--> print(max("zoo 145 com"))
Anonymous Quiz
46%
142
22%
122
11%
a
20%
z
What will be the output of the following code snippet? 🖥🤔🧠
--> print(2**3 + (5 + 6)**(1 + 1))
--> print(2**3 + (5 + 6)**(1 + 1))
Anonymous Quiz
42%
129
15%
19
24%
120
20%
None of the above
What will be the output of this program? 🧠🤔🖥
--> int1 = 0b0010
print(int1)
--> int1 = 0b0010
print(int1)
Anonymous Quiz
42%
0b0010
21%
2
13%
5
24%
syntaxerror
👍3
What will be the output of this statement? 🖥🤔🧠
print(0xA + 0xB + 0xC)
print(0xA + 0xB + 0xC)
Anonymous Quiz
16%
33
21%
63
25%
none
38%
0xA + 0xB + 0xC
What will be the output of this program? 🧠🖥🤔
print(True ** False / True)
print(True ** False / True)
Anonymous Quiz
32%
True ** False / True
32%
1 ** 0/ 1
26%
1.0
10%
none of the above
What is output of the following 🧠🖥🤔
print(math.pow(5, 2))?
print(math.pow(5, 2))?
Anonymous Quiz
44%
25
32%
25.0
10%
None
14%
Error
👍2
How many bytes are there in 1 GB?
Anonymous Quiz
26%
1,073,744
12%
1,73,741,824
35%
1,073,741,824
8%
1,073,824
19%
none of the above
👍3
👍3
In Python, what is the default maximum level of recursion?
Anonymous Quiz
17%
500
24%
1000
26%
10000
32%
None of the above
Choose the correct option for the below script
>>> a = (1, 2, 3) >>> type(a) <class 'tuple'> >>> b = (3) >>> type(b)
>>> a = (1, 2, 3) >>> type(a) <class 'tuple'> >>> b = (3) >>> type(b)
Anonymous Quiz
31%
<class 'int'>
59%
<class 'tuple'>
10%
<class 'list'>
python supports the creation of anonymous function at runtime, using a construct called________
Anonymous Quiz
22%
pi
34%
anonymous
38%
lambda
7%
none of the mentioned
👍1
what will be the output of the following python function? len(["hello",2,4,6])
Anonymous Quiz
34%
error
18%
6
36%
4
12%
3
👍1