Free Programming Basics MCQs with Answers

53 Programming Basics MCQs from Computer Science and IT, each with the correct answer and a written explanation of why it is correct. Free and unlimited, with no account needed.

53 questions · page 6 of 6

51. Who invented the high level language "C"?

  • A. Dennis M. Ritchie
  • B. Niklaus Writh
  • C. Seymour Papert
  • D. Donald Kunth

Explanation: Dennis M. Ritchie created the C programming language at Bell Labs in the early 1970s. Niklaus Wirth is associated with Pascal, not C.

Correct answer: Dennis M. Ritchie

52. Which programming languages are classified as low level languages?

  • A. BASIC, COBOL, Fortran
  • B. Prolog
  • C. C, C++
  • D. Assembly languages

Explanation: Assembly language is a low-level language closely tied to a processor's instruction set and registers. BASIC, COBOL, Fortran and Prolog are generally classified as high-level languages, while C and C++ are commonly treated as high-level or middle-level languages.

Correct answer: Assembly languages

53. The first computers were programmed using___________?

  • A. Assembly language
  • B. Machine language
  • C. Source code
  • D. Object code

Explanation: The earliest computers were programmed in machine language, using binary instructions directly understood by the processor. Assembly language came later as a more readable symbolic representation of machine instructions.

Correct answer: Machine language