Izinhlelo eziyisisekelo ngePseint (ingxenye 2)

Lokhu kufakwa kungukuqhubeka kokungenile kwangaphambilini (Izinhlelo eziyisisekelo ngePseint (ingxenye 1)) futhi iyingxenye yochungechunge lwezifundo ezinhlelweni.

Ukuze wenze uhlelo kuyadingeka ukuthi iPseint ihlelwe kahle, uma konke kulungile, singaqhubeka nalesi sifundo esigxile ngqo ekufundeni ukuthi iPseint isebenza kanjani ukuqala ngezinhlelo.

I-Pseint

Uma sesiqalile sizobona izingxenye ezilandelayo:

  1. Imiyalo: (yiyo engakwesobunxele) lapho kukhona imijikelezo eyisisekelo, imisebenzi kanye / noma imibandela.
  2. Ibha yesimo: (lena engezansi lapho ithi "Azikho izibuyekezo ezitholakalayo") le bar ibonisa isimo samanje sePseint.
  3. Indawo yokusebenza: yingxenye enkulu kunazo zonke, yilapho sizobhala khona uhlelo lwethu.

Lezi yizona eziyinhloko, ezinye ngeke zibe wusizo okwamanje

ALGORITHM IN PSEUDO-IKHODI

Inqubo engenasihloko isenzo 1; isenzo 2; ... ... ... isenzo n; Inqubo Yokugcina

Le yindlela ejwayelekile ye-algorithm, njengoba ubona, iqala ngo- "Process [SinTitulo]" ekhombisa ukuqala kohlelo futhi iphetha ngo- "EndProcess" ekhombisa ukuthi uhlelo seluphelile.

EZAHLUKENE

Okuguqukayo kuyimikhakha yememori egcina imininingwane ethile futhi ekhonjwa ngegama elithile elibhekisa kulezi zikhala zememori. Ku-Pseint ungachaza okuguquguqukayo ngezindlela ezilandelayo:

Ngophawu olulinganayo ukuze «a» kube okuguqukayo okuthola inani lokungeza i- «c» plus «b»

a = c + b;

Enye indlela ngesibonakaliso sesabelo (esizosibona ngokuhamba kwesikhathi, okwamanje sidinga ukusazi kuphela) futhi siyefana naleso sangaphambilini ngomehluko wokuthi yisibonakaliso esihlukile

a <- b + c;

Lezi zimpawu aziceli noma yiliphi inani kumsebenzisi ukuthi azi ukuthi yiliphi inani okufanele alibeke ngoba lokhu kwenziwa ngomsebenzi othi «funda»

AMALUNGISELELO

Amalungu afanayo ukulandelana kokuguquguqukayo kobubanzi obuningi okungagcinwa ngendlela yebhodi noma i-cube, lapho okuguquguqukayo kubizwa ngokuhlonza okujwayelekile nenombolo kuhlelo lwendiza yeCartesian. Ukufika ku-Pseint kuchazwa ngomsebenzi "wobukhulu" esizophinde siwubone ngokuhamba kwesikhathi.

Kulokhu isihlonzi esijwayelekile kuzoba ngu-var y nenombolo ibe ngu- "x" no- "y" okungaba ngu- [1,1] noma u- [2,1], njll.

Ubukhulu var [x, y]

Ngemuva kwalokho ukubiza okuguqukayo ongakusebenzisa

 i-var [x, y]

Lapho u- "x" angaba ngu-1 futhi u- "y" angaba ngu-2 khona-ke kuzobe kubiza u- "var [1,2]" okungazimela ngo- "var [1,1]", njll.

ABASEBENZISI

Ama-opharetha njengoba igama lawo lisho ukuthi yizimpawu ezisebenzisa amanani athile ukunikeza umphumela, Ama-opharetha ePseint ayalandela:

  1. Kukhulu kune ">"
  2. Ngaphansi kuka- «<«
  3. Kuyafana nokuthi "="
  4. Ngaphansi kuka noma kulingana nokuthi «<=»
  5. Kukhulu kunokuthi noma kulingana nokuthi "> ="
  6. Ihlukile ku- «<>»
  7. Ukuhlangana (futhi) "Futhi" noma "&"
  8. Ukuxuba (noma) «NOMA» noma «|»
  9. Ukuphika (cha) "CHA" noma "~"
  10. Faka "+"
  11. Susa «-«
  12. Ukuphindaphinda "*"
  13. Ukuhlukaniswa "/"
  14. Ukunikezwa amandla ^ ^ »
  15. Modulus (okusele kokuhlukaniswa) «%» noma «MOD»

Isikhundla (ukuhleleka) kokusebenza kuyefana nalokho kwe-algebra futhi kuyashintsha ngama-parentheses. Endabeni yama-opharetha anengqondo, umsebenzi ufinyezwa okwesikhashana, opharetha u- "HAYI" uguqula umphumela.

Kulolu hlu kukhulunywa kuphela ezizosetshenziswa, ukubona uhlu oluphelele ungaya kwimibhalo yePSeInt.

IMISEBENZI

Ohlelweni, umsebenzi uchungechunge lwemiyalo enikeza umphumela othile futhi engathola inani elithile lokwenza umsebenzi okufanele bawenze. Ku-Pseint umsebenzi ubhalwe kanjena:

Inqubo engaphansi [ukubuya okuguqukayo] <- [Igama lomsebenzi] ([Izimpikiswano]) isenzo 1; isenzo 2: ... ... ... isenzo n; Qeda i-SubProces

Kulungile esifundweni esilandelayo ngizogxila kuyo yonke eminye imisebenzi kanye ne-syntax yayo ngaphandle kwabasebenza okukhulunywe ngabo lapha ngoba i-syntax yabo icishe icace.


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-5, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   glcq kusho

    Ngiyabonga kakhulu ngokwabelana ngalezi zifundo, zithakazelisa kakhulu.

    1.    xnmm kusho

      asikho isizathu futhi ngasikhathi sinye ngithi okulandelayo sekuvele kunikezelwe ezinhlelweni
      Phendula ngokucaphuna

  2.   umthwali wempahla kusho

    Ngiyabonga ngokwabelana, lolu hlelo bengivele ngilazi, ngiluthole emthonjeni futhi luhle kakhulu, luzoba wusizo kimi ngoba noma ngenza uhlelo oluthile, ngilwenza ngaphandle kolwazi oluthile ngamatemu njll, futhi ngivela indawo engahlanganise lutho nayo njengoba ingabantu Ngakho-ke lawa makilasi muhle kakhulu ekunikezeni imibono elula ngokuqukethwe kohlelo, ngoba uma unjengami ungazi lutho ngalutho, amagama afana nezigaba, okuguquguqukayo, okuyizinto eziyisisekelo kubantu abangenalo ulwazi lohlelo oluyisisekelo yizinto ezingenasithombe noma imiqondo engaziwa, ngalo mqondo lolu hlelo luhle kakhulu. Ngiyabonga ngokwabelana futhi ngafaka iphini kumabhukhimakhi wami. Ozithobayo.

    1.    i-spartan2103 kusho

      Ngicabanga kufana nePortaro. Ngiphinde ngiqhamuke endaweni yoBuntu futhi yize kukhona engikwaziyo ngohlelo, ngikwenza ngokwengeziwe, ngaphandle kolwazi oluningi lwamaqiniso, Ngiyabonga ngabafundisi. By the way, nguwe uPortaro othumela kuma-Gnu / Linux Vagos?

  3.   i-spartan2103 kusho

    Ngicabanga kufana nePortaro. Ngiphinde ngiqhamuke endaweni yoBuntu futhi yize kukhona engikwaziyo ngohlelo, ngikwenza ngokwengeziwe, ngaphandle kolwazi oluningi lwamaqiniso, Ngiyabonga ngabafundisi. By the way, nguwe uPortaro othumela kuma-Gnu / Linux Vagos?