You are on page 1of 9

EN GNEE RING CDLLEGE

MEFNA ks H SON DARARAJAN

JBOP ATORY
ExAMINATIDN
OPERP7ING SySTEM

kISHO D
NAME

RE GNo 31 S19lD4D 3 0

SOB.coPE S S4b)
SUB NAME oOPERAT1N & SysTEM LA BoRATORY

a N 13.

Cp0ram to iMpumod Best tit

Memoa Alo tatibn Method

b) wnte hell Para ihd the 9Ivon

Dad

tlmta te Syhtam Onol omeleta te


mOunds

1, RMDIR

) CLEAR.
oA)1 AIM

TO wm te O p graw to iwptwauf

alguntM oS Maoay uanao hua

OBSECTINE AA
7 undeutand tha ohept ot dutit
algomtns foa Nauaew Out

DFTAlAPE REQURED

TUPBO c t

Aloe I7H

34p- 3toat ha pro a

Stop2 etlau tha si ze

Step-3 Caat e lo b proe to e indeated


Step-4 llbeate tue eyt hola that
SMal t se0chiha

Stop-5 taat at Jhe uet


tue Aet

Stop It ot taat at the hol that


shasig the preufous utit eoath end
9te-
9tep-+ Lbpae te ho

3top-8 4 mall ensuy then otop


tue pro ecuu
8+ep- Dlsplay the valu

84ap -1b Stop tho po uy


PPOaPAM

itteLde 2t6no .h

t t doiue MBY 20

itwant)

b gize CMAX .#size LuAX]


nb ,np
it ,

wE taup los tooo0


La;
StaHt tut bfta CMAx ]tlas

Poit(n
*5
* BESTIT AoEITHM at *
in")
i th ttes tua numbea o blo des")
Scavt C d , Bnb)
foa Ci iLtnbit+)

Piwt n Entaa the Size b Meo ay blot 7.ot,)


Scan Cd, baize Ci)

Pri u (nEntes t e huwmbea q filea?)

Stot 1 :d nf)
oati 1i2nfit+)

Priutf CEntas tha Si to ia Vd:,;

Sea (yd", Gi2e Cil)

fo ini+)
i tbla Cti =1)

tep baiaa lij Psize Li]


-

ttaap o)

itleuo tep)

sla C7 j
Aeus Fanup

bialfla Ci]

Poi I n Fl&-No t i& & t \ e BLote No 1t

Blote Si22 ")

Prit tnin 1-d lt lt 1Ed t 4It 7 d


i, si2 Ci),bsi2 Ci#la4 i]1);
ovput

of blohg 3
Entes nm bo
the Momoay blotk
3
Entes the a a
4,A
Ente tthe &iz e tue Membay blo tk.
bleue 3 S
Entos tue S 2
Fh MOWD

Entox he Numbe oftl 3

Ehte the 8iz t theila l A

Entes the S22 the u 2 S

Entos the 8 2 fhe f 36.

Blo t e S i 20
Fila- No File Siz Blo Le_NO

A 2

RESULT

Thus he Prgrau oa est ftto Mawo U


wm t t e anol Oneuud
by
PIM
Ddd
To i nd tho given um bo

6BE CT IVE,
the conopt Shell mara
TO un des tand

SOE T WAPE E&wr ED

JNOx

aoRITHM:

houls a u haades pilu


Step-1 u de the

Stop-2 Onet the inp ut

peaam the a a a at ea odd er


Step3
ha Han in Fe progroM
euen
conUpt
Step 4 put the oult

the neuith
Stap 5

P P o P AM

EN N SHELL 3eLPT
edho". OR Dp

e Uuo - Entoa a u m bo

vead n

euo-n PESULT"

iCaxpr n . d ol
tuen
eub h is auon

euho n u bdd
CsaLpla).
6ut p u

DDD IN SHELL SEIPT - -

EVEN DP

humba 3
Entes a

PESULT

3 Ddd.

outp t 2 tSowpu)

EV EN DR DPD IN S HELL sLPPT

Entex a umbe

PESOLT

6 auen

cettdte

BECTIVE

the
C PIM
anol cute he Luanu ON1 CmMands
TO Atu dy

OBJE CTIVE
#he basd Cbmmanda b Untx.
TO Atudy

SOFT NAPE RERUlEED

la X

Uy N eoMMHNDS

PMDIR

mdir reMng diactoaies

Twa conn acmoua 8ma o Multipu diaauto as

3yutan : mdiy dhr. nam (o)

mdiY ans- hama on-nama 2

) CIE HR
cloo S un

To eloa he S Uoen

9 y ntam clooa

Sopa otput-

is us Leweru HLL 29 a2 u di leis wor

(Thus wiu

the dhaatey).
Saup e Out puu o. cleo)

ls tenova 3 Hi1 looa

24 wi u loauthe pa.30)

You might also like