
26. OCR A Level (H446) SLR5 – 1.2 Linkers, loaders and libraries

Quiz
•
Computers
•
11th Grade
•
Easy

James Cole
Used 2+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Arduino Basics

Quiz
•
9th - 12th Grade
20 questions
Loops

Quiz
•
1st - 12th Grade
15 questions
Grade 12-Python selection&iteration

Quiz
•
11th - 12th Grade
20 questions
2.5 Programming IDEs and Translators

Quiz
•
9th - 11th Grade
15 questions
AP CSP Unit 4

Quiz
•
10th - 12th Grade
20 questions
Python Recap

Quiz
•
7th Grade - University
16 questions
2.1.2 Thinking ahead

Quiz
•
11th Grade
16 questions
GameMaker

Quiz
•
10th - 11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade