36. What is the output of the following code snippet in C++: cout << (5 > 3 && 2 < 4) << endl;
a) 0
b) 1
c) true
d) false
Answer: b) 1
37. Which programming language uses indentation for code blocks?
a) Java
b) C++
c) Python
d) JavaScript
Answer: c) Python
38. What is the purpose of the “switch” statement in programming?
a) Looping
b) Decision making
c) Code reusability
d) Error handling
Answer: b) Decision making
39. What is the output of the following code snippet in Python: print(“Hello” * 3)?
a) Hello
b) HelloHelloHello
c) Hello 3
d) Error
Answer: b) HelloHelloHello
40. Which programming language is used for developing Windows applications?
a) Java
b) C++
c) Python
d) C#
Answer: d) C#