41. What is the result of 2 ** 3 ** 2 ? A. 64 B. 512 C. 18 D. 81 Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B Solution: Exponentiation is right-associative, so the expression is evaluated as 2 ** (3 ** 2), which is 512.
42. Which one of the following has the highest precedence in the expression? A. Exponential B. Addition C. Multiplication D. Parentheses Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
43. Which operator is used to concatenate strings in Python? A. & B. + C. . D. , Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B Solution: The + operator is used to concatenate strings in Python.
44. Which one of these is floor division? A. / B. // C. % D. None of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board
45. What is the output of print("Hello" + " " + "World") ? A. "Hello World" B. "Hello World" C. "Hello+World" D. "Hello" " " "World" Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A Solution: The + operator concatenates the strings.
46. What does the != operator mean in Python? A. Not Found B. Not True C. Not Equal D. No Function Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C Solution: The != operator checks if two values are not equal.
47. Which of the following is an invalid statement? A. abc = 1,000,000 B. a b c = 1000 2000 3000 C. a,b,c = 1000, 2000, 3000 D. a_b_c = 1,000,000 Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board