logo

AQA A-Level Computer Science practice

What is the main purpose of a software library?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Hardware and software

Exam-style question

Try this first

What is the main purpose of a software library?.

  1. A.To provide reusable code that programs can use for common tasks
  2. B.To replace the operating system when a computer starts
  3. C.To translate assembly language into machine code
  4. D.To remove all utility programs from a computer

Answer and explanation

Concise answer

To provide reusable code that programs can use for common tasks

Why this is correct

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.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions