What Every Programmer Should Know About Memory

This forum is aimed at students with little or no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems.
Forum rules
This forum aims to provide material related to computer programming languages, tools and designs.

Re: What Every Programmer Should Know About Memory

Unread postby Asif Mustafa Khan » Thu Apr 30, 2015 7:53 pm

What a programmer should know about memory
Memory
Computer memory have a permanent and temporary storage area. It contains the data which is needed by cpu.
Memory is like the kind of switches which is known as transistors. Switches are present in two states, on or off. In which on is used as "1" and off is used as "0".So the one of transistor can represent one of two digits.
Our computer memory is divided into several different types of memory, but the most important are known as "RAM AND ROM". but in which we discus about the RAM and ROM
ROM
ROM is known as read only memory and non volatile memory it is a class of storage medium used in computers and other electronic devices. Data stored in ROM can only be modified slowly.

RAM
RAM is known as Random access memory. In which we can access any memory cell directly if we know about the row and column.
RAM is used for reading or writing to file storage. Solid-state disks, in our android devices, people use as a hard drives in their computers are faster than normal computer hard drives, But using to cache the data we need a lot slower that using dedicated, solid-state RAM.
RAM is so much cheap. RAM is volatile, that is instructions and data holds in memory are lost once the computer is powered down.

TYPES OF ROM

1:EPROM
2:EEPROM

*EPROM
Erasable programmable read-only memory is programmable read-only memory that can be erased and re-used.

*EEPROM

Electrically Erasable Programmable Read-Only memory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed
Unlike bytes in most other kinds of non-volatile memory, individual bytes in a traditional EEPROM can be independently read, erased,
TYPES OF RAM:-
Their are two types of RAM,
* Static RAM and * Dynamic RAM.
Comparison of static RAM and dynamic RAM:-
* Dynamic RAM needs to be refreshed thousands of times per second but static RAM does not need to be refreshed.
*DRAM supports access times 60 nanoseconds and Static RAM supports access times 10 nanoseconds.
* Static RAM is faster, but its not as commonly used as DRAM because its so much more expensive.
* Static RAM and DRAM are both volatile, but they lost their contents when the power is turned off.
Asif Mustafa Khan
 
Posts: 1
Joined: Thu Apr 30, 2015 7:39 pm
Has thanked: 0 time
Been thanked: 0 time

what every programmer should know about memory

Unread postby ahmed sharif » Fri May 01, 2015 11:47 am

COMPUTER MEMORY:
The mmory of the computer is just like the brain of a humman which is use to store th data and the information A memory of the Computer is the storage space in computer where data is going to process and the instructions that are required for processing of the data are stored in the memory. The computer memory is divided into large number of small parts called cells. Each cell has a unique address .
TYPES OF MEMORY:
1) cache memory
2) primary memory/ main memory
3) secondary memory
CACHE MEMORY:
cache memory is very high sped up semiconductor memory which increase the sped of the CPU. it is used to start those type of data which is frequently used by the CPU many times.
PRIMARY MEMORY:
primary memory stores or used only those types of data which are currently used by the CPU.
SECONDARY MEMORY :
secondary memory is also called out put memory , it is slower then the primary or main memory , it is generally used to store data or the information permanently .
RAM (random excess memory)


RAM is the abbriviation of random axcess memory which is the internal memory of the CPU for storing data. It is also called read or write memory that stores data until the machine is going to doing tasks and when the machine is switched offthe whol data is erased.
RAM is also calld volatile because the data stored in it is lost when we switch off the computer or if there is a power failure so a backup uninterruptible power system(UPS) is often used with computers. RAM is small.
TYPES OF RAM:
1) static RAM
2) dynamic RAM

ROM ( read only memory)

ROM is the abbriviation of read only memory from which we can only read but cannot write on it. Th read only memory is non-volatile. In ROM the information is stored permanently. A ROM stores only those instructions that are required to start a computer. The ROM chips are very usefull because they are not only use with in the computer but also in other electronic items like washing machine and microwave oven e.t.c.
TYPES OF ROM :
1)MROM (Masked ROM)
2)PROM (Programmable Read only Memory)
3)EPROM(Erasable and Programmable Read Only Memory)
4)EEPROM(Electrically Erasable and Programmable Read Only Memory)
User avatar
ahmed sharif
 
Posts: 3
Joined: Sat Mar 28, 2015 9:18 pm
Has thanked: 0 time
Been thanked: 0 time

Re: What Every Programmer Should Know About Memory

Unread postby Ehtesham Saeed » Sat May 02, 2015 2:38 am

Name: Muhammad Ehtesham Saeed
CMS NO: 13773
Section: 2B

