0% found this document useful (0 votes)
45 views14 pages

Computer For 1year

A block diagram shows the structure and flow of data and processes in a computer system. It provides a quick overview of the working process from inputting data, processing it using different units like the arithmetic logic unit and memory, and outputting the desired results. The main components in a computer system are the input unit, central processing unit (CPU), memory, and output unit. The CPU acts as the brain and controls all the activities and operations of the computer.

Uploaded by

ROCHAK TIWARI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views14 pages

Computer For 1year

A block diagram shows the structure and flow of data and processes in a computer system. It provides a quick overview of the working process from inputting data, processing it using different units like the arithmetic logic unit and memory, and outputting the desired results. The main components in a computer system are the input unit, central processing unit (CPU), memory, and output unit. The CPU acts as the brain and controls all the activities and operations of the computer.

Uploaded by

ROCHAK TIWARI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Unit -1

a FxplainBlock diogsom Compute9


AnS
A block diagam oF
compudes displays a
aStouctuxa Mepse Senotion oF a campue
Systenm.Theblock diagsam qiveS you aa
quickOvesyieuo
ick oF he wosking psocess oF
a
Computes From inpoting thedata -

o Sietmeving the desixed 9esot3

Contr) Unit-

INP UT Avithmeio C,
Iogic unit DUTPOT
Main
MemoTY

AyxilliasY
Soae

Block Diaqsam oF
Corhrol FoLD Compe9l.
Data Flou.

RRRRRERRHETTE
Roll No.. Scholar No...

Comptex syStemiS aCombinodian0 baee.


ComponentS
Input Uni
CPo(Cent xal Psocessing unit) .

OUtput uni

InputUnit
InputUnit Consists oF ineot devices
Sueh a s
mouse, Keyboasd, Scannesjoystick, etc
Ahese_devicescee OSed to input /nEosm oion ox
instrction i n t o H e camputexSyStem LiKe
O t h e xetecsonic
macbinesCsm putes takes input.
as a o dato binasy data) so.cess i+ and gxes
OUtPut heKe Fose the npot unit i +he medium.
OE eomoUnicaian
that +akes data From us do
the Computes in.on oxaanized maones Fo
Psocessing

heinputOniE pes FosmSthe olouin Moos


Functions
> The input unit Conves+S t h e
inputhed data o s
instuctions ito binas ogm FasFostneT
Psoce Ssina
Tneut Oni tranSmita the dota to the main
memos 0EtheCompter,
RON INNO......********"
.Scholar No.... ****

CP:0 Centsal pxocessing unit).


C p i nawn as ne braio ot thae
Comp Uter_SuStemit1a an elecis.oniddeice
thaPocesSolthe opesations asidHmetic
and \oaical o E h e Compuess

Contaol unit AS_the oame.


SuagesS, *ne conso)
unitOE a CPO canrolsoll the.
actisiti eg Ondopexaions EAhe CompteY

A'LD Asithmeti.ck l0gic uni


The dota
neottesthrough inpu devicesSSStoxed iq
Ahe Psimaxy- Sroaoe ont-

.puti he otput unit


Consis+ oF derices
that o i e . osed to diselay the Tesults oT
D
Utp 0tt Psscesssing

DFFeKentiade betudeen.

PoimoT me mos Secondosy memoS4


iià a tenm posasy mem,
i a a pesmanent memo
i t i disecHy accesSiable itià aot disectly
acesible.iby cif..
P-simary memosy ii non Nolodile
Vglatile -in atue in atuae.
am
TRNarTH
Roll No... Scholar No..

ReM oM

Random Acess (eadonly memaxy-


memos y-
it slotile 1áOon vslatile
Highesin speed owes Speed
Data Can be eased it Can Oot be modiied
mad ied only m e a d .

-
SystemSoEhoase Applicotim SoFtwas e

Thia act as oaninterEace> Thia ia desiaed


betoeen ihe System- dinectHy o m tme
and De applicatiomS OSes Perseective
i 4ne p1gt Fosm -These ore sndependcn4
hatallouws the Vanious APplicahans ohich can-
applicati.onSaftuoaxe fa e daonload and instolled
o n on he System, in the Sustem

Hiab esel long LoD evel \anauage


it ia psoas
ammex t i a machine
Hiendly anguage. Friendly anguaae
Aiiahlerelanauage i taD lexe langu.aae ia
less m e m o s y t t e n igny memos y Cicient
it
easq+oOnderstaat
i t i taugh o onderstand
i á Simple to_debod i+A taun foOebu
aruuAwwsstss**erz:iSVhTuavKEGANtEYEIspURATAs
TRINITYY
lnsitule Of tcnolgy&ea
Roll No....********** ...Scholar No.. **************|

4 DeineOperadilnaSysterm explain-
Fonction
Opexaina System Os) is on intex Eace beoeen
a Campute Useas and Computes e0sduaxe
An OpesaingSyStem aaSaEtuoaxe udbich
PesEaxmsalthe bosictasks ike Ale
management- memo5y monaaement pxocess
manaaement hondling input and outpot
and Cosollina pesiphesoa devices Sucb 0S
diskdrires a n d pxinte¥S
Some populas 0pesoting System inclode
linus pesatinqSs+em, uindouS operotno,
YMS os/ho0 Ax z(os, e
MS
FoncHons oF 0pesatin y S e m i :
Mem os manaqement

ProceSST Aano ement


DeiceMonagement
Ele Aanaqement

Eite Seeuri-
Canrol etes aveK SyStem_pes Easmance
o b accountnaá
ixra _detec moaiss
Coosdinaion betuweenothes SoEware
and 0se SS-
Roll No.. Scholar No.

shatdayou mean by BS explain


Busype
-And A busiS a hiah- Spee d intesnal Connecian
uSe cue osed+0 Send CoaalSianalS
a n d d a t a betuoeen +he pxoce Ssos a n d

Dthe CsmponentS A buso r jnS+once


canuesdata tnsougn he motnesosasd
betueen a cPo and n e S S t e m memos

he texm entompasSeS au the Compsnen*


related ta hardus0xe wixe, opical, Hbe
a n d S o t w o t e inclodins Communicadton.
Pxotacol
A boS i a a asupof lines/ wire hichb
Caasiay Comp.otesSiana s-
ypes
System bus-thib / he bss thatConnects
t h e C P o to the mothebsasd' m a i n mema
h e S S t e m buS i alao Lmwn a s a ront

-Side 6sS a menoiy_bJs,a Local bos,


O a b o s t _ buS-

A numbexOE a Boses I(o) an.


inpotlovtpu aconym ConpRctiao vanjaus
peripheal d e v i c e s to the cPo h e S e
devices Connect t s the SySem bas thsoyab
o n m e chpest ot
bridaeimplemented
C
the PxocessosS
TRINITY Roll No.. .Scholar No... s *******

::S wnite
wbat doyou m e a n b y
itg Eunciion$ Omd odvortaaes
J
A Dotobase anage.ment
ystem TDBMS -
î'na.
not
iS de fined as theSsFtuoae Sus+em
alLaDS USex to de Fine, C x e a t e maintaiy aad
Conal acce.ss a the database. DbMS makes 1t
paSsi ble Fa end OSes taCreate Sead updote
And delete data in database i h a laues
ons data. .
betuoeenP xogom

unctionS
Concursentaccess. a ne Same
oncuSTenc
osevS
to S a m e d a t a b o s e bymutiple
Hme He
SecositySules to sdetexmine acces&
Secur-
Secuxity
SiahtA oF USe&_
b a c P data seguloxy
Sacl<up and SiecoNeKy
Cnd secove d a t a i a psoble no ocCUsS
database S s u c s e a n d ules imso*
nte axihyi
data,
the inte arity oFHe

vantoaes
USesS
P Getter Secice tothebe
developed.
Oatamodel most
andmatoining SStem 1 lowe
o F develaping
P Cost 8 mprored.
Heibility oF h e Sustem
c o n be
a n d i n c o n SiStencies
Redond ande&
Seduced
and. Security.
CansiStency
PLE D Data
Roil No... Scholar No...

DiFfeKentiote betuoeen AlgosiHhim and


FloD chostt

Alaosidnim. Hlouochasrti

psocedoreo Set oE ophical SaepreSetation sF


ules +hat defines ba1Ane Steps a pxogsom +akes.
Pogsamis to be rocesS data
exected.
DiFcolt to Cxeote itiàeas to slesian uses Fiend
DiFEicut t o debua eas ta debig me_exass,
Pxede Fined ules ase No uleS ase Used
Used.

Hasd to display- Siomple to disphy


bxanching amd laopinq- bsanening and laoping
o a n ialgosithm, i n hia he Salutianja
h e Salotsn 1S pses ented pxesented in_a gxophical.
in noo-Computes lan. Eomat
FlaD h a t to Find ushethes a numbes i8
pime aLnot-

S+ax4

/Read n.

Li-2

ni

i=i+1 F

Print No . 14
Psint No i2 : / not Prim e

(StoP
Roll O........ ....Scholar No... **"

u h a d do uo.o m e a by oops..
Ana: O0PS objec-OTiented psoasami
Computespsaasamminamode thodt osaon)zes
SoFtoodie- desian souad dara, 0s abject
a t h e s than Functi.an and logicAn ohiec>
Can be deined asa data Feld that
hos Uni ue Attiputes. and behavisr,

OoPS a c u s e s on h e object h a t de selapexs


Oant a manipulate Slathex than thea g i
Sexed + manipulate them TmisapprocD.
to Psoaxonmmina iS oe Suited Eos psoaa m

that elosiae Camplekand chvity


Updatedoaz main OJne d +hisinclode S
manoactoxiagane desian
a s weil oS mobileapplicotin8, Fo
examplel Oop can be OSeEo OsosFoctuxna
yStem Simulated SoFuOoie

3 plaio DFFerentiate be'tuween

while docwohilc,
Cotndidion is checked 3tatement S erecute

Bist then Statement. atleastonce then Condiioy

i eecuted, is checlsed,
NoSemicolon othe. >Semicalon the end 0
hile
Cnd of hiNe.
while toop ig.enty dawhileiS <xit Contsaled
Contsoled toop ooP
ILISREEikWNKKNhumse
Roll No.. *****************
...Scholar No.. ********

Poutt Switcb,
The main sbect - while
hile the
maiodbicHre
TouESiK nCannect oF Switch i s o Cannec!
fasiausnetwark Vasu oUS d evices
SimulHoneaUSly-

BreaK Cantinve.
ThisStatementets it doesn let a OSer
a
oses exit Fram an makean exit ram an
Ovesall loop Conshuct OesalL oo fP consuct
The bsealsStateame ne ContinDe Statement
Cawses alo.op a a dosei Cause alas
Switchto tesminate q tesmicate but leadei
Casgot the vesy mam iatottS nekitezalia
it executiorn- o d Ca notUSe aa
one Can asilM se Canti S t a tement utHm

he bxeak Slatement wh Ane. Swtch Satemen


The Ssitch Statement.
C0ntinue -

Cau by e Fere
enc e
Calt by vawe

nthia e vaxiable _tSe


in hia a Copy Fvasjable
i Passed. Passed.

hongesin A l o w s Y outo mak e


make.any vaueg oF
chane es In t h e
theactud vadable. Functioy
Vau ables by osin9
Call s.
o
espin
Explain lospina
Rnd t h e
SsuckuseSoitn
tactosial o
0ipsagsamyg
any_numbes
An a-Camputespxoasammina,'a loop is a Seauence
oE inShuctions hat i e peat ed until o
Cetain Conditisni S1eached..

includeLiosteam.b>
lnclude LCornio h
void main -

int x
onA dauble FactDial : 1.0,
Cout i Entex ony Positive integes
cin 2 x;-

iFCxLo)
Covt" Essos, Factosiod Con not be
1
negative "
ese
Fos (inti1; xt1)
Fact osiad i, }
Cowt ZLFactosicu O Ln{
L Factosia

Eorot
3.
TRINITY &Research, Bhopal .Scholar No...
tGldothd Roll No... ***

DeFlnee unction waite i+sS advantage


APxosamm Osina ncion-
tnndthe longest D o Dumbex,
Ons:| A Funcdion iS a p oF StatementsHhat

Aecd ed_uhenevet_the Eunc tion


SCalled to pesEosm a Specijie desiAnated
ac k
A Function is bosicalyg
black oF SHtement
hat pessmsa paiculob AasE

Advantoaes-
tAeducesAhe Cmplexity o F Psmm

Ond_9yeg a modulat SiSucu 1e

OSe oE Function
S enbances the Seadability
oEaPo93am A bi Code is Jauuaus
dNCult ta Siead Seakina He _Code i8
Smalex Funcons Keeps-he PSoasam
Ox9oniZed e a S t o n d e s s o n d e n dmak e
it eDSoble

A Funcion Con be uSed t o CSeate ouT


Ouon heades l e which Can be vSed
Oumbes oEPsoas am.
in ony-
udsite9psoqsam nd theLogest
uwo Dumbess

*indude Linsream.b>
inclode L conio.h
Naid main

Cout L" Entes onyHAo ombers\n.


cin> x>Y
iF (Ay)
Cot x i " i a gseates than y j3
elsei (Y7x_
Cout4 y L A i s qscotes than 4 xi_

else
Cout L" Both aie eqa"

etch O , -

You might also like