Which of the following translates an entire high-level language program into machine code at one time?
- A.Interpreter
- B.Assembler
- C.Loader
- D.Compiler
Correct answer
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
Practice Questions
View allSoftware that controls the hardware of a computer and provides a platform on which other programs run is called:
- A.Utility software
- B.Firmware
- C.System software
- D.Application software
Show answer
System software manages the machine itself and gives other programs a place to work: it includes the operating system, device drivers, the language translators and the utility programs.
Read the full explanation →Which of the following is an example of utility software?
- A.MS PowerPoint
- B.Disk defragmenter
- C.Oracle
- D.Linux
Show answer
A defragmenter is a classic utility: it rearranges the scattered pieces of files on a disk so that the drive can read them in fewer movements, which is housekeeping work rather than work the user set out to do.
Read the full explanation →Software that is distributed free of cost but whose source code is not made available to users is called:
- A.Open source software
- B.Shareware
- C.Public domain software
- D.Freeware
Show answer
Freeware costs the user nothing, but the licence allows only use: the source code stays with the owner, so the program cannot be studied, modified or redistributed in a changed form.
Read the full explanation →Software distributed free for a limited trial period, after which the user must pay to continue using it, is known as:
- A.Freeware
- B.Public domain software
- C.Shareware
- D.Open source software
Show answer
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.
Read the full explanation →The Linux kernel was developed by:
- A.Richard Stallman
- B.Dennis Ritchie
- C.Linus Torvalds
- D.Bill Gates
Show answer
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.
Read the full explanation →