Skip to main content

Modern Programming Languages MCQs with Answers

Practice important Modern Programming Languages MCQs with answers and explanations.

Multiple Choice Questions

Q201: The Ada programming language was initially designed for which type of software systems?
  • A: Military software systems
  • B: Commercial software systems
  • C: Scientific software systems
  • D: Entertainment software systems
View Answer
A

Q202: Ada supports which of the following programming paradigms?
  • A: Object-oriented programming
  • B: Procedural programming
  • C: Functional programming
  • D: Declarative programming
View Answer
A

Q203: In Ada, the operator for assignment is:
  • A: =
  • B: :=
  • C: ==
  • D: !=
View Answer
B

Q204: Which of the following is NOT a feature of Ada?
  • A: Support for exception handling
  • B: Support for object-oriented programming
  • C: Limited libraries
  • D: Support for multiple parallel threads of control
View Answer
C

Q205: What is the purpose of the "Put_Line" statement in Ada?
  • A: To print output to the screen
  • B: To assign a value to a variable
  • C: To define a procedure
  • D: To handle an exception
View Answer
A

Q206: In Ada, which operator is used for string concatenation?
  • A: &
  • B: +
  • C: *
  • D: .
View Answer
A

Q207: The Ada operator "Mod" is equivalent to which operator in C?
  • A: %
  • B: //
  • C: /
  • D: &
View Answer
A

Q208: Which of the following features was introduced in Ada 95?
  • A: Object-oriented programming
  • B: Multiple parallel threads of control
  • C: Exception handling
  • D: Generic packages
View Answer
A

Q209: The operator for equality in Ada is:
  • A: =
  • B: ==
  • C: !=
  • D: :=
View Answer
A

Q210: Which of the following is NOT a valid operator in Ada?
  • A: PlusEquals
  • B: Abs
  • C: **
  • D: Rem
View Answer
A

Test Your Knowledge

Take a timed quiz on Modern Programming Languages

🚀 Start Quiz Now