Академический Документы
Профессиональный Документы
Культура Документы
&
PROGRAMMING IN C (CST-105)
Topics to be covered
Defination of Computer
Characterstics of Computer
Block Diagram of Computer
Peripheral Devices
Computer ! "# "$%"#&e$ e'e&tro#& $e%&e t("t t")e! t(e r"* $"t" "! #put
+rom t(e u!er "#$ pro&e!! t(e!e $"t" u#$er t(e &o#tro' o+ !et o+ #!tru&to#!
(&"''e$ pro,r"m) "#$ ,%e! t(e re!u't (output) "#$ !"%e! t(e output +or t(e
+urt(er u!e-.
/"t"0
Data is a collection of raw facts and figures.
Eg: population survey (Number of people, age group, income level and so on.)
Data forms the basis for any analysis.
I#+orm"to#0
rocessed data in a definite form and shape, becomes useful and acts as a basic for
decision ma!ing process.
Eg: (above data ) "ountry#s economy position, educational standards, male$female
ratio etc.
%nformation is re&uired for ma!ing effective decisions as well as driving an
organi'ation towards success.
Computer
3
"omputer is an electronic device that can perform a variety of operations in accordance with a
set of instructions called program.
(he term )computer is derived from the term )compute#, this means to calculate.
%t can process both numerical and non*numerical (arithmetic and logical) calculations.
Computer
(Data Processor)
DATA INPUT
OUTPUT INFORMATION
F,0 A Computer &o#%ert! $"t" #to #+orm"to#.
Computer
(Data Processor)
DATA INPUT
OUTPUT INFORMATION
F,0 A Computer &o#%ert! $"t" #to #+orm"to#.
7
C("r"&ter!t&! o+ Computer!
+utomatic
.ersatility
No %/
No feeling
7
Block diagram
and
working of computer system
#
I$putt%$&
"tor%$&
Process%$&
Outputt%$&
Co$tro''%$&
Basic Operations
(
10
Block Diagram
I$put
U$%t
Output
U$%t
"eco$)ar*
"tora&e
Pr%mar*
"tora&e
Co$t
A+U
Co$tro'
U$%t
CPU
"tora&e
U$%t
Prm"r1 Compo#e#t! O+ A Computer
%nput devices.
1emory.
2utput devices.
,torage devices.
11
, (his is the process of entering data and programs in to the computer system.
, %t ta!es as inputs raw data and performs some processing, giving out processed
data.
, (herefore, the input unit ta!es data from us to the computer in an organi'ed
manner for processing.
, +s "omputer accepts the input in binary codes, unit called Input Interface
performs this tas!.
6or faster access and processing, data is first stored in the storage unit.
(he ne3t component of computer is the "ontrol 0nit, which acts li!e the supervisor
seeing that things are done in proper fashion.
"ontrol 0nit is responsible for coordinating various operations using time signal. %t
determines the se&uence in which computer programs and instructions are e3ecuted.
(hings li!e processing of programs stored in the main memory, interpretation of the
instructions and issuing of signals for other units of the computer to e3ecute them.
+fter you enter data through the input device it is stored in the primary storage unit.
(he actual processing of the data and instruction are performed by +rithmetic
:ogical 0nit.
+fter processing the output is returned bac! to storage unit for further processing or
getting stored.
Art(met& 3o,&"' U#t (A3U)
16
2utput can also be also stored inside the computer for further
processing.
;<
Output U#t
17
%t e3pands the host=s capabilities, but does not form part of the core computer
architecture. %t is often, but not always, partially or completely dependent on the
host.
4eyboard
1ouse
>oystic!
,canner
:ight en
(ouch ,creen
rinter
:"D
lotter
Output /e%&e!
!0
rimary 1emory
,ecoundary 1emory
Stor",e /e%&e!
!1
--
Education
?usiness
@overnment
Defense
,cientific 7esearch