Sunday, December 28, 2014

Computer - Memory


A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed and instructions required for processing are stored. The memory is divided into large number of small parts called cells. Each location or cell has a unique address which varies from zero to memory size minus one. For example if computer has 64k words, then this memory unit has 64 * 1024=65536 memory locations. The address of these locations varies from 0 to 65535.
Memory is primarily of three types
  • Cache Memory
  • Primary Memory/Main Memory
  • 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. The parts of data and programs are transferred from disk to cache memory by operating system, from where CPU can access them.

Advantages

The advantages of cache memory are as follows:
  • Cache memory is faster than main memory.
  • It consumes less access time as compared to main memory.
  • It stores the program that can be executed within a short period of time.
  • It stores data for temporary use.

Disadvantages

The disadvantages of cache memory are as follows:
  • Cache memory has limited capacity.
  • It is very expensive.
Cache Memory

Primary Memory (Main 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 generally made up of semiconductor device. These memories are not as fast as registers. The data and instruction required to be processed reside in main memory. It is divided into two subcategories RAM and ROM.

Characteristics of Main Memory

  • These are semiconductor memories
  • It is known as main memory.
  • Usually volatile memory.
  • Data is lost in case power is switched off.
  • It is working memory of the computer.
  • Faster than secondary memories.
  • A computer cannot run without primary memory.
Primary Memory

Secondary Memory

This type of memory is also known as external memory or non-volatile. It is slower than main memory. These are used for storing data/Information permanently. CPU directly does not access these memories instead they are accessed via input-output routines. Contents of secondary memories are first transferred to main memory, and then CPU can access it. For example : disk, CD-ROM, DVD etc.

Characteristic of Secondary Memory

  • These are magnetic and optical memories
  • It is known as backup memory.
  • It is non-volatile memory.
  • Data is permanently stored even if power is switched off.
  • It is used for storage of data in a computer.
  • Computer may run without secondary memory.
  • Slower than primary memories.
Secondar Memory

What is data?

Data can be defined as a representation of facts, concepts or instructions in a formalized manner which should be suitable for communication, interpretation, or processing by human or electronic machine.
Data is represented with the help of characters like alphabets (A-Z,a-z), digits (0-9) or special characters(+,-,/,*,<,>,= etc.).
Raw Computer Data

What is Information?

Information is organised or classified data which has some meaningful values for the receiver.
Information is the processed data on which decisions and actions are based.
For the decision to be meaningful, the processed data must qualify for the following characteristics:
  • Timely - Information should be available when required.
  • Accuracy - Information should be accurate.
  • Completeness - Information should be complete.
Computer Information

Data Processing Cycle

Data processing is the re-structuring or re-ordering of data by people or machine to increase their usefulness and add values for particular purpose. Data processing consists of basic steps input, processing and output. These three steps constitute the data processing cycle.
Computer Data
  • Input - In this step the input data is prepared in some convenient form for processing. The form will depend on the processing machine. For example, when electronic computers are used, the input data could be recorded on any one of several types of input medium, such as magnetic disks, tapes and so on.
  • Processing - In this step input data is changed to produce data in a more useful form. For example, pay-checks may be calculated from the time cards, or a summary of sales for the month may be calculated from the sales orders.
  • Output - Here the result of the proceeding processing step are collected. The particular form of the output data depends on the use of the data. For example, output data may be pay-checks for employees.
Computer Data Processing

What is a Computer Network?

A computer network is a system in which multiple computers are connected to each other to share information and resources.
Computer Networks

Characteristics of a computer network

  • Share Resources from one computer to another
  • Create files and store them in one computer, access those files from the other computer(s) connected over the network
  • Connect a printer, scanner, or a fax machine to one computer within the network and let other computers of the network use the machines available over network.
Following is the list of hardware's required to setup a computer network.
  • Network Cables
  • Distributors
  • Routers
  • Internal Network Cards
  • External Network Cards

Network Cables

Network cables are used to connect computers. The most commonly used cable is Category 5 cable RJ-45.
Network Cables

Distributors

A computer can be connected to another one via a serial port but if we need to connect many computers to produce a network, this serial connection will not work. The solution is to use a central body to which other computers, printers, scanners etc. can be connected and then this body will manage or distribute network traffic.
Network Distributors

Router

A router is a type of device which acts as the central point among computers and other devices that are part of a network. A router is equipped with holes called ports and computers and other devices are connected to a router using network cables. Now-a-days router comes in wireless modes using which computers can be connected without any physical cable.
Network Router

Network Card

Network card is a necessary component of a computer without which a computer cannot be connected over a network. It is also known as network adapter or Network Interface Card (NIC). Most branded computers have network card pre-installed. Network cards are of two types : Internal and External Network Cards.

INTERNAL NETWORK CARDS

Motherboard has a slot for internal network card where it is to be inserted. Internal network cards are of two types in which first type uses Peripheral Component Interconnect (PCI) connection while the second type uses Industry Standard Architecture (ISA). Network cables are required to provide network access.
Network Card

EXTERNAL NETWORK CARDS

External network cards come in two flavours : Wireless and USB based. Wireless network card need to be inserted into the motherboard but no network cable is required to connect to network
External Network Card
Universal Serial Bus (USB)
USB card are easy to use and connect via USB port. Computers automatically detect USB card and can install the drivers required to support the USB network card automatically.
Data Card

Computer - Operating System


Advertisements


It is a program with following features:
  • An operating system is a program that acts as an interface between the software and the computer hardware.
  • It is an integrated set of specialised programs that are used to manage overall resources and operations of the computer.
  • It is specialised software that controls and monitors the execution of all other programs that reside in the computer, including application programs and other system software.

Objectives of Operating System

  • To make a computer system convenient to use in an efficient manner
  • To hide the details of the hardware resources from the users
  • To provide users a convenient interface to use the computer system
  • To act as an intermediary between the hardware and its users and making it easier for the users to access and use other resources
  • To manage the resources of a computer system
  • To keep track of who is using which resource, granting resource requests, according for resource using and mediating conflicting requests from different programs and users
  • To provide efficient and fair sharing of resources among users and programs
Operating System

Characteristics of Operating System

  • Memory Management -- keeps tracks of primary memory i.e. what part of it is in use by whom, what part is not in use etc. and allocates the memory when a process or program requests it.
  • Processor Management -- allocates the processor(CPU) to a process and deallocates processor when it is no longer required.
  • Device Management -- keeps track of all devices. This is also called I/O controller that decides which process gets the device, when, and for how much time.
  • File Management -- allocates and de-allocates the resources and decides who gets the resources.
  • Security -- prevents unauthorized access to programs and data by means of passwords and similar other techniques.
  • Job accounting -- keeps track of time and resources used by various jobs and/or users.
  • Control over system performance -- records delays between request for a service and from the system.
  • Interaction with the operators -- The interaction may take place via the console of the computer in the form of instructions. Operating System acknowledges the same, does the corresponding action and informs the operation by a display screen.
  • Error-detecting aids -- Production of dumps, traces, error messages and other debugging and error-detecting methods.
  • Coordination between other software and users -- Coordination and assignment of compilers, interpreters, assemblers and other software to the various users of the computer systems.

Internet

It is a worldwide system which has the following characteristics:
  • Internet is a world-wide / global system of interconnected computer networks.
  • Internet uses the standard Internet Protocol (TCP/IP)
  • Every computer in internet is identified by a unique IP address.
  • IP Address is a unique set of numbers (such as 110.22.33.114) which identifies a computer’s location.
  • A special computer DNS (Domain Name Server) is used to give name to the IP Address so that user can locate a computer by a name.
  • For example, a DNS server will resolve a name http://www.tutorialspoint.com to a particular IP address to uniquely identify the computer on which this website is hosted.
  • Internet is accessible to every user all over the world.
Internet

Intranet

  • Intranet is system in which multiple PCs are connected to each other.
  • PCs in intranet are not available to the world outside the intranet.
  • Usually each company or organization has their own Intranet network and members/employees of that company can access the computers in their intranet.
  • Each computer in Intranet is also identified by an IP Address which is unique among the computers in that Intranet.
Intranet

Similarities in Internet and Intranet

  • Intranet uses the internet protocols such as TCP/IP and FTP.
  • Intranet sites are accessible via web browser in similar way as websites in internet. But only members of Intranet network can access intranet hosted sites.
  • In Intranet, own instant messengers can be used as similar to yahoo messenger/ gtalk over the internet.

Differences in Internet and Intranet

  • Internet is general to PCs all over the world whereas Intranet is specific to few PCs.
  • Internet has wider access and provides a better access to websites to large population whereas Intranet is restricted.
  • Internet is not as safe as Intranet as Intranet can be safely privatized as per the need.

2 comments:

  1. I am really glad I have found this information. Today bloggers publish just about gossip and net stuff and this is actually annoying. A good web site with exciting content, {that is} what I need. Thank you for making this site, and I will be visiting again. Do you do newsletters? I Cant find it.
    nilgai

    ReplyDelete