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 3 of 6

21. Which of the following is a popular programming language for developing multimedia webpages ________ ?

  • A. BASIC
  • B. Assembler
  • C. Java
  • D. COBOL

Explanation: Java was widely used for interactive and multimedia content on web pages, especially through Java applets in earlier web development. BASIC, assembler and COBOL were not intended for this role.

Correct answer: Java

22. Who has been called the world's first Lady computer programmer?

  • A. Ada Lovelace
  • B. Allegra Byron
  • C. Lady Augusta
  • D. Allegra Noel-Byron

Explanation: Ada Lovelace is widely regarded as the first computer programmer because she wrote an algorithm for Charles Babbage's Analytical Engine. The other names are alternate or incorrect forms associated with her full name.

Correct answer: Ada Lovelace

23. Who invented Java programming language ?

  • A. Deniss Ritche
  • B. Linus Torvalds
  • C. James Gosling
  • D. Bajarnae

Explanation: James Gosling led the team that developed Java at Sun Microsystems, earning him the title commonly associated with Java's invention. Dennis Ritchie created C, while Linus Torvalds created Linux.

Correct answer: James Gosling

24. PHP stands for ___________?

  • A. Processor Hypertext Program
  • B. Hypertext Preprocessor
  • C. Pre Hypertext Processor
  • D. Pre Processor Hypertext

Explanation: PHP is commonly expanded as Hypertext Preprocessor, a recursive name for a server-side scripting language. It was historically associated with “Personal Home Page,” but that option is not provided.

Correct answer: Hypertext Preprocessor

25. FORTRAN stands for ________?

  • A. Formula transistor
  • B. Formula translation
  • C. Formula train network
  • D. Formula translation network

Explanation: FORTRAN comes from “Formula Translation,” reflecting its original design for scientific and mathematical computation. The other choices add words that are not part of the name.

Correct answer: Formula translation

26. COBOL stands for __________?

  • A. Common Book Oriented Language
  • B. Common Basic Oriented Language
  • C. Common Boot Oriented Language
  • D. Common Business Oriented Language

Explanation: COBOL means Common Business-Oriented Language, a programming language designed mainly for business data processing. “Business” is the distinguishing word among the choices.

Correct answer: Common Business Oriented Language

27. ASP stands for

  • A. Active Start Pages
  • B. Action Start Pages
  • C. Active Server Pages
  • D. Active Standalone Pages

Explanation: ASP means Active Server Pages, a Microsoft server-side scripting technology used to generate dynamic web pages. “Server” identifies that the code is processed on the web server.

Correct answer: Active Server Pages

28. What is an interpreter?

  • A. An interpreter does the conversion line by line as the program is run.
  • B. An interpreter is the representation of the system being designed.
  • C. An interpreter is a general purpose language providing very efficient execution.
  • D. None of these

Explanation: An interpreter translates and executes source code step by step while the program runs, rather than producing a complete machine-code program beforehand. This line-by-line execution commonly makes interpreted programs easier to test but slower than compiled ones.

Correct answer: An interpreter does the conversion line by line as the program is run.

29. Which of the following is machine independence program?

  • A. High level language
  • B. Low level language
  • C. Assembly language
  • D. Machine language

Explanation: High-level languages are generally machine independent because the same source program can be compiled or interpreted for different systems. Assembly and machine languages depend closely on a particular processor architecture.

Correct answer: High level language

30. Which is another name for functional language?

  • A. Machine
  • B. Application language
  • C. Low-level language
  • D. High-level language

Explanation: Functional languages are also called applicative languages because programs compute by applying functions to values. High-level language is a broader category, while machine and low-level languages refer to closer-to-hardware programming.

Correct answer: Application language