ClubEnsayos.com - Ensayos de Calidad, Tareas y Monografias
Buscar

Information and Cmmunication of Technology


Enviado por   •  1 de Marzo de 2016  •  Apuntes  •  650 Palabras (3 Páginas)  •  244 Visitas

Página 1 de 3

[pic 1]

[pic 2]

[pic 3]

Information and Cmmunication of Technology 2

Stage 3

Knowlegde Adquisition Activity

Teacher Eduardo Cobos

Daniel Heredia Reyna 1735854

Juan Pablo Díaz 1750310

Sergio Pérez Saucedo 1745282

13-04-15

[pic 4]

Introduction………………………………………………………………………………1

Summary…………………………………………………………………………………..2

Conclusion…………………………………………………………………………………7

Sources………………………………………………………………………………………8

[pic 5]

In this activity we will do a summary on Microsoft Word 2010 about the topic Basic Commands from the book Communication and Information Technology 2 UANL.

This summary will include the commands move, turleft, putbeeper, turnoff etc.

Basic Commands

Basic programming language commands.

Command move ():

The order or instruction move () serves to advance the Robot Karel one block on the street or avenue in the direction you are facing.

Command turnLeft ():

With the turnleft () instruction, we make karel robot turn 90 degrees to the left, ie counterclockwise to clockwise, we must note that we refer to the left of karel, which means that if karel this eastward, and we order "turnleft ()" then he will turn his left, to let him looking northwards. To turn right, we write three times the order or instruction turnleft ().

Command putbeeper ():

The putbeeper () command we use to instruct karel to leave a spin or buzzer on the corner where you are standing, but we must ensure that karel has at least a spin in his backpack tops, otherwise mark a mistake and task end "Abnormally", ie without success.

If we want to stop two spins, we write twice putbeeper () statement.

Command pickBeeper ():

The pickBeeper () instruction, used to instruct karel that trompoo or buzzer lifts a corner where this stopped, but desbebemos ensure that Karel is in a corner where there is at least one spin or buzzer, what otherwise mark a mistake, and your task finished "Abnormally", ie, without success. Each spin raising Karel stores it in his backpack, no need to lift two spins, then we write twice "pickBeeper ()".

...

Descargar como (para miembros actualizados)  txt (4.7 Kb)   pdf (185.2 Kb)   docx (91.2 Kb)  
Leer 2 páginas más »
Disponible sólo en Clubensayos.com