Lab Check-Offs
On this page, you will find a list of check-off questions for each lab.
Lab 1 Intro to Karel
- What are the four methods available in Karel’s world?
- What does computational thinking mean to you?
- Show me your diagonal Karel program.
- Show me your dance Karel program.
Lab 2 Karel Methods and Decomposition
- What are the assumptions we make about the world when the fillPothole() method is called in pothole karel?
- What is top down design?
- Show me your decomposed diagonal Karel program.
- Show me your pancake Karel program where you have defined at least two methods to help solve the problem.
Lab 3 Loops & Conditions
- Explain how the while loop works.
- Explain how the for loop works.
- Show me your City Line Tower Karel.
- Show me your Karel Go Home code. What smaller problems did you break Karel Go Home into?
- Show me your Face East Karel. What were the conditions that you had to write?
Lab 4 While Loop Bugs, Debugging, Formatting
- Explain what an off by one error or fence post error means.
- Show me your formatted Square Karel, City Line Tower Karel, and Face East Karel.
- What was the bug in the Debug & Format: Pick up balls Karel?
- What might it me when you see this “error: ‘;’ expected”.
- When should you indent your code over?
Lab 5 Welcome to Java!
- What is the equivalent of the run() method we use for Karel in Java?
- How do you display something to the terminal?
- What is the command for running a Java program?
- Show me your Hampton Chatbot.
- Show me your print numbers 0-N.
Lab 6 [Java Variables & Types]
- What are the 3 things you need to write when declaring a variable?
- Explain how a for loop works.
- Show me your Computer Science Rocks problem.
- How did you fix your program so that it doesn’t overdraft from a bank account?
- Show me your chatbot.
Lab 7 [Strings, Variable Scope, and Method Parameters]
- What is the type of the parameters you declared for the average2 method?
- What is the difference between a paramter and an arguement?
- When your method only prints and doesn’t return anything what should the return type be?
- Show me your decomposed deposit and withdraw from bank account.
- Show me Highest and Lowest among 3 numbers how did you test your code?
Lab 8 [Strings]
- What String method can you use to get part of a string?
- What is the return type of the charAt() method?
- Show me your password validation method. What is the return type of the validPassword method?
- What is the index of the first character of a String?
- Show me your reverse string method.
Lab 9 [Arrays]
- How would you initialize an array of integers of size 8?
- What is the syntax for setting an element of an array?
- What is an index?
- Show me your removeFirstAndLast method in array practice?
- What is the difference between an Array and ArrayList?
Lab 10 [Arrays]
- What is the running time of the unique names solution?
- Explain the binary search code.
- What is a pixel?
- What is the range of the RGB values?
Lab 11 [Arrays]
- Show me you have java installed.
- What IDE did you download and why?