Libraries, Linkers & Loaders (OCR A-Level Computer Science): Quizzes
📚Quizzes
Practise the questions
12 questions from this quiz
ShowHide
Practise the questions
12 questions from this quiz
What is a library in software development?
What is a library in software development?
A collection of precompiled code
What happens to executable file size when static libraries are used?
What happens to executable file size when static libraries are used?
The executable file becomes larger
What is a key advantage of dynamic libraries over static libraries?
What is a key advantage of dynamic libraries over static libraries?
Multiple programs can share the library
Which benefit explains why library code reduces bugs?
Which benefit explains why library code reduces bugs?
Reliability - library code is tested
What problem occurs if a required dynamic library is missing?
What problem occurs if a required dynamic library is missing?
The program may fail to run
What is a linker's primary role?
What is a linker's primary role?
Combines code from various files
When does dynamic linking actually occur?
When does dynamic linking actually occur?
When the program is run
What does a linker search for in code during compilation?
What does a linker search for in code during compilation?
Symbols like functions and variables
What happens if the linker cannot find a required symbol?
What happens if the linker cannot find a required symbol?
It generates an error
What is a loader?
What is a loader?
Part of OS that loads programs into RAM
What does the loader do for programs with dynamically linked libraries?
What does the loader do for programs with dynamically linked libraries?
Finds & links libraries at runtime
What is the benefit of dynamic loading?
What is the benefit of dynamic loading?
Saves memory by loading when needed
