Programming Languages

WhatsApp Channel Join Now
Telegram Group Join Now

26. Which of the following is an example of a compiled programming language?

    a) Python

    b) JavaScript

    c) Ruby

    d) C++

View Answer >

27. What is the purpose of a function in programming?

    a) Looping

    b) Decision making

    c) Code reusability

    d) Error handling

View Answer >

28. Which programming language is used for database management and querying?

    a) Java

    b) C++

    c) Python

    d) SQL

View Answer >

29. What is the output of the following code snippet in Java: System.out.println(“10” + 20)?

    a) 1020

    b) 30

    c) 102

    d) Error

View Answer >

30. In Python, how do you define a list?

    a) list x = [1, 2, 3]

    b) x = list(1, 2, 3)

    c) x = [1, 2, 3]

    d) x = (1, 2, 3)

View Answer >

WhatsApp Channel Join Now
Telegram Group Join Now
                                                   

Leave a Comment

telegram Join Telegram
Join Now Join Now