maman11_1 - 11 (") Java - 20441 : : 4-1 : 2 : :...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 11 (") Java - 20441 : : 4-1 : 2 : : 15.4.2006 3 : 2006 : () : . " . (20% - 1 ) main{ BasicRobot arik = new BasicRobot(7, 2, North, 0); arik.pickBeeper( ); arik.pickBeeper( ); arik.move( ); arik.move( ); arik.move( ); arik.move( ); arik.move( ); arik.putBeeper( ); ... } ? , . , , - . - :(7 ,2) ? 1 ) ? . ( (20% - 2 ) , mysteryInstruction .IF - . public void mysteryInstruction() { if (facingWest()) { move(); turnRight(); if (facingNorth()) { move(); } turnAround(); } else { move(); turnLeft(); move(); turnAround(); } } (60% - 3 ) , . karel . , . . ) , (1,1) karel .( . . . . , karel - . 2 3 6 7 8 5 4 . 3 2 1 9 0100090000038000000 8 8 7 6 6 5 4 3 2 1 002001c00000000000400000003010800050000000b0200000000050000000c029700970004 0000002e0118001c000000fb021000070000000000bc02000000b10102022253797374656d00 009700000098c9110072edc630086f1b000c02000097000000040000002d0100001c000000fb 029cff0000000000009001000000000440001254696d6573204e657720526f6d616e00000000 00000000000000000000000000040000002d010100040000000201010005000000090200000 002040000002e011a000d000000320a5a00690001000400000000009600960020c22d0004000 0002e011800040000002d010000030000000000 18 : 4 . , " .1 .ex1.doc MS-Word .2 5 ...
View Full Document

This note was uploaded on 07/23/2009 for the course MATH. 04101 taught by Professor ישראלפרידמן during the Summer '06 term at The Open University.

Ask a homework question - tutors are online