karel the robot

43
KAREL THE ROBOT PROGRAMACIÓN BÁSICA

Upload: info0904

Post on 19-Jul-2015

356 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Karel the robot

KAREL THE ROBOT

PROGRAMACIÓN BÁSICA

Page 2: Karel the robot

EL MUNDO DE KAREL

Page 3: Karel the robot

GEOGRAFIA ELEMENTOS Y ACCIONES

Page 4: Karel the robot

CAPACIDAD MOVIMIENTO

Page 5: Karel the robot

CAPACIDAD PERCEPCIÓN

Page 6: Karel the robot

CAPACIDAD PERCEPCIÓN

Page 7: Karel the robot

CAPACIDAD MANIPULACIÓN

Page 8: Karel the robot

OTRAS CAPACIDADES

Otros conceptos: Aserciones.

S.I. Situación inicial : Precondición

S.F. Situación final : Postcondición

Page 9: Karel the robot

INSTRUCCIONES CAMBIOS DE POSICIÓN

Page 10: Karel the robot

INSTRUCIONES, MOVER AL FRENTE

Page 11: Karel the robot

INSTRUCIONES, MOVER AL FRENTE

Page 12: Karel the robot

INSTRUCCIONES GIRAR A LA IZQUIERDA

Page 13: Karel the robot

INSTRUCCIONES GIRAR A LA IZQUIERDA

Page 14: Karel the robot

INSTRUCCIONES MANEJO DE PITOS

Page 15: Karel the robot

INSTRUCCIONES RECOGER PITO

Page 16: Karel the robot

INSTRUCCIONES RECOGER PITO

Page 17: Karel the robot

INSTRUCCIONES COLOCAR PITO

Page 18: Karel the robot

INSTRUCCIONES COLOCAR PITO

Page 19: Karel the robot

DEFINICIÓN DE NUEVAS INSTRUCCIONES

Funciones, subrutinas, o métodos

Page 20: Karel the robot

INSTRUCCIÓN GIRAR A LA DERECHA

Page 21: Karel the robot

INSTRUCCIÓN GIRAR A LA DERECHA

Page 22: Karel the robot

INSTRUCCIÓN GIRAR A LA DERECHA

Page 23: Karel the robot

INSTRUCCIÓN GIRAR A LA DERECHA

Page 24: Karel the robot

INSTRUCCIONES PARA CONDICIONALES

Page 25: Karel the robot

CONDICIONALESFront-Is-Clear

Page 26: Karel the robot

CONDICIONALESNot Left-Is-Blocked

Page 27: Karel the robot

CONDICIONALESRight-Is-Bloked

Page 28: Karel the robot

CONDICIONALESNext-To-a-Beepers

Page 29: Karel the robot

CONDICIONALESAny-Beepers-In-Beeper-bag

Page 30: Karel the robot

INSTRUCCIONES DE REPETICIÓN

Page 31: Karel the robot

INSTRUCIONES DE REPETICIONWhile

Page 32: Karel the robot

INSTRUCIONES DE REPETICIONWhile

Page 33: Karel the robot

INSTRUCIONES DE REPETICIONIterate

Page 34: Karel the robot

INSTRUCIONES DE REPETICIONIterate

Page 35: Karel the robot

INSTRUCCIONES APAGAR KAREL

Page 36: Karel the robot

INSTRUCCIONES

Page 37: Karel the robot

INSTRUCCIONESTurnoff

Page 38: Karel the robot

ESTRUCTURA DE UN PROGRAMA EN KAREL

Page 39: Karel the robot

ESTRUCTURA DE NUEVAS INSTRUCCIONES EN KAREL

Page 40: Karel the robot

CUESTIONAMIENTOSOrientación

Page 41: Karel the robot

CUESTIONAMIENTOPresencia de muros

Page 42: Karel the robot

CUESTIONAMIENTOReconocimiento de pitos

Page 43: Karel the robot

FIN