Page 139 - Information_Practice_Fliipbook_Class11
P. 139

6.  WriStlnlprogrnelShnSlncctpStlfroelShtluttrlShtlvnauttloflShrttlfaonSinglpoinSlvnrinbattln,lb,lc,lnndlcnacuanSttlShtlrooStloflnl
                  qundrnSicltqunSion:llnx2l+lbxl+lcl=l0lwhtrtlnlitlnoSltqunalSolztro.l
               7.  WriStlnlprogrnelShnSlSnkttlShtltidtloflnltqunrtl(inlctnSietStrt)lnndlnlchnrncStrl(tiShtrl'A'lorl'P')lntlinpuSlfroelShtluttr.l
                  ThtlprogrnelthouadlditpanylShtlnrtnlorlptrietStrloflShtltqunrt,ldtptndinglonlwhtShtrlShtlinpuSlchnrncStrlitlAlorlP.lAato,l
                  Shtlprogrnelthouadlditpanylnnltrrorletttngt,liflnlchnrncStrloShtrlShnnlAlorlPlitltnStrtd.
               8.  WriStlnlprogrnelShnSlncctpStlShtlnnetlnndlenrktloflnltSudtnSlntlShtlinpuSlfroelShtluttrlnndlprinStlShtlgrndttlnccordingl
                  SolShtlptrctnSngtltcortdlbylShtltSudtnS.lThtluttrlinStrncSionlwiShlPyShonlinStrprtStrlnpptnrtlntlfoaaowt:
                      Enter your Name: Veena Dua
                      Enter your Marks: 130
                      Enter maximum marks in examination: 200
                      Your Grade is: B
                  UttlShtlfoaaowinglSnbatlntlnlrtftrtnctlcriStrin.

                                               Percentage                    Grade

                                                 >=90                          A
                                              >=75lnndl<90                     B
                                              >=60lnndl<75                     C

                                              >=40lnndl<60                     D
                                              >=l33lnndl<40                    E
                                                  <33                           F

               9.  WriStlnlprogrnelSolrtndlnlchnrncStrlnndlchtcklwhtShtrliSlitlnnlupptrcnttlchnrncStr,lnlaowtrcnttlchnrncStr,lorlnldigiS.lForl
                  txnepat,lonlrtndinglJlntlShtlinpuSlchnrncStr,lShtlprogrnelthouadlouSpuS:
                  l  J is an uppercase character.

              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,lhtrlfritndlSoadlhtrlShnSlBodylMnttlIndtx(BMI)litlShtlcorrtcSl
                                                                             2
                  etnturtloflyourlbodylfnS.lThtlforeuanlSolcnacuanStlBMIlitl(wtighS/htighS ),lwhtrtlwtighSlitlinlkglnndlhtighSlitlinletStrt.l
                  RuepnlwnnStlSoldtvtaoplnlprogrnelinlPyShonlShnSlncctpStlwtighSlinlkiaogrnetlnndlhtighSlinletStrtlnndlcnacuanSttlBMI.l
                  CnnlyoulhtaplRuepnldtvtaopltuchlnlprogrnelShnSlditpanytlShtlouSpuSlnccordinglSolShtlSnbatlgivtnlbtaow:




                                                                                          Conditonnal SnStetnSt  125
   134   135   136   137   138   139   140   141   142   143   144