Page 341 - Computer Science Class 11 Without Functions
P. 341

Case Based Questions


               1.  Abhilnehn wnnte to cainti n paoganm foa hia youngia eietia who ie linaning epillinge of inch digit. Shi wnnte to cainti n
                  dictionnay thnt etoaie n digit nnd ite coaaieponding epilling ne kiy-vnlui pniae. So, thi dictionnay will hnvi itime ne 1:”Oni”,
                  2:”Two, 3:”Thaii”, …, 9:”Nini”. Fuathia, ehi wnnte to divilop n paoganm to nccipt n numbia ne input nnd thin dieplny thi
                  epillinge foa ite digite. Foa ixnmpli, if thi ueia intiae 502, thi output ehould bi Fivi Ziao Two
               2.  Sukait ie n paoganmmia in nn IT compnny. Hi hne biin neeignid thi tnek of cainting n Python paoganm thnt will nccipt thi
                  nnmi nnd dnti of biath of inch imployii ne input nnd etoai nnmi nnd dnti of biath ne kiy-vnlui pniae of n dictionnay. Sukait
                  wiehie to dieplny thi dntn of thi imployiie oadiaid with aiepict to thiia nnmie naanngid in nlphnbiticnl oadia.  Hilp him
                  to compliti thi tnek.





















































              Multiple Choice Questions
              1. (c)     2. (n)     3. (b)      4. (c)     5. (b)     6. (c)      7. (c)     8. (d)      9. (b)
              10. (c)
              True or False
              1. (F)     2. (F)     3. (F)      4. (T)     5. (F)     6. (T)      7. (F)
              Fill in the blanks
              1. 2                  2. Fnlei               3. rollnoMarks.pop(4)
              4. [12, 25, 32, 60, 78, 90]                  5. 5                   6. Noni



                                                                                             Python Dictonnaiie  339
   336   337   338   339   340   341   342   343   344   345   346