Selected MCQ

Current Question
Machine language is ____.
  • A. Difficult to learn and error-prone
  • B. Easy to understand
  • C. Based on high-level languages
  • D. All of these
Correct Answer: A
Explanation:
Machine language is difficult to write and error-prone.
Related Question 1
A computer program that translates one program instruction at a time into machine language is called a/an ____.
  • A. Interpreter
  • B. CPU
  • C. Compiler
  • D. Simulator
Correct Answer: A
Explanation:
An interpreter translates and executes code line by line.
Related Question 2
A computer program that converts an entire program into machine language is called a/an ____.
  • A. Interpreter
  • B. Simulator
  • C. Compiler
  • D. Commander
Correct Answer: C
Explanation:
A compiler translates the entire high-level code into machine language at once.
Related Question 3
A computer program that translates one program instruction (one line by line) at a time into machine language is called ____.
  • A. COBOL
  • B. PROLOG
  • C. FORTRAN
  • D. None of these
Correct Answer: B
Explanation:
PROLOG is a logic programming language used in AI.
Related Question 4
By programmable machine we mean ____.
  • A. Computers
  • B. Modern television
  • C. Washing machines
  • D. Anything that can be set to perform different tasks with suitable programs
Correct Answer: A
Explanation:
Computers are programmable machines that can perform different tasks based on software instructions.
Related Question 5
A(n) ____ language reflects the way people think mathematically.
  • A. Cross-platform programming
  • B. 3GL business programming
  • C. Event-driven programming
  • D. Functional
Correct Answer: D
Explanation:
Functional programming languages (e.g., Haskell) model mathematical functions.