Modern Programming Languages MCQs with Answers

Practice important Modern Programming Languages MCQs with answers and explanations.

Multiple Choice Questions

Q21: Which language level corresponds to 10-20 function points per staff month?
  • A: 45294
  • B: 45390
  • C: 45550
  • D: 16-23
View Answer
B

Q22: What is the output of the following BASIC code: 10 PRINT "HELLO WORLD" 20 END?
  • A: HELLO
  • B: HELLO WORLD
  • C: Syntax error
  • D: Blank screen
View Answer
B

Q23: Which of the following is the primary focus of the Cyber Society?
  • A: Selling products online
  • B: Developing programming tools
  • C: Creating social media
  • D: Managing communication systems
View Answer
A

Q24: Fill in the blank: Capers Jones's table shows that _______ languages yield 40 to 100 function points per staff month.
  • A: high-level
  • B: mid-level
  • C: assembly-level
  • D: low-level
View Answer
A

Q25: Fill in the blank: In Pascal, the command writeln('Hello World') is used to _______.
  • A: write "Hello World" on the console
  • B: define a function
  • C: end a program
  • D: initiate variables
View Answer
A

Q26: Which syntax represents a "Hello World" program written by a seasoned hacker?
  • A: % cc -o a.out ~/src/misc/hw/hw.c
  • B: 10 PRINT "HELLO WORLD"
  • C: #define S "Hello"
  • D: (defun hello...)
View Answer
A

Q27: Fill in the blank: In C, the function printf("Hello, World"); is used to _______.
  • A: allocate memory
  • B: display output on the console
  • C: include libraries
  • D: create functions
View Answer
B

Q28: What are the three main criteria for comparing programming languages?
  • A: Simplicity, Syntax, Cost
  • B: Readability, Writability, Reliability
  • C: Complexity, Efficiency, Speed
  • D: Execution, Optimization, Compilation
View Answer
B

Q29: Which factor is directly related to the cost of maintenance in programming languages?
  • A: Writability
  • B: Reliability
  • C: Readability
  • D: Cost
View Answer
C

Q30: What does "feature multiplicity" in a programming language cause?
  • A: Simplicity
  • B: Confusion
  • C: Abstraction
  • D: Consistency
View Answer
B

Test Your Knowledge

Take a timed quiz on Modern Programming Languages

🚀 Start Quiz Now