Skip to content

Computer · Programming Fundamentals & OOP · page 4 of 18

Programming Languages MCQs with Answers

Includes 12 past paper MCQs (marked).

Timed quizzes, instant results, track your progress — free

Practice these MCQs in the app

Programming Languages MCQs (31–40)

10 MCQs with answers and a short one-liner. Hide answers to test yourself.

Past paper MCQs in this chapter · See all past papers

Answers and one-liners are hidden. Tap an option to check that question, or show all.

  1. 31.

    Which function is used to print a string in C programming?

  2. 32.

    Which function in C is used to read a string with white space characters?

  3. 33.

    Which operator is used to change the data type of a variable in programming?

  4. 34.

    What does the getche() function do when it reads a character from the keyboard?

  5. 35.

    The conditional operator in programming serves as an alternative to which control structure?

  6. 36.

    Assembly language is an example of which category of computer languages?

  7. 37.

    Which of the following is not a looping construct in C++ programming?

  8. 38.

    In Scratch programming, which term describes an action that the program responds to?

  9. 39.

    What does a Software Engineer typically work with?

  10. 40.

    Which type of operator is used to compare two values in programming?

Start studying free