Internal & External Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE) PDF Download

Internal or Main Memory 

  • The main memory is the central unit of the computer system. It is relatively large and fast memory to store programs and data during the computer operation. These memories employ semiconductor integrated circuits. The basic element of the semiconductor memory is the memory cell.
  • The memory cell has three functional terminals which carries the electrical signal.
    • The select terminal: It selects the cell.
    • The data in terminal: It is used to input data as 0 or 1 and data out or sense terminal is used for the output of the cell's state.
    • The control terminal: It controls the function i.e. it indicates read and write.

Internal & External Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

  • Most of the main memory in a general purpose computer is made up of RAM integrated circuits chips, but a portion of the memory may be constructed with ROM chips

Question for Internal & External Memory
Try yourself:
What are the three functional terminals of a memory cell in a computer's main memory?
View Solution

RAM– Random Access memory

  • Memory cells can be accessed for information transfer from any desired random location.
  • The process of locating a word in memory is the same and requires of locating a word in memory is the same and requires an equal amount of time no matter where the cells are located physically in memory thus named 'Random access'.
  • Integrated RAM are available in two possible operating modes, Static and Dynamic

Static RAM (SRAM) 

  • The static RAM consists of flip flop that stores binary information and this stored information remains valid as long as power is applied to the unit.

Internal & External Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

  • Four transistors T1, T2, T3 and t4 are cross connected in an arrangement that produces a stable logical state.
  • In logic state 1, point C1 is high and point C2 is low. In this state, T1 & T4 are off and T2 & T3 are on.
  • In logic state 0, point C1 is low and C2 is high. In this state, T1 & T4 are on and T2 & T3 are off.
  • The address line controls the two transistors T5 & T6. When a signal is applied to this line, the two transistors are switched on allowing for read and write operation.
  • For a write operation, the desired bit value is applied to line B while it's complement is applied to line B complement. This forces the four transistors T1, T2, T3 & T4 into a proper state.
  • For the read operation, the bit value is read from line B.

Dynamic RAM (DRAM)

  • The dynamic RAM stores the binary information in the form of electrical charges and capacitor is used for this purpose.
  • Since charge stored in capacitor discharges with time, capacitor must be periodically recharged and which is also called refreshing memory.

Internal & External Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

  • The address line is activated when the bit value from this cell is to be read or written.
  • The transistor acts as switch that is closed i.e. allowed current to flow, if voltage is applied to the address line; and opened i.e. no current to flow, if no voltage is present in the address line.

For DRAM writing

  • The address line is activated which causes the transistor to conduct.
  • The sense amplifier senses the content of the data bus line for this cell.
  • If the bus line is low, then amplifier will ground the bit line of cell and any charge in capacitor is addressed out.
  • If data bus is high, then a +5V is applied on bit line and voltage will flow through transistor and charge the capacitor.

For DRAM reading

  • Address line is activated which causes the transistor to conduct.
  • If there is charge stored in capacitor, then current will flow through transistor and raise the voltage in bit line. The amplifier will store the voltage and place a 1 on data out line.
  • If there is no charge stored in capacitor, then no current will flow through transistor and voltage bit line will not be raised. The amplifier senses that there is no charge and places a 0 on data out line.

Question for Internal & External Memory
Try yourself:
What is the difference between Static RAM (SRAM) and Dynamic RAM (DRAM)?
View Solution

SRAM versus DRAM

  • Both volatile
    • Power needed to preserve data
  • Static RAM
    • Uses flip flop to store information
    • Needs more space
    • Faster, digital device
    • Expensive, big in size
    • Don't require refreshing circuit
    • Used in cache memory
  • Dynamic RAM 
    • Uses capacitor to store information
    • More dense i.e. more cells can be accommodated per unit area
    • Slower, analog device 
    • Less expensive, small in size
    • Needs refreshing circuit
    • Used in main memory, larger memory units

ROM– Read Only memory

  • Read only memory (ROM) contains a permanent pattern of data that cannot be changed.
  • A ROM is non-volatile that is no power source is required to maintain the bit values in memory.
  • While it is possible to read a ROM, it is not possible to write new data into it.
  • The data or program is permanently presented in main memory and never be loaded from a secondary storage device with the advantage of ROM.
  • A ROM is created like any other integrated circuit chip, with the data actually wired into the chip as part of the fabrication process.
  • It presents two problems
    • The data insertion step includes a relatively large fixed cost, whether one or thousands of copies of a particular ROM are fabricated.
    • There is no room for error. If one bit is wrong, the whole batch of ROM must be thrown out.

Types of ROM

  • Programmable ROM (PROM) 
    • It is non-volatile and may be written into only once. The writing process is performed electrically and may be performed by a supplier or customer at a time later than the original chip fabrication.
  • Erasable Programmable ROM (EPROM) 
    • It is read and written electrically. However, before a write operation, all the storage cells must be erased to the same initial state by exposure of the packaged chip to ultraviolet radiation (UV ray). Erasure is performed by shining an intense ultraviolet light through a window that is designed into the memory chip. EPROM is optically managed and more expensive than PROM, but it has the advantage of the multiple update capability.
  • Electrically Erasable programmable ROM (EEPROM) 
    • This is a read mostly memory that can be written into at any time without erasing prior contents, only the byte or byte addresses are updated. The write operation takes considerably longer than the read operation, on the order of several hundred microseconds per byte. The EEPROM combines the advantage of non-volatility with the flexibility of being updatable in place, using ordinary bus control, addresses and data lines. EEPROM is more expensive than EPROM and also is less dense, supporting fewer bits per chip.
  • Flash Memory 
    • Flash memory is also the semiconductor memory and because of the speed with which it can be reprogrammed, it is termed as flash. It is interpreted between EPROM and EEPROM in both cost and functionality. Like EEPROM, flash memory uses an electrical erasing technology. An entire flash memory can be erased in one or a few seconds, which is much faster than EPROM. In addition, it is possible to erase just blocks of memory rather than an entire chip. However, flash memory doesn't provide byte level erasure, a section of memory cells are erased in an action or 'flash'.

Question for Internal & External Memory
Try yourself:Which type of memory requires a refreshing circuit?
View Solution

External Memory

  • The devices that provide backup storage are called external memory or auxiliary memory. It includes serial access type such as magnetic tapes and random access type such as magnetic disks.

Magnetic Tape 

  • A magnetic tape is the strip of plastic coated with a magnetic recording medium. Data can be recorded and read as a sequence of character through read / write head. It can be stopped, started to move forward or in reverse or can be rewound.Data on tapes are structured as number of parallel tracks running length wise. Earlier tape system typically used nine tracks. This made it possible to store data one byte at a time with additional parity bit as 9th track. The recording of data in this form is referred to as parallel recording.

Magnetic Disk

  • A magnetic disk is a circular plate constructed with metal or plastic coated with magnetic material often both side of disk are used and several disk stacked on one spindle which Read/write head available on each surface. All disks rotate together at high speed. Bits are stored in magnetize surface in spots along concentric circles called tracks. The tracks are commonly divided into sections called sectors. After the read/write head are positioned in specified track the system has to wait until the rotating disk reaches the specified sector under read/write head.Information transfer is very fast once the beginning of sector has been reached.Disk that are permanently attached to the unit assembly and cannot be used by occasional user are called hard disk drive with removal disk is called floppy disk.

Optical Disk 

  • The huge commercial success of CD enabled the development of low cost optical disk storage technology that has revolutionized computer data storage. The disk is form from resin such as polycarbonate. Digitally recorded information is imprinted as series of microscopic pits on the surface of poly carbonate. This is done with the finely focused high intensity leaser. The pitted surface is then coated with reflecting surface usually aluminum or gold. The shiny surface is protected against dust and scratches by the top coat of acrylic.
  • Information is retrieved from CD by low power laser. The intensity of reflected light of laser changes as it encounters a pit. Specifically if the laser beam falls on pit which has somewhat rough surface the light scatters and low intensity is reflected back to the surface. The areas between pits are called lands. A land is a smooth surface which reflects back at higher intensity. The change between pits and land is detected by photo sensor and converted into digital signal. The sensor tests the surface at regular interval.

DVD-Technology

  • Multi-layer
  • Very high capacity (4.7G per layer)
  • Full length movie on single disk
  • Using MPEG compression
  • Finally standardized (honest!)
  • Movies carry regional coding
  • Players only play correct region films

DVD-Writable

  • Loads of trouble with standards
  • First generation DVD drives may not read first generation DVD-W disks
  •  First generation DVD drives may not read CD-RW disks
The document Internal & External Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Computer Architecture & Organisation (CAO).
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
20 videos|86 docs|48 tests

Top Courses for Computer Science Engineering (CSE)

FAQs on Internal & External Memory - Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

1. What is the difference between internal and external memory in computer science engineering?
Ans. Internal memory, also known as primary memory or main memory, refers to the computer's built-in memory that is directly accessible to the processor. It is used to store data and instructions that the CPU needs to access quickly. On the other hand, external memory, also known as secondary memory, refers to additional storage devices such as hard drives, solid-state drives, and external storage devices. It is used for long-term storage of data and programs that are not currently in use.
2. How does internal memory differ from external memory in terms of speed and capacity?
Ans. Internal memory is much faster than external memory in terms of data access and retrieval. This is because internal memory is directly connected to the processor, allowing for quick data exchange. External memory, on the other hand, has slower access times as it is connected through buses or interfaces. In terms of capacity, internal memory is usually smaller compared to external memory. Internal memory is designed to hold the data and instructions that the CPU is currently working on, while external memory provides larger storage capacity for long-term storage needs.
3. What are some examples of internal memory in a computer system?
Ans. Examples of internal memory in a computer system include Random Access Memory (RAM) and cache memory. RAM is a type of volatile memory that stores data and instructions that are actively being used by the CPU. It allows for quick data access and retrieval. Cache memory, on the other hand, is a smaller and faster memory that stores frequently accessed data and instructions to reduce the time taken to access information from the main memory.
4. Can external memory be used as a substitute for internal memory in a computer system?
Ans. No, external memory cannot be used as a substitute for internal memory in a computer system. Internal memory is specifically designed to provide fast and temporary storage for data and instructions that the CPU needs to access quickly. External memory, on the other hand, is slower and primarily used for long-term storage. While it is possible to transfer data between internal and external memory, the speed and efficiency of the system would be severely impacted if external memory were to replace internal memory.
5. What are the advantages of using both internal and external memory in a computer system?
Ans. Using both internal and external memory in a computer system offers several advantages. Internal memory provides fast access to data and instructions, allowing for efficient processing by the CPU. It facilitates quick execution of programs and improves overall system performance. External memory, on the other hand, offers larger storage capacity for long-term storage needs. It enables users to store and access a vast amount of data, including documents, multimedia files, and software programs. By utilizing both internal and external memory, computer systems can achieve a balance between speed and storage capacity, ensuring optimal performance and data management.
20 videos|86 docs|48 tests
Download as PDF
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Semester Notes

,

Free

,

Internal & External Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

Viva Questions

,

video lectures

,

pdf

,

study material

,

Previous Year Questions with Solutions

,

Sample Paper

,

Extra Questions

,

Internal & External Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

Objective type Questions

,

Internal & External Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

practice quizzes

,

Important questions

,

mock tests for examination

,

MCQs

,

Exam

,

past year papers

,

ppt

,

shortcuts and tricks

,

Summary

;