0 ratings0% found this document useful (0 votes) 77 views8 pagesPPS Pyqs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
(©) Find the oupet of flowing sade 0d uy the
snore, es
Pecado
iat oan
t
fe, hs
j= i
ra"
ret 0,
orsaoaiaanii7 4
Rall No Tot Pages: 4
013203
uty 2003
‘B.Tech, =I SEMESTER
Prepranmiog for Problen Solving
Tee conpuson 0 ane al the qustion (1S marke
ah) of Pod in hor,
2. Aver ay for gues fom Pare in dei
5. Difernt apart of a quiton are 0 be atompled
aoc to each ober
‘Shes are ried tng the qusion paper
per ter medion of stad
(@) Discus Syet and Logical roe iC language
th examen ry
(@) Deine Operating Speen. List oti goal and
(etn. a3)
(©) Diente beeen beak sd conn sement
ing sabe exanpe ay
ovsenuteonti7 attr(2) iret bem stn definton ad ation
esa, a
() What wil app i a C ropa you sign &
value fo an arayelmest whose subsp encends
the sn of amy? a
(© isos we of deoreee operator wing example
as
Defic Generic poter with tbe help of sue
a ay
(0) itr becuse er dtd a but in ey
fuceoe. ay
(Wee a short note on operators avilable fn C
megsne. 09
©) Drow 0 Mowehan fed ctor of mab,
09
PART-B
2 @) Discus he spnicance fee Stent We
1 progam Wo fod whether be sven sumer i at
‘Aston Dimer of Ba. 0
(©) Dineremiateberweer Pty cooled ops Et
coool Lops using sist example. (5)
3. Bap decision contol statements in deal, Also
wnte a progam 10 calle wots of quadadic
paon co,
oramoaizoniv7 2
(@) Lite rages of wing ath cae ste
Wine « progam to detelae whether entered
arate ve ot ma. o
4) Deveap a ¢ progr that read Nite nabs
sod ange than is abening onder wing Buble
Set 09)
ate bas 9 charac aray and sng.
ogra consis to sop)
SG) Expin the avanags and dsadvstge of wing
Recunion Wee «program o pith Fens
‘Series wing recur 0),
(©) Write» progam o fad smalist of tee umber,
ing Cnet o
6 Liste atanages of using seo a compare 0 at
‘ery. Wate a'C Program 6 crates scare for song
es ens ing es lo, ume ar
‘mid, mah Clee ttl mks and evergs marke
‘Arrange the esards in descending ove of as. (15)
7. (0) iste te sigiomce of wing pines. Wee
gem to pt al even hers fom rage
ing pointes a)
orszourzonve 8 Pro.Seteer 202
‘sees /s/em05 ca (S/T /ME/RAL/O- SEMESTER
Prorat Preble sotng (S303)
5 Bwuofe nec tetng aem et
para
(te sorte rales ing os
{p) orawafonurtn atl ree bo: as
{0 Show bowcamine nent eed aC prepa wt ample a5)
(De dng eet? as
{© Deoneig How sigiederedandtaled? os
(0 ieee een did nda ray mens as)
(a) Dan ey aperture lp 2st ene as
18) Dis Sa Sage ce wissen as,
(0 teres nie came a anette a9
(0 ua pragma and ets us)
coed
6 at tin. so ti are tomo ero 8
(oy Diz yan and ap erin lap wtp @
8 (0) Wetec program Baths ra abate (32.7% 0 (0)
ied pn Resor ame nino
(oy eaters Eran fd he ree oan tegen nd cc)
Meher palace en
(0) Wtean grt an deans Cyaan atk Niner umber ond (1)
‘ate nsasnanrdr saison or
(oy Kan ensign rye with aoe,
(9) are erence eee a Yaa Cal by Rtn etd. (1
MADtv tag mtn opto bombs eee
(0) Bee carson Wes eprazamasng sons ogee tomes (5)
(6 (8) Wes programe wana rece Wye etal snag say of (0)
Succes mah ce bode Gh meso) aed et Bele of
‘Senuyes nbn ry nate st.
oy Exeihinenic tacos) sera teseee
(2 Deine Wee programe te su and mean a mbes (10)
arya ine
(oy Bane meses les an ary toe Wes C progam nexia (5)
Cheprecrara eng nts toste SeB.Tech. - I! SEMESTER
Programming for Problem Solving (ESC 103)
Time : 3 Hours] [Max. Marks : 75
Instructions :
1. It is compulsory 10 answer all the questions (1.5 marks
each) of Part-A in short.
Answer any four questions from Part-B in detail.
3. Different sub-parts of a question are 10 be aitempted
adjacent fo each other.
PART-A
1. (@) Define algorithm. as)
©) Differentiate between syntactic and semantic
errors. as)
(©) What are variables? Explain with example. (1.5)
(@)_ What is the usage of break instruction in C? (1.5)
SWrite the formula for calculating the address of an
element in 1-D array. (as)
300212/80/111/205 [P.7.0.©) Wott sugut of ftowing rote
sin)
1 ieees
wero
Pete seas
eer
' a9
(@ Define Ponte with exept, as
(0) Wote te complet f Babble Se. aa
(Wotan po nba fasion sed in Stags. (15)
© Wee te sy of fpen command ay
var.
2 (a) Dewi Architect of CPU slong with scron
ofa ini eit °
(8) Name ll per flop aie ia along with
ramp Wr rogmn to gener tone sees
pt 20 ters a9,
3S @ What isan Opening System? Wil is fnstions
sndeaplia Memory mangement in del. (10)
Brie syeyvedeccenenn ae.
soner2e0n 1205 2
4 WAP forcing sacar of emplyeesin an epnzaton
having folowing da element employee. emeoyee
name, employee joining dt, employee desiartion,
employes hs Cretan ary of 3 employes
“Te program souk! tke input and alo pi ie ops or
teem, )
5) Taplin deat ways of calling a funtion wing
rope rogram. ao)
(0) Draw the memory tery of» compute Syste
explain pes of mercy in bet)
6) Wie pogramea copy one sing ine er wis
ng singin oon 0)
(0) Woe progetto inplemeet Seen ert ()
7. illest owen
(© Souee cate snd Object cde
(Compiler an ner
(Gi) Pre and Post iene opts, 9)
mera 05 3oc:2020
“PRocramMinc FOR PROBLEM SOLMING(ESC:102)
Income soba aeyilftmotes An tare
‘remeron mr fad
Nene tsetse hr -
PaRESR
[a rater compet oT aaateT ia
(© fiorare Mopac? (a5)
(e)[ arr Lagat a Sats ERT ia)
(@ Rata aac aS PET ia)
(@) Nees tat creme opto a)
(0 re neo Tes? (a3)
(@ [deta sore. 75)
(| stare cern neds ping armenian? a}
{G ftiate be ees conan na esson? (a
7 ater i)
AEE
a Tap Twa be tard w wenn? We» prowany w Td eT)
etme dary
[5 [a res ra AR ASS mar aT rane td.)
[egg Wites progam serch anclement manara a
faa) — ce + preg Wet Te vets oF a ean wy rT 3]
Puwchat abe
Ga progam sO te Bn nT aE TT yg A)
16a ite purpove compen inplenentns pawa™ a
(Qe) at are ae Rertnflonpsatemens oC? Bea wih ara 5)
jaw oanple
W) _ Niamariacar betwee
iyuistesust|
ists
ene calRoll No...
Total Pages : 3
300207
May, 2019
B.Tech. I SEMESTER
Programming for Problem Solving (ESC-103)
‘Time : 3 Hours) [Max. Macks : 75
Instructions :
1
I is compulsory to answer all the questions (1.5 marks
each) of Part-A in short
2. Answer any four questions from Part-B in detail
3. Different sub-parts of a question are to be attempted
adjacent 10 each other
PART-A,
1. @ Distinguish between Program and Algorithm. (1.5)
() List the logical operators used in C. «sy
(©) How iteration is ifferent from recursion? (1.5)
(@) What ate primitive and non-primitive datatypes?
as)
(©) Write a program to check if number is even or odd.
as)
300207! 020/111/150 PTO.
208(How a swith statement Is ose, dusuae wid
example as
(@) Wht is he we of chr ad paste? (18)
(0) Meese with example how pointers vibes ae
Ald sd ina? a9
(0) What i he complet of Intenlon and Selon
sn? as)
(0) Lis oat any fou He hasan futons. (13)
(9) Design negro a well ot os for Siting
out let mmber ot of ice given ner (3)
0) Wht» dante? spin tere dt pe in
eu withexampe. °
9 Wee 4 progam in C10 pra the others fem
09 and et sue 6)
an uray Weie 2 program to compu
at Median wig ys o
"ype of bps in wih sya
®
4. What isa sctre? Esplin the sym of state
elation wit eure, Wie C program o mammal
rico of "stat deta wigan ary of sees
‘wit for eis Rol number, Nae Mis, 208 Grd).
Each ells of an apres tay. Pa ch ks
ofthe sade sven aden mame ae inpat 15)
socerrnoanniso 2
ee
rere aeeeee
Semromen i
6 (a) What is dyramie memory alleen? Wet end
explain the diferestdyramie memory allaios
fonsion tC o
2 pega seach an eect fom an aay
7 pay postion ®
7. We son tes owing
(©) Conplerand inerser
(Oper Sytem
‘i Storage Cases in C 09
smamrnceaniiso 8