• 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 7 pages
Exam (elaborations)

CS 2301 - Study Guide with Complete Solutions.

Document preview thumbnail
Preview 2 out of 7 pages

CS 2301 - Study Guide with Complete Solutions.

Content preview

CS 2301 - Study Guide with Complete Solutions.
Linux reuses the written pages and synchronizes the file contents on the device with the latest
data when they are marked correct answers a.dirty

NUMA stands for correct answers b.Non-Uniform Memory Access

Memory compaction addresses memory fragmentation issues. correct answers a.True

The two types of swap memory include: correct answers c.Swap partitions and swap files

The OOM killer selects a processor to sacrifice for the sake of the overall system's health. correct
answers b.False

Cache Affinity means run process on correct answers a. Same CPU

True or False: There are usually two types of locality, temporal and spatial correct answers True

The term random-access memory or RAM means that: correct answers b. Memory is randomly
accessed

True or False: Address space can be shared or dedicated to users. correct answers True

True or False: Implementing paging support without care will lead to a faster machine. correct
answers False

True or False: calloc() allocates memory and also zeroes it before returning. correct answers
True

The address can be used by all of the following except: correct answers c. Registers

The data structure free list is used to track? correct answers c. Ranges of the physical memory
which is not currently in use

The fundamental difference between single-CPU hardware and multi-CPU hardware? correct
answers c. Caches

Consult the following figure; which page frame will be used first? correct answers c. Page frame
3

__________ is when each cache pays attention to memory updates by observing the bus that
connects
them to main memory. When a CPU then sees an update for a data item it holds in its cache, it
will notice
the change and either invalidate its copy or update it correct answers b. Bus Snooping

, True or False: Without a mechanism such as an address-space identifier, the TLB must be
flushed during a context switch correct answers False

Paging has advantages over segmentation to include which of the following: correct answers b.
Does not lead to external fragmentation

Which is not a common error? correct answers d. All are common errors

True or False: Cache coherency involves ensuring that multiple caches store the most updated
version of the stored data correct answers True

True or False: A translation-look aside buffer, or TLB is part of the chip's memory-management
unit (MMU). correct answers True

Assume the value of the base and limit registers are 1200 and 350 respectively. Which of the
following addresses is legal? correct answers b. 1200

True or False: A base register is used to transform physical addresses (generated by the program)
into virtual addresses. correct answers False

Internal fragmentation means: correct answers a. Space inside the allocated unit is not all used
but fragmented

Which of the following data structures is appropriate for placing into its own segment? correct
answers d. all of the above

True or False: Fragmentation does not occur in a paging system. correct answers False

True or False: A 32-bit logical address with 8 KB page size will have 1,000,000 entries in a
conventional page table? correct answers False

Which is not a goal of virtual memory (VM)? correct answers d. Isolation

At any given time, many pages of any process are in the main memory and therefore more
processes can be maintained in memory. correct answers False

In Java, garbage collection is the process of managing memory correct answers a.automatically

Placing free memory together into a large block is called correct answers c.Compaction

Virtual memory frees up ______ by swapping data that has not been used recently over to a
storage device, such as a hard drive or solid-state drive (SSD). correct answers d.RAM

A user can display the value of a variable using the 'printfileo' command. correct answers False

'cd' is a command in Linux/UNIX for correct answers c.Change of Directory

Document information

Uploaded on
June 16, 2026
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$11.39

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.
SirAnton
3.7
(118)
Sold
809
Followers
438
Items
40068
Last sold
1 day 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