There are two main types of memory
1: RAM
2: ROM
RAM
It means (Random Access Memory).It is a volatile memory. That if electrical power become OFF. The store data into this device become removed.
There are also two types of RAM
1: DRAM
2: SRAM
DRAM
It means (Dynamic Random Access Memory).Its technology is old but it stored large number of data.it is made up of capacitors.it needs refreshing in large amount otherwise it lose the data.
SRAM
It means (Static Random Access Memory).it faster than DRAM but it store small amount of data.it is made up of flip-flops.it is one bit memory storage device. When two or more flip flops are combined together in this case the device made called register. In simple words the SRAM is made up of registers.
ROM
It means (Read only memory). It is non-volatile memory. We only read the data on it by using different display devices.
There are three types of ROM
1: PROM
2: EEPROM
3: UVEROM
PROM
It means (Programmable Read only memory). By using this user reprogram it only one time.
EEPROM
It means (Electrical Erasable Programmable Read only memory). The users reprogram this device for multiple times by applying electrical pulses.
UVEROM
It means (Ultra valet Erasable Programmable Read only memory). The users reprogram this device for multiple times by applying Ultra valet rays.
User avatar
Ehtesham Saeed
 
Posts: 2
Joined: Mon Apr 20, 2015 8:33 pm
Has thanked: 0 time
Been thanked: 0 time

What a programmer should know about memory?

Unread postby 13745 » Mon May 04, 2015 8:51 pm

Memory:
The computer memory is a temporary storage area. It holds the data and instructions that the Central Processing Unit (CPU) needs. Before a program can be run, the program is loaded from some storage medium into the memory. This allows the CPU direct access to the program. Memory is a need for any computer.
Types:-
Memory is primarily of three types.
a) Cache Memory
b) Primary Memory/Main Memory
c) Secondary Memory

Cache Memory:-
Cache memory is a very high speed semiconductor memory which can speed up CPU. It acts as a buffer between the CPU and main memory. It is used to hold those parts of data and program which are most frequently used by CPU.

Primary Memory:-
Primary memory holds only those data and instructions on which computer is currently working. It has limited capacity and data is lost when power is switched off.
It is divided into two subcategories:
1.RAM ( Random Access Memory )
2.ROM ( Read Only Memory )

RAM:
RAM memory is volatile in nature. The memory stored in the RAM is temporary and it will be lost when the power gets switched off.It is also called read/write memory because data can both be read and written in this memory.
It is further divided into two different types:
1.DRAM (Dynamic Random Access Memory)
2.SRAM (Static Random Access Memory).
DRAM: It holds data for short time period and will be refreshed periodically.
SRAM: It holds data and refreshing does not required. It is faster than DRAM.

ROM:
It is non volatile and the information stored in the ROM is permanent and will not be erased off during the power off.
It is further classified into three types:
1.PROM ( Programmable Read Only Memory )
2.EPROM ( Erasable Programmable Read Only Memory )
3.EEPROM ( Electrically Erasable Programmable Read Only Memory )
PROM: Programs or instructions written in PROM or ROM cannot be erased or changed.
EPROM: Data written in EPROM chip can be erased by using special devices and ultraviolet rays.
EEPROM: This kind of ROM can be written or changed with the help of electrical devices. So data stored can be easily modified.
Secondary Memory:-
Secondary memory is external and permanent in nature.It is concerned with magnetic memory.It can be stored on storage media like floppy disks, magnetic disks, magnetic tapes. This memory can also be stored optically on Optical disks & CD-ROM.
User avatar
13745
 
Posts: 3
Joined: Mon Mar 30, 2015 1:45 pm
Has thanked: 0 time
Been thanked: 0 time
Blog: View Blog (3)

Re: What Every Programmer Should Know About Memory

Unread postby fahad iqbal » Fri May 08, 2015 4:05 pm

What a programmer should know about memory
Memory:-
Computer memory is a permanently and temporary storage area. It contains the data which is needed by cpu.
Memory is like the kind of switches which is known as transistors. Switches are present in two states, on or off. In which on is used as "1" and off is used as "0".So the one of transistor can represent one of two digits.
Our computer memory is divided into several different types of memory, but the most important are known as "RAM AND ROM". but in which we discus about the RAM and ROM

RAM:-
RAM is known as Random access memory. In which we can access any memory cell directly if we know about the row and column.
RAM is used for reading or writing to file storage. Solid-state disks, in our android devices, people use as a hard drives in their computers are faster than normal computer hard drives, But using to cache the data we need a lot slower that using dedicated, solid-state RAM.
RAM is so much cheap.
RAM is volatile, that is instructions and data holds in memory are lost once the computer is powered down.

Their are two types of RAM, Static RAM and Dynamic RAM.
Comparison of static RAM and dynamic RAM:-
1- dynamic RAM needs to be refreshed thousands of times per second but static RAM does not need to be refreshed.
2- DRAM supports access times 60 nanoseconds and Static RAM supports access times 10 nanoseconds.
3- Static RAM is faster, but its not as commonly used as DRAM because its so much more expensive.
4- Static RAM and DRAM are both volatile, but they lost their contents when the power is turned off.
ROM
ROM is known as read only memory and non volatile memory it is a class of storage medium used in computers and other electronic devices. Data stored in ROM can only be modified slowly.

TYPES OF NON-VOLATILE MEMORY
1: EPROM
2: EEPROM

EPROM
Erasable programmable read-only memory is programmable read-only memory that can be erased and re-used.

EEPROM

Electrically Erasable Programmable Read-Only memory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed
Unlike bytes in most other kinds of non-volatile memory, individual bytes in a traditional EEPROM can be independently read, erased,
fahad iqbal
 
Posts: 3
Joined: Wed Apr 29, 2015 7:27 pm
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to Computer Sciences & Programming

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests

cron