Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 86 - Playgujarati_V1.0
P. 86

    ,YxksfjFke fy[kuk (Writing an Algorithm)
                      vkb, tkusa fd ,YxksfjFke oSQls fy[krs gSaA

                      nks la[;kvksa dk xq.kuiQy] ;ksx vkSj varj Kkr djus osQ fy, ,YxksfjFke (Algorithm to find
                      product, sum and difference of two numbers)
                      LVsi 1  çkjaHk djsaA

                      LVsi 2  nksuksa la[;kvksa dks if<+, vkSj mUgsa , vkSj ch esa lax`ghr djsaA
                      LVsi 3  nksuksa la[;kvksa , vkSj ch dks xq.kk djsaA

                      LVsi 4  xq.kuiQy (Product) dks fçaV djsaA
                      LVsi 5  nksuksa la[;k,¡ , vkSj ch tksM+saA

                      LVsi 6  ;ksx dks fçaV djsaA
                      LVsi 7  la[;k ch dks la[;k , ls ?kVk,¡A

                      LVsi 8  varj dks fçaV djsaA
                      LVsi 9  can djsaA

                      nks la[;kvksa , vkSj ch esa lcls NksVk Kkr djus osQ fy, ,YxksfjFke (Algorithm to find the

                      smallest in two numbers A and B)
                      LVsi 1  çkjaHk djsaA

                      LVsi 2  nksuksa la[;kvksa dks if<+, vkSj mUgsa , vkSj ch esa lax`ghr dj yhft,A
                      LVsi 3  la[;k , vkSj ch dh rqyuk djsaA ;fn ,] ch ls NksVk gS] rks ^, NksVk gS* fçaV djsa vkSj LVsi 5 ij tk,¡A

                      LVsi 4  la[;k , vkSj ch dh rqyuk djsaA ;fn ch] , ls NksVk gS] rks ^ch NksVk gS* fçaV djsa vkSj LVsi 5 ij

                              tk,¡A
                      LVsi 5  can djsaA

                          ¶ykspkV~lZ dks ifjHkkf"kr djuk (Defining Flowcharts)
                      ÝykspkVZ ,d çdkj dk xzkfiQdy vkjs• gS tks ,d ,YxksfjFke dk çfrfuf/Ro djrk gSA ;g funZs'kksa dk ,d lsV
                      gS ftldk ikyu fdlh fof'k"V dk;Z] ooZQÝyks ;k çfØ;k dks djus osQ fy, fd;k tk ldrk gSA ÝykspkVZ dk

                      mi;ksx fofHkUu {ks=kksa esa fdlh çfØ;k ;k dk;ZØe osQ fo'ys"k.k] fMtkbu] nLrkosthdj.k (Documenting) ;k
                      çca/u esa fd;k tkrk gSA

                      blfy,] ;g dguk lgh gS fd ,d tfVy dk;ZØe dh csgrj le> osQ fy, ,d ÝykspkVZ vko';d gSA

                      ÝykspkVZ esa ç;qDr çrhd (Symbols used in Flowcharts)
                      fofHkUu çdkj osQ ÝykspkVZ cukus osQ fy, fofHkUu çrhdksa dk mi;ksx fd;k tkrk gSA vkb, mudh ppkZ djsaA

                         84  Play (Ver. 1.0)-V

| 81 82 83 84 85 86 87 88 89 90 91 |