Published using Google Docs
APCS-Karel-Lab 7
Updated automatically every 5 minutes

AP Computer Science

Karel J. Robot Lab #7

File Setup:

Download the following gitHub repository: https://github.com/danielappel/KarelLab7

Objective:  

This lab explores two-dimensional arrays

2D Array Notes: 

https://docs.google.com/document/d/1z9WicE728KaTt5GQr-By6UQk5v7SIWm5ZPuDxLWuY1U/edit 

Pair Programming:

Instruct a robot to plant a field.  The specs of the field will be given by a 2D array.  


Individual Problems:

Problem #1:

Karel must harvest a field in which not all corners have beepers.  Write a program in which karel picks all the beepers AND stores the results in a 2D array.  After harvesting all beepers, complete the method printField() so that the array is printed to the console.