



Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!




1. Pseudocódigo. Inicio Avanza() Gireizquierda() Avanza() Si hay bellota entonces() Recogebellota() Girederecha() Avanza() Avanza() Avanza() Avanza() Avanza() Avanza() Avanza() Dejabellota() Fin Si no Avanza() Avanza() Avanza() Girederecha() Avanza() Si hay bellota entonces() Recogebellota() Gireizquierda() Avanza() Avanza() Avanza() Avanza() Avanza() Avanza() Gireizquierda() Dejabellota() Fin Si no Giraizquierda() Gireizquierda() Avanza() Girederecha() Si hay bellota entonces() Recogebellota() Avanza() Avanza() Avanza()
2. diagrama de flujo. INICIO AVANZA() GIRE IZQUIERDA() AVANZA() V F SI HAY BELLOTA ENTONCES() SI NO GIRE IZQUIERDA()^ AVANZA() RECOGEBELLOTA() SI NO V GIRE DERECHA() GIRE IZQUIERDA() AVANZA() AVANZA() RECOGEBELLOTA() AVANZA() AVANZA() SI HAY BELLOTA ENTONCES AVANZA() (^) GIRE DERECHA() AVANZA() AVANZA() RECOGER BELLOTA AVANZA() SI HAY BELLOTA ENTONCES() V AVANZA()^ RECOGEBELLOTA() GIRE IZQUIER DA() AVANZA()^ AVANZA()^ GIRE IZQUIERDA() V AVANZA() AVANZA() AVANZA() AVANZA() AVANZA() AVANZA() AVANZA() AVANZA() AVANZA() AVANZA() DEJABELLOTA() (^) GIRE IZQUIERDA() (^) AVANZA() FIN
Fuentes Estructuras de control selectivas: Estructura Selectiva Simple by Arnaldo Gonzales - Issuu Estructura Selectiva Doble by Arnaldo Gonzales - Issuu Estructura Selectiva Multiple y Anidada by Arnaldo Gonzales - Issuu Estructuras de control repetitivas: http://issuu.com/arnaldogonzales/docs/estructurasrepetitivas_estructurarepetitivawhile http://issuu.com/arnaldogonzales/docs/estructurasrepetitivas_estructurarepetitivadowhile http://issuu.com/arnaldogonzales/docs/estructurasrepetitivas_estructurarepetitivafo