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

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

11th Grade

15 Qs

quiz-placeholder

Similar activities

[AP CSP] FOR & WHILE LOOPS

[AP CSP] FOR & WHILE LOOPS

9th Grade - University

20 Qs

5.1 Operating Systems Cambridge iAS 9618

5.1 Operating Systems Cambridge iAS 9618

11th Grade

20 Qs

Pearson 1CP2 - 3.2 - Robust Software

Pearson 1CP2 - 3.2 - Robust Software

9th - 12th Grade

15 Qs

2.5 Translators & Facilities - OCR GCSE Computer Science

2.5 Translators & Facilities - OCR GCSE Computer Science

7th - 12th Grade

13 Qs

GCSE Computing Low & High Level Languages/IDE's

GCSE Computing Low & High Level Languages/IDE's

10th - 11th Grade

14 Qs

Python Basics - yr 9

Python Basics - yr 9

9th - 12th Grade

18 Qs

CodeHS Unit 1

CodeHS Unit 1

9th - 12th Grade

12 Qs

Web Development

Web Development

7th Grade - University

20 Qs

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

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

Assessment

Quiz

Computers

11th Grade

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?