Prepa

Páginas: 2 (298 palabras) Publicado: 17 de septiembre de 2012
Functions or multiple modules | One of the objectives to use multiple modules is to subdivide the solution of a problem in sub problems, and write a new module or a newfunction to solve each one of the sub problems previously identified. |
Use of parameters | When we use the repetition control statement ‘’iterate (n)’’, we include insidethe parenthesis, a constant numeric value, in which we indicate the amount of time to repeat one or more statements. |
Recursion | The topic of recursion in programminglanguages is a very interesting and powerful theme that gives to the language a great capacity to solve complex problems with short solutions |
Testing | To see behaviorof Karel with a recursive function, we invite you to prove the previous program, placing 5 beepers in one of the corners of the world of Karel, and place Karel in that samecorner, then try it, and you will confirm what it was explained in the previous lines |
Succ | Increases in one the value of the parameter at the moment to call otherfunction |
Pred | Decreases in one the value of the parameter at the moment to call other function |
New | When the program JKarel Robot 1.3 starts, automatically thereappears a new world to work, but after finishing a world it is required a new one to start other world, it is necessary to give a click on the New button, take in countthat the previous world was previously saved, in contrary case it will appear a message box to accept or cancel the last performed changes |
Program Section | Here is theplace where will you will write the statements that will be executed step by step |
Save | This button is used to save the changes performed in the world of Karel |
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Prepa
  • Prepa
  • Prepa
  • Prepa
  • prepa
  • Prepa
  • prepa
  • prepa

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS