Fundamental of computers by Neeraj Bhandari ( Surkhet.Nepal )
-
Upload
neeraj-bhandari -
Category
Technology
-
view
317 -
download
0
Transcript of Fundamental of computers by Neeraj Bhandari ( Surkhet.Nepal )
Fundamentals of Computer Applications
Shaveta
Assistant Professor
CSE
SHARDA University
Defining Computers
Defining Computers 3
The Computer Defined Electronic device Converts data into information Modern computers are digital
Two digits combine to make data (0, 1)
Shaveta
Defining Computers 4
The Computer Defined Older computers were analog
A range of values made data
Shaveta
Defining Computers 5
The Computer Defined Older computers were analog
A more manageable type -- the old-fashioned slide rule
Shaveta
Defining Computers 6
Basic Organization of ComputerShaveta
Defining Computers 7
CPU It is a core component of the computer. It executes
user’s instructions and processes calculations. Like the chief commander of the army, the CPU
controls and coordinates various devices in the computer system.
Without the CPU, the devices cannot work together and so the computer cannot function.
It is often a etched on a chip and is usually called a microprocessor.
Shaveta
Defining Computers 8
Basic units of CPUIt has basically to main units CU(Control Unit) ALU(Arithmetic and Logic Unit)
Control unit
Control unit
Arithmetic and logic
unit
Arithmetic and logic
unitSome
registersSome
registers
Shaveta
Defining Computers 9
Control Unit
The control unit executes the instructions, sends control signals to and receive control signals from peripheral devices.
The control unit executes the instructions, sends control signals to and receive control signals from peripheral devices.
In other words, it controls the whole computer, and directs the entire system to carry out instructions.
In other words, it controls the whole computer, and directs the entire system to carry out instructions.
Shaveta
Defining Computers 10
Arithmetic and Logic Unit
Arithmetic and Logic Unit
Arithmetic and Logic Unit
Arithmetic unitArithmetic unit
Logic unitLogic unit
handles arithmetic calculations
performs logical calculations and makes judgement like “if A > B is true”.
Shaveta
Defining Computers 11
Registers When the control unit and the arithmetic and logic
unit operate, they store the information and instruction temporarily in registers.
Shaveta
Defining Computers 12
Program Executions
The diagram shows how the CPU executes an instruction:
The diagram shows how the CPU executes an instruction:
Main memory
Fetch
Arithmetic and logic unit
Control unit
ExecuteDecode
This is called machine cycle.
This is called machine cycle.
Shaveta
Before a computer executes instructions, they are first placed in the main memory.
Before a computer executes instructions, they are first placed in the main memory.
Defining Computers 13
Fetching
Fetching
Program Executions
The control unit gets the next program instruction from the main memory.
The control unit gets the next program instruction from the main memory.
Decoding
Decoding
The control unit decodes what the instruction means.
The control unit decodes what the instruction means.
Shaveta
Defining Computers 14
Executing
Executing
Program Executions
The ALU executes arithmetic and logical instructions. It means that the ALU controls and performs the actual operation on the data.
The ALU executes arithmetic and logical instructions. It means that the ALU controls and performs the actual operation on the data.
Shaveta
Classification of Computers
Defining Computers
Computers for Individual Use
Computers can
be shared by
multiple users
but can be used
by only one
person at a time.
1A-16
Shaveta
Defining Computers
Computers for Individual Use Although PCs are used by individuals,
they also can be connected together to create networks.
1A-17
Shaveta
Defining Computers
Computers for Individual Use Desktop computers
The most common type of computerSits on the desk or floorPerforms a variety of tasks
1A-18
Shaveta
Defining Computers
Computers for Individual Use Desktop computers
Different design types
1A-19
Shaveta
Defining Computers
Computers for Individual Use Workstations
Specialized computersOptimized for science or graphicsMore powerful than a desktop
1A-20
Shaveta
Defining Computers
Computers for Individual Use Notebook computers
Small portable computersWeighs between 3 and 8 pounds
1A-21
Shaveta
Defining Computers
Computers for Individual Use Notebook computers
About 8 ½ by 11 inchesTypically as powerful as a desktop
1A-22
Shaveta
Defining Computers 23
Computers for Individual Use
Tablet computersNewest
development in portable computers
Input is through a pen
Run specialized versions of office products
Shaveta
Defining Computers
Computers for Individual Use Handheld computers, palm computer
Very small computersPersonal Digital Assistants (PDA)Note taking or contact managementData can synchronize with a desktop
1A-24
Shaveta
Defining Computers
Computers for Individual Use
Smart phonesHybrid of cell
phone and PDA
Web surfing, E-mail access
1A-25
Shaveta
Defining Computers
Computers for Organizations Network servers
Centralized computerAll other computers connect
1A-26
Shaveta
Defining Computers
Computers for Organizations Network servers
Flexibility to different kinds of tasks
1A-27
Computers for OrganizationsComputers for Organizations
Shaveta
Defining Computers
Computers for Organizations Network servers
Users use the Internet as a means of connecting even if away from the offices.
1A-28
Shaveta
Computers for Organizations
MainframesUsed in large organizationsHandle thousands of usersUsers access through a terminal
1A-29
Shaveta
Defining Computers
Computers for Organizations Mainframes
Large and powerful systems
1A-30
Shaveta
Defining Computers
Computers for Organizations Minicomputers
Called midrange computersPower between mainframe and desktopHandle hundreds of usersUsed in smaller organizationsUsers access through a terminal
1A-31
Shaveta
Computers for Organizations
SupercomputersThe most powerful
computers madeHandle large and
complex calculations
Process trillions of operations per second
Found in research organizations
1A-32
Shaveta
Defining Computers
Computers in Society More impact than any other invention
Changed work and leisure activitiesUsed by all demographic groups
Computers are important because:Provide information to usersInformation is critical to our societyManaging information is difficult
1A-33
Shaveta
Defining Computers
Computers in Society Impact of computers
Like the Impact of automobile
1A-34
Shaveta
Defining Computers
Computers in Society
The benefits of using computersAs varied as users
1A-35
Shaveta
Defining Computers
Computers in Society Computers at home
Many homes have multiple computersComputers are used for Communication
1A-36
Shaveta
Defining Computers
Computers in Society Computers at home
Computers are used forBusinessEntertainmentSchoolworkFinances
1A-37
Shaveta
Defining Computers
Computers in Society Computers in education
Computer literacy required at all levels
1A-38
Shaveta
Defining Computers
Computers in Society Computers in small business
Makes businesses more profitableAllows owners to manage
1A-39
Shaveta
Defining Computers
Computers in Society Computers in
industryComputers are used to design productsAssembly lines are automated
1A-40
Shaveta
Defining Computers
Computers in Society Computers in government
Necessary to track data for populationPolice officersTax calculation and collection
Governments were the first computer users
1A-41
Shaveta
Defining Computers
Computers in Society Computers in health care
Revolutionized health careNew treatments possibleScheduling of patients has improvedDelivery of medicine is safer
1A-42
Shaveta
Defining Computers 43
Memory Memory refers to the physical devices used to store programs
(sequences of instructions) or data (e.g. program state information) on a temporary or permanent basis for use in a computer or other digital electronic device.
Primary memory is used for the information in physical systems which are fast (i.e. RAM), as a distinction from Secondary memory, which are physical devices for program and data storage which are slow to access but offer higher memory capacity. Primary memory stored on secondary memory is called "virtual memory".
Shaveta
Defining Computers 44
The term "storage" is often (but not always) used in separate computers of traditional secondary memory such as tape, magnetic disks and optical discs (CD-ROM and DVD-ROM). The term "memory" is often (but not always) associated with addressable semiconductor memory, i.e. integrated circuits consisting of silicon-based transistors, used for example as primary memory but also other purposes in computers and other digital electronic devices.
There are two main types of semiconductor memory: volatile and non-volatile. Examples of non-volatile memory are flash memory (sometimes used as secondary, sometimes primary computer memory) and ROM/PROM/EPROM/EEPROM memory (used for firmware such as boot programs). Examples of volatile memory are primary memory (typically dynamic RAM, DRAM), and fast CPU cache memory (typically static RAM, SRAM, which is fast but energy-consuming and offer lower memory capacity per area unit than DRAM) .
Shaveta
Defining Computers 45
Classification of MemoryMemory
Volatile Non-Volatile
computer memory that requires power to maintain the stored information.
computer memory that can retain the stored information even when not powered.
•RAM•DRAM (e.g., DDR SDRAM)•SRAM•Cache
•ROM•PROM•EPROM•EEPROM•Flash memory
Shaveta
Defining Computers 46
Full Form Type FunctionRAM Read and Write
MemoryVolatile RAM is a form of data storage that can be
accessed randomly at any time, in any order and from any physical location.
DRAM Dynamic RAM Volatile that stores each bit of data in a separate capacitor within an integrated circuit.
SRAM Static RAM Volatile Each bit in an SRAM is stored on four transistors (M1, M2, M3, M4) that form two cross-coupled inverters
CACHE Volatile Cache is a kind of RAM which a computer system can access more responsively than it can in regular RAM.
ROM Read only Memory Non-Volatile Read-only memory or ROM is also a form of data storage that can not be easily altered or reprogrammed.
PROM Programmable read-only memory
Non-Volatile is a form of digital memory where the setting of each bit is locked by a fuse or antifuse.
EPROM Erasable programmable rea
d only memory
Non-Volatile is a type of memory chip that retains its data when its power supply is switched off
FLASH Non-Volatile which is intended to contribute to portable storage and a convenient transfer of data from one computer to another.