Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Lab 6 - Addresses | CS 160, Exercises of Computer Science

Logical Address vs Physical Address

Typology: Exercises

2016/2017

Available from 01/14/2022

hoang-vu-nguyen
hoang-vu-nguyen 🇺🇸

4 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Vu Nguyen
CS160
Lab 6
Lab 6
1. Different between logical address and physical address
Logical Address Physical Address
It is the virtual address generated by CPU The physical address is a location in a
memory unit.
Set of all logical addresses generated by CPU in
reference to a program is referred as Logical
Address Space.
Set of all physical addresses mapped to the
corresponding logical addresses is referred as
Physical Address.
The user can view the logical address of a
program.
The user can never view physical address of
program
The user uses the logical address to access the
physical address.
The user can not directly access physical
address.
The Logical Address is generated by the CPU Physical Address is Computed by MMU
2. a. 47368
b. 47898
c. 50432
pf3

Partial preview of the text

Download Lab 6 - Addresses | CS 160 and more Exercises Computer Science in PDF only on Docsity!

Vu Nguyen CS Lab 6 Lab 6

  1. Different between logical address and physical address Logical Address Physical Address It is the virtual address generated by CPU The physical address is a location in a memory unit. Set of all logical addresses generated by CPU in reference to a program is referred as Logical Address Space. Set of all physical addresses mapped to the corresponding logical addresses is referred as Physical Address. The user can view the logical address of a program. The user can never view physical address of program The user uses the logical address to access the physical address. The user can not directly access physical address. The Logical Address is generated by the CPU Physical Address is Computed by MMU
  2. a. 47368 b. 47898 c. 50432

Table: Page 0 1 2 3 Frame 7 3 5 2

  1. 2104
  2. 3276
  3. 5115
  4. Answe
  5. A file, in the computer world, is a self-contained piece of information available to the operating system and any number of individual programs.
  6. It can’t open that file because that is in text file
  7. A path is the complete location or name of where a computer file, web page, or other object is located. 10.Differences Absolute Path Relative Path An absolute or full path points to the same location in a file system, regardless of the current working directory A relative path is a way to specify the location of a directory relative to another directory