CSC246 Test 3 Short Answer

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/10

encourage image

There's no tags or description

Looks like no tags are added yet.

11 Terms

1
New cards

Paged memory eliminates one type of memory fragmentation. Which type does it eliminate?

External Fragmentation

2
New cards

Explain the difference between external fragmentation and internal fragmentation.

External fragmentation is unused memory that is not allocated to a process, and internal fragmentation is unused memory that is allocated to a process.

3
New cards

What is the purpose of the Translation Look-aside Buffer (TLB)?

It speeds up translation time in paged memory systems. It maps page numbers to frame numbers.

4
New cards

The Translation Look-aside Buffer (TLB) maps a page number to a frame number, which is the same thing that a Page Table does. Why is the TLB advantageous over a Page Table?

The TLB is cache memory instead of main memory so it’s faster to access, and it bypasses any hierarchy on page tables.

5
New cards

What is the Translation Look-aside Buffer (TLB) Hit Ratio?

It is the ratio of TLB hits to TLB misses.

6
New cards

What is a process’ working set?

It is the sets of pages a process is actively in the moment.

7
New cards

Fill in the blank (1 or more words per blank).

Address translation maps ____ to ____.

Address translation maps logical addresses to physical addresses.

8
New cards

Fill in the blank (1 or more words per blank).

The Translation Look-aside Buffer (TLB) maps ____ to _____.

The Translation Look-aside Buffer (TLB) maps page number to frame number.

9
New cards

Describe the difference in design philosophy between a CPU and a GPU.

A CPU has fewer processing elements, but each one can act independently. A GPU has more processing elements, but they must all do the same thing.

10
New cards

Transmission Control Protocol (TCP) is considered a reliable protocol, but User Datagram Protocol (UDP) is considered best-effort. Why are they different in that way?

When a host receives a message via TCP, it sends back an acknowledgment message so that the sender knows the message was received. With UDP, no acknowledgment message is sent back so there is no way to know if the message was received.

11
New cards

An IP address is used to route data to a specific machine on a network. What is the primary purpose of a port number?

A port number identifies a specific application or process running on that machine. It allows multiple applications (like a web browser and an email client) to send and receive network traffic simultaneously without mixing up their data.