
26. OCR A Level (H446) SLR5 – 1.2 Linkers, loaders and libraries
Authored by James Cole
Computers
11th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are libraries in the context of programming?
Online forums where programmers share their problems
Ready compiled and tested programs that can be run when needed
Physical locations where code is stored
Groups of people who write code
Answer explanation
Libraries in programming refer to ready compiled and tested programs that can be run when needed, providing pre-written code for specific functionalities.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an example of a built-in library in Python?
Music playing library
Internet browsing library
Maths library
Windows Dynamic Link Libraries
Answer explanation
The Maths library is an example of a built-in library in Python that provides mathematical functions and operations.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do Windows Dynamic Link Libraries (DLLs) provide?
Subroutines for many common tasks on the Windows operating system
A set of common solutions for number-related problems
A platform for developing Windows applications
Security features for Windows
Answer explanation
Windows Dynamic Link Libraries (DLLs) provide subroutines for many common tasks on the Windows operating system, making them the correct choice.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one of the benefits of using libraries?
They are pre-tested and free from errors
They increase the size of the executable file
They require extensive testing before use
They are difficult to integrate into your own program
Answer explanation
Using libraries provides the benefit of being pre-tested and free from errors, saving time and effort in development.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a drawback of using library routines?
They are always open source
Adding additional functionality can be difficult
They are not pre-compiled
They make programs run slower
Answer explanation
The drawback of using library routines is that adding additional functionality can be difficult, as libraries may not always support the specific features or modifications needed.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of a linker in programming?
It compresses the executable file
It encrypts the source code
It puts the appropriate machine addresses in all the external call and return instructions
It designs the user interface of the program
Answer explanation
The linker puts the appropriate machine addresses in all the external call and return instructions, allowing the program to correctly reference external functions.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is static linking?
Linking that occurs at runtime
Including all required code from the libraries directly in the finished machine code
Storing compiled versions of libraries on the cloud
A method to reduce the size of the executable file
Answer explanation
Static linking involves including all required code from the libraries directly in the finished machine code, reducing dependencies on external libraries.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?