Adobe Scan 04-Feb-2024
Adobe Scan 04-Feb-2024
the coMoNents
wle)
Ila) List
function ((aock diagram, a
it6
syston Exfain
(omAutor) ComPutcr,'.
Cock dliararm a
sstcm is an at0angaent
.A opmptea:
Cofremts they are
o thec
) Thut device
Psotesing unit (cu)
) centay device
3) out At:
) ZnPut device !: Tnput evice is noting but
which.s isedised to 'sugply TnAt to the
Machine
i) out put
defniteness.
tiS a machi ne ) Finiteness ar
2T
oierdly tajae Canguae iv)cClecti veneg.
occufies high ) inputi An algoAn Shoud tave
Tnilitize a, bvaluêr
Sys7e
cibooy
ereutl ohject e
togic and
NO
DiSPay out Rut
Stop
EL: int. YJ,2 , i| asiale declanatin
(A
ine oent fecton
megsectibn (oeena) were thanto ) mgel tinec
Heades file kssetta )
ch Joc '
.ß), Dr teges ata These itges oteta typ b) strmy deta tyre:
ateus only the ea/nmbeas. These cta type allows moe than Iox mse
chacteas;
* t ocupies the It an be 2epeSenket with the
two bytes of remey dbuble kateton
i) loatin! data tYR these data tyes
allews. both
yln Prnctienal .Value.
f is thg ortoo l stony. si (bik) ont) sng
day (o) single cha &
wn sighes chy
2.NÛn - Nunexic dta tye These int (63) single iht ! 16 d
data tyes
llaus
onlyChatoctes- only ome aSe dy shot nt ()
héje oe sihed shot nt
) chasactty
ainly two tyRg
32
32 Condjtiono oPebotos : The
Poat 32
cond/tione opets
are,usd to he( he Conition )n
64 .! between the tWo
doubfe
OPets. fyesy tine these expessjen
eI
Checks he /ue and dstey the
)
EXpain the vazious elational, dition zesuat alue, it is tisfied .
Ex Nlol olo
Ghifl
oR opet aoe to check the b't tevel ) 1eft shi/t oevt, These ceft
oftatins uscd to ota tye and ofe ant! 6Pesated used to Shpting the
deta Psom one sition to anothe
NOT
Oftbts The chex nal
NOt ofexatoo is on e's
Conpenet
4) ey Plain the Vazous gical opctct wth
eroMOle.
Logical fesates;
Void aìn C)
Thee
to check the (egic in blw the 2or Moge
oPeonents
Mainly thee tgicl ofesatos ax
Print 2tyPes .
("enttrthe ab ldhe
(i) AND ofesatos (kR)
alb); ii) ol oPesa too (!)
Psint (oeteo thon AND oPeatoó
'ida b) These ANeOetas ae used to checkk
the lgic/in blw the
2 iofeatry.
getch () alb)
Not ofeato
Vasiable =exfessich
Vasia ble is
an evalid c ariable name
statemernt is ehtanted the
When the stateMent
ezPoesion 1s elaluated Pinal and the vesult
y vs'ng operatoo WC can use
thege
then oeplces the Paevious values o the
one expSon SiMAY. wl tan wite the voajable on left hang Side
Symbo)
EX' # incude <stdio.h7 24 20, -2/4 t2/.s oferation )
Vojd mah C) 2t lo- 21, +2 Y.s loferation /)
2+ 10 - ot 215 (orerationl)
int rb,Cid CSE; 2t 0 -oto loPeratron on)
2+ lo-0 to (oftt oti no )
Psint P("entco the abfd Values ") 2-oto
(oferatiom cn -)
6) what is an
exfoesion evaluate 2+h t
(A) ExPessien:
ExpresiamS are e Valuate usihy
asign ment stalement an
Unit -2
stotc ments
(consion)
floy chast!
skottmotH
guchc) Primt eise táe
(n)while clsCr()} MaVan()
d give
( h
"/n umbe
d
is an
am
is
not an
Amstng am
stony
StONgMot 0
nuner, nmbeo
sumj sum]
EX! tooP
|234 putteon
I2 nar S
automatically * erawe
<conio-h
inciude > 32 wYte Lt
Voihtadr ) then
surse Is
a check tlnes
<stdioh uge
Arg termiate the
ame thl bo
oiditin Check
the eond
to
top. anaition, is the
Abt toue
th condition
e to
felliry Cntre
te in
V)
VeEson cisionde yn
ar er
WhenValuate e ways
two on
Phin getehC) 3 or
yatlobeone
list;
the
may Aate
SWitch
on
ierS;
met, about
Conai
tjcn i
expssKnthe condi
SWitth
ese slatenent
That itt)
tion
block ic
a sieteent
S sinPlified
that is
usd
a
evald mutny With
m
Case 3
byeok Switch
(ose Chazt
flow
i:
->
sttement conditien
Switch
Staterent N ’
bask
Unit TIL
Whet arTay) cPin dileence
yPes c aey How to intiali ze, ace sing
aMA Po t the element in an atta,
a colletion Simar
data and it can 6e called as aanizue nayne
hamme Must be uscd to a bade
d mentroya
2
Sah
Som) es
cls co ))
Por
it)
3
Jiven mot rin.
indude <wiloh
3.
Ia) whot axe the apeliottns ar y.
These
matix oRrteis
substractiÛn , Mullithceon atd
trsPartion
aye ued to ieert the soch
to jelemort cP4