Physical Addresses Computer Science YouTube Lecture Handouts

Dr. Manishika Jain- Join online Paper 1 intensive course. Includes tests and expected questions.

Physical Addresses

Complete notes and preparation module at

doorsteptutor. com

Topics:

1. Operating System

2. Memory Management

3. Logical Address

4. Physical Address

5. Comparison between logical address & physical address

Operating System

  • An operating system is a program that manages the computer hardware.
  • It also provides a basis for application programs.
  • It also acts as an intermediary between a user of a computer and the computer hardware.
  • CPU scheduling is the basis of multi-programmed operating systems.

Functions of Operating System

Functions of Operating System

Memory Management

  • By memory management, we can improve both the utilization of the CPU and the speed of the computer՚s response to its users.
  • Memory consists of a large array of words or bytes, each with its own address.
  • The CPU fetches instructions from memory according to the value of the program counter.
  • Instruction may cause loading from & storing to specific memory addresses.
  • Address uniquely identifies a location in the memory.
  • There are two types of addresses that are logical address and physical address.
Memory Management

Logical Address

  • Address of something generated by the central processing unit while a program is running is referred to as a Logical Address.
  • The address is also referred to as a virtual address and can be viewed by the user.
  • The logical address is used like a reference, to access the physical address.

Physical Address

  • Refers to either a memory location, identified in the form of a binary number, or media access control (MAC) address.
  • A physical address is also known as a binary address or a real address.
  • In networking, physical address refers to a computer՚s MAC address, which is a unique identifier associated with a network adapter that is used for identifying a computer in a network.
  • The user can՚t view the physical address directly.
  • Physical addresses usually range R + Zero (R + 0) to R + maximum (R + max) for a base or relocation register value ‘R’ .
Physical Address

Difference between Logical Address & Physical Address

Difference between Logical Address & Physical Address
Basic of ComparisonLogical AddressPhysical Address
BasicIt is the virtual address generated by CPUThe physical address is a location in a memory unit.
VisibilityViewableNot viewable
Address SpaceLogical address spacePhysical address space
AccessThe user uses the logical address to access the physical address.The user can not directly access physical address.
GenerationThe Logical Address is generated by the CPUPhysical Address is Computed by MMU

MCQs

Q1. What do you understand by Logical Addressing?

Options:

1. Address on RAM (Random Access Memory)

2. Virtual address generated by CPU

3. Virtual address generated by System

4. None of the above

Answer: 2

Q2. What is the acronym for TLB?

Options:

1. Translation Look-aside Buffer

2. Translation Look Buffer

3. Translation Location Buffer

4. Translation Look-aside Buffering

Answer: 1

Charters:

0: 00 Physical Adresses

0: 41 Operating System

1: 53 Fonctions of Operating System

3: 34 Memory Management

6: 25 Logical Adressa

7: 00 Physical Adressa

10: 13 Difference between Logical Address & Physical Address

11: 20 MCQ of Physical & Logical Addressing

Developed by: