• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

COS2621 Final Exam Notes

Document preview thumbnail
Preview 2 out of 5 pages

COS2621 Final Exam Notes Write notes on memory management: • Main memory is divided into two parts, one part for OS and one part for the program currently being executed. • In a multiprogramming system, the user part of memory is subdivided to accommodate multiple processes. • The task of subdivision is carried out dynamically by the OS and is known as memory management • Effective memory management is vital. • Memory needs to be allocated efficiently to pack as many processes into memory as possible. Explain the term ‘gate’ in a digital logic circuit: • A gate is a device that implements a simple Boolean or logical function such as if A and B are true then C is true. They control data flow Explain 2 ways to make computerised multiplication more efficient: • 1. Performing a running addition on the partial products rather than waiting till the end • 2. Save time on generation of partial products using add and shift Four reasons peripheral devices aren’t connected directly to the system bus: • Wide variety of peripherals with various methods of operation, and impractical to concorporate the necessary logic within the processor to control a range of devices • Data transfer rate is often slower than memory or processor, thus impractical to use a high-speed bus • Data transfer rate is sometimes faster, and mismatch would lead to inefficiencies • Peripherals often use different data formats and word lengths than the computer to which they are attached Five sequences of hardware events occurring when I/O device completes I/O operation: 1. The device issues an interrupt signal to the processor 2. The processor finishes execution of the current instruction before responding to the interrupt 3. The processor tests for an interrupt, determines that there is one then sends an acknowledgement signal to the device that issued the interrupt allowing the device to remove the Interrupt signal. 4. The processor prepares to transfer control to the interrupt routine. It saves necessary info (the status if the processor - contained in PSW register, the location of the next instruction contained in the counter) 5. The processor loads the program counter with the entry location of the interrupt handler program that will respond to this interrupt. What Shortcomings of ASCII led to development of Unicode: • Unicode was invented to supersede ASCII, As ASCII could only support a limited number of characters, (2^7 due to them being 7-bit), and did not support multiple languages past English. • Unicode supports substantially more characters, and supports a much wider variety of languages. 3 methods used to increase processor speed: • Increase the hardware speed of the processor. This is fundamentally due to shrinking the size of the logic gates on the processor chip, so more gates can be packed together more tightly allowing an increase in clock rate. • Increase size and speed of caches interposed between the processor and main memory. Dedicating a portion of the processor chip itself to the cache, cache access times drop significantly • Make changes to processor organisation and architecture that increase the effective speed of instruction execution. This typically involves the use of parallelism in one f

Content preview

COS2621 Final Exam Notes

, lOMoARcPSD|15424936




Write notes on memory management: Five sequences of hardware events occurring when I/O device completes I/O
operation:
• Main memory is divided into two parts, one part for OS and one part
for the program currently being executed. 1. The device issues an interrupt signal to the processor
• In a multiprogramming system, the user part of memory is subdivided 2. The processor finishes execution of the current instruction before
to accommodate multiple processes. responding to the interrupt
• The task of subdivision is carried out dynamically by the OS and is 3. The processor tests for an interrupt, determines that there is one then
known as memory management sends an acknowledgement signal to the device that issued the
• Effective memory management is vital. interrupt allowing the device to remove the Interrupt signal.
• Memory needs to be allocated efficiently to pack as many processes 4. The processor prepares to transfer control to the interrupt routine. It
into memory as possible. saves necessary info (the status if the processor - contained in PSW
register, the location of the next instruction contained in the counter)
5. The processor loads the program counter with the entry location of
Explain the term ‘gate’ in a digital logic circuit: the interrupt handler program that will respond to this interrupt.

• A gate is a device that implements a simple Boolean or logical function
such as if A and B are true then C is true. They control data flow What Shortcomings of ASCII led to development of Unicode:

• Unicode was invented to supersede ASCII, As ASCII could only support
Explain 2 ways to make computerised multiplication more efficient: a limited number of characters, (2^7 due to them being 7-bit), and did
not support multiple languages past English.
• 1. Performing a running addition on the partial products rather than • Unicode supports substantially more characters, and supports a much
waiting till the end wider variety of languages.
• 2. Save time on generation of partial products using add and shift
3 methods used to increase processor speed:

• Increase the hardware speed of the processor. This is fundamentally
Four reasons peripheral devices aren’t connected directly to the system bus: due to shrinking the size of the logic gates on the processor chip, so
more gates can be packed together more tightly allowing an increase
• Wide variety of peripherals with various methods of operation, and
in clock rate.
impractical to concorporate the necessary logic within the processor
• Increase size and speed of caches interposed between the processor
to control a range of devices
and main memory. Dedicating a portion of the processor chip itself to
• Data transfer rate is often slower than memory or processor, thus
the cache, cache access times drop significantly
impractical to use a high-speed bus
• Make changes to processor organisation and architecture that
• Data transfer rate is sometimes faster, and mismatch would lead to
increase the effective speed of instruction execution. This typically
inefficiencies
involves the use of parallelism in one form or another.
• Peripherals often use different data formats and word lengths than
the computer to which they are attached


Downloaded by kelvin githinji ()

Document information

Uploaded on
October 15, 2022
Number of pages
5
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers
$3.50

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

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
lectdenis
3.7
(301)
Sold
2094
Followers
1592
Items
6935
Last sold
2 weeks ago



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