Programming Languages

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

View Answer >

37. Which programming language uses indentation for code blocks?

    a) Java

    b) C++

    c) Python

    d) JavaScript

View Answer >

38. What is the purpose of the “switch” statement in programming?

    a) Looping

    b) Decision making

    c) Code reusability

    d) Error handling

View Answer >

39. What is the output of the following code snippet in Python: print(“Hello” * 3)?

    a) Hello

    b) HelloHelloHello

    c) Hello 3

    d) Error

View Answer >

40. Which programming language is used for developing Windows applications?

    a) Java

    b) C++

    c) Python

    d) C#

View Answer >

Leave a Comment

Note:- All Study Material Job Notice/Results/Exams/Marks/Admit Card published on this website is only for immediate information purpose. This information is not to be a Legal Document/Information. If in case any mistake, error and maybe wrong, then this website is not responsible. WE DONT HAVE ANY YOUTUBE CHANNEL.