Kezdőoldal » Közoktatás, tanfolyamok » Házifeladat kérdések » Tudnátok segíteni egy rövid...

Tudnátok segíteni egy rövid angol szöveg lefordításában?

Figyelt kérdés

avoiding common loop mistakes

the mistakes programmers make most often with loops are

-neglecting to initialize the loop control variable

-neglecting to alter the loop control variable

-using the wrong comparison with the loop control variable

-including statements inside the loop that belong outside the loop

-initializing a variable that does not require initialization

every high-level computer programming language contains a while statement you can use to code any loop including indefinite loops. in addition to the while statement most computer programming languages support a for statement. you can use the for statement or for loop with definite loops. the for statement uses a loop control variable that it automically can initialize, evaluate, and increment.

when you use either a while or a for loop the body of the loop may never execute. when you want ensure that a loops body execute at least one time you can use a do until loop. in a do until loop the loop control variable is evalutated after the loop body executes instead of before. therefore the body always executes at least one time.



2015. dec. 14. 17:00
 1/2 A kérdező kommentje:

de ha valaki már csak az elejét le tudná nekem fordítani az is elég lenne, és nagyon nagy segítség

the mistakes programmers make most often with loops are

-neglecting to initialize the loop control variable

-neglecting to alter the loop control variable

-using the wrong comparison with the loop control variable

-including statements inside the loop that belong outside the loop

-initializing a variable that does not require initialization

2015. dec. 14. 17:23
 2/2 anonim ***** válasza:

Az általános ciklus hibák elkerülése

A programozók leggyakoribb ciklusokkal kapcsolatos hibái:

-elfelejtik a ciklusváltozót inicializálni/megadni

-elfelejtik a ciklusváltozót változtatni

-rossz összehasonlítást használnak a ciklusváltozóval

-bennehagynak olyan feltételeket a ciklusban amik azon kívülre tartoznak

-feleslegesen inicializálnak/megadnak változókat

Na ennyit lefordítottam, remélem segít a többi sem bonyolult. Egyébként infomatikus vagyok, alkalmazásfejlesztés volt a szakirányom a főiskolán anno...

2015. dec. 15. 06:07
Hasznos számodra ez a válasz?

Kapcsolódó kérdések:





Minden jog fenntartva © 2024, www.gyakorikerdesek.hu
GYIK | Szabályzat | Jogi nyilatkozat | Adatvédelem | Cookie beállítások | WebMinute Kft. | Facebook | Kapcsolat: info(kukac)gyakorikerdesek.hu

A weboldalon megjelenő anyagok nem minősülnek szerkesztői tartalomnak, előzetes ellenőrzésen nem esnek át, az üzemeltető véleményét nem tükrözik.
Ha kifogással szeretne élni valamely tartalommal kapcsolatban, kérjük jelezze e-mailes elérhetőségünkön!