11. |
What is the answer to this expression, 22 % 3 is?
|
||||||||
Answer:
Option (b) |
12. |
Mathematical operations can be performed on a string.
|
||||
Answer:
Option (b) |
13. |
Operators with the same precedence are evaluated in which manner?
|
||||||||
Answer:
Option (a) |
14. |
What is the output of this expression, 3*1**3?
|
||||||||
Answer:
Option (c) |
15. |
Which one of the following has the same precedence level?
|
||||||||
Answer:
Option (a) |
16. |
The expression Int(x) implies that the variable x is converted to an integer.
|
||||
Answer:
Option (a) |
17. |
Which one of the following has the highest precedence in the expression?
|
||||||||
Answer:
Option (d) |
18. |
Which of these in not a core data type?
|
||||||||
Answer:
Option (d) |
19. |
What will be the output of the following Python code?
>>>str=""hello""
>>>str[:2]
>>>
|
||||||||
Answer:
Option (a) |
20. |
Which of the following will run without errors?
|
||||||||
Answer:
Option (a) |