Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Computer Science Comprehensive Questions And Verified Answers A+

Rating
-
Sold
-
Pages
14
Grade
A+
Uploaded on
20-04-2026
Written in
2025/2026

1. what is a linker?: software that links external modules and libraries included within the code.It puts appropriate memory addresses in place so that the program can call and return fromalibraryfunction.2. describe static linking.: module/library code is copied directly into finished machine code. increases the size of the file. 3. describe dynamic linking.: compiled versions of the required libraries are stored on the host computer the operating system links the required code from the library as the program is running. 4. what is a loader?: the loader is the part of the operating system that loads the executable program file (machine code) into memory, ready to be run. 5. a game uses a 2D graphics library. Explain why a linker would need to be used after compilation.: the user running the program will not necessarily have the library installed on their machine, therefore the relevant code needs to be included within the final executablecode.It is the job

Show more Read less
Institution
Graduation In Computer Science
Course
Graduation in computer science

Content preview

Computer Science Comprehensive Questions
And Verified Answers A+
1. what is a linker?: software that links external modules and libraries included within the code.
It puts appropriate memory addresses in place so that the program can call and return from a library function.
2. describe static linking.: module/library code is copied directly into finished machine code.
increases the size of the file.
3. describe dynamic linking.: compiled versions of the required libraries are stored on the host computer
the operating system links the required code from the library as the program is running.
4. what is a loader?: the loader is the part of the operating system that loads the executable program file
(machine code) into memory, ready to be run.
5. a game uses a 2D graphics library. Explain why a linker would need to be
used after compilation.: the user running the program will not necessarily have the library installed on
their machine, therefore the relevant code needs to be included within the final executable code.
It is the job of the linker to compare this code.
6. A software development team is writing a word game. The team is using RAD.
The software team uses a pre-built library to create a Graphic User Interface.
Give two advantages to the software team of using a library.: - saves time/money as it
is prewritten
- pre-tested (likely to work)
- draws on expertise of other programmers
- can have been written in a ditterent language
7. Explain the process of compilation including how code from the library be-
comes part of the finished program, justifying why each stage is necessary.
[9]: Source code is input into a computer program . The first stage is lexical analysis in which:
-white spaces and comments are removed.
- variable and statements are tokenized .
- The tokens are stored in a symbol table.
the code is then passed on to the syntax analysis :
-The code is checked to ensure it follows the rules of its language
- when it breaks the rules of the language , errors are generated
-If no rules are broken, it is passed on to the code generation


, The object code is created and translated into machine code to be executed.
The code is then optimized by removing redundant code and unreadable code.
The main program source code will have contained lines importing the library code.

Written for

Institution
Graduation in computer science
Course
Graduation in computer science

Document information

Uploaded on
April 20, 2026
Number of pages
14
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$12.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
Mubia

Get to know the seller

Seller avatar
Mubia liberty
View profile
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
3 months
Number of followers
0
Documents
60
Last sold
1 month ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions