Skip to content
GK24
Computer AwarenessMedium

Which of the following translates an entire high-level language program into machine code at one time?

  1. A.Interpreter
  2. B.Assembler
  3. C.Loader
  4. D.Compiler

Correct answer

D. Compiler

Explanation

The correct answer is D, compiler. A compiler reads the whole source program written in a high-level language, converts it into machine code in one pass of work and reports all the errors it finds together, after which the compiled program runs quickly without the translator being present. Option A is wrong because an interpreter translates and executes one statement at a time, stopping at the first error, which makes it slower to run but easier to debug. Option B is wrong because an assembler translates assembly language, a low-level language, into machine code, not a high-level language. Option C is wrong because a loader does no translation at all; it places an already translated program into main memory so that the processor can run it. All four are counted as system software.

Read the full article: Types of Software: Utility, Open Source and Freeware

View all
Q4.Computer AwarenessMedium

Software distributed free for a limited trial period, after which the user must pay to continue using it, is known as:

  1. A.Freeware
  2. B.Public domain software
  3. C.Shareware
  4. D.Open source software
Show answer
Correct answer: C. Shareware

Shareware follows the try before you buy model: the publisher lets anyone download and use the program for a trial period, or in a version with some features locked, and asks for payment or registration if the user wants to go on.

Q5.Computer AwarenessEasy

The Linux kernel was developed by:

  1. A.Richard Stallman
  2. B.Dennis Ritchie
  3. C.Linus Torvalds
  4. D.Bill Gates
Show answer
Correct answer: C. Linus Torvalds

Linus Torvalds, then a student in Finland, wrote the Linux kernel in 1991 and released it under the GNU General Public License, which is why Linux is the standard example of open source software in question papers.