Page 205 - Computer Science Class 11 Without Functions
P. 205
10. AithwnrynlhntlbttnlnttigntdlnlprojtcSlSolfindlShtlBodylMnttlIndtxl(BMI)loflShtltSudtnStloflhtrlcantt.lThtlforeuanlSol
cnacuanStlBMIlitl
BMI=lwtighSl(inlkg)l/l(htighSl(inle)) 2
WriSt nlprogrnelShnSlenylnttitSlAithwnrynlinlnchitvinglShtlnttigntdlSntk.
Assertion and Reasoning Based Questions
The following questions are assertion(A) and reasoning(R) based. Mark the correct choice as
a. Both A and R are true and R is the correct explanation of A
b. Both A and R are true and R is not the correct explanation of A
c. A is true but R is false
d. A is false but R is true
1. AtttrSion(A):l AnlifltSnStetnSlitlnltiepatltSnStetnS.
Rtntoning(R):l AltiepatltSnStetnSlnpptnrtlbyliSttaflinlnlaint.
Case Based Questions
1. RuepnlitlvtrylpnrSicuanrlnbouSlhtrlbodylwtighS.lRtctnSay,lhtrlfritndlSoadlhtrlShnSlBodylMnttlIndtxl(BMI)litlShtlcorrtcSl
2
etnturtloflyourlbodylfnS.lThtlforeuanlSolcnacuanStlBMIlitl(wtighS/htighS ),lwhtrtlwtighSlitlinlkglnndlhtighSlitlinletStrt.l
RuepnlwnnStlSoldtvtaoplnlprogrnelinlPyShonlShnSlncctpStlwtighSlinlkiaogrnetlnndlhtighSlinletStrtlnndlcnacuanSttlBMI.l
CnnlyoulhtaplRuepnldtvtaopltuchlnlprogrnelShnSlditpanytlShtlouSpuSlnccordinglSolShtlSnbatlgivtnlbtaow:
BMI Output
<18.5 UndtrwtighS
18.5-24.9 NorenalWtighS
25-29.9 OvtrwtighS
>=30 Obttt
2. npSnrithilwnnStlSolcrtnStlnletnu-drivtnlprogrnelbylShtlnnetlMATHEMAGIC.lThitlprogrneleutSlncctpSlShrttlnuebtrtl
nndlShtnlptrforelShtlfoaaowingloptrnSiont:
n.l DitpanylShtlanrgttSlnuebtr
b.l DitpanylShtltenaattSlnuebtr
c.l Ditpanylonayltvtnlnuebtrt
d.l Ditpanylonayloddlnuebtrt
t.l ExiSl
Htapl npSnrithilcoepatStlShitlSntk.
Multiple Choice Questions
1.l(n)l 2.l(n)l 3.l(n)l 4.l(c)l 5.l(b)l 6.l(d)l 7.l(n)l 8.l(c)l 9.l(c)
10.l(n)l 11.l(c)l 12.l(c)l
True or False
1.l(T)l 2.l(T)l 3.l(T)l 4.l(T)l 5.l(F)l 6.l(T)
Fill in the blanks
1.lttqutnSinal l 2.lcondiSionnaltxprtttionl 3.leuaSipatl l 4.lpnttl l 5.lTrue
6.lelifl l 7.lcoepoundll 8.lcoaon
Conditonnal SnStetnSt 203

