Exam-style question
Try this first
What is the main purpose of a software library?.
- A.To provide reusable code that programs can use for common tasks
- B.To replace the operating system when a computer starts
- C.To translate assembly language into machine code
- D.To remove all utility programs from a computer
Model answer
What a good answer should say
- To provide reusable code that programs can use for common tasks
Explanation
Why this works
A library is a collection of pre-written, reusable code. Programs can use library routines instead of requiring the programmer to write every common operation from scratch.
Common mistake
No common mistake is linked to this question yet.
