package org.teachingkidsprogramming.section02methods; import org.teachingkidsprogramming.recipes.quizzes.graders.HousesQuizAdapter; import org.teachingkidsprogramming.recipes.quizzes.graders.HousesQuizGrader; public class HousesQuiz extends HousesQuizAdapter { public void questions1Thru6() { // Question 1 // small (recipe below) // ------------- Recipe for small length = 7; // ------------- End of small recipe // // Question2 // medium (recipe below) // ------------- Recipe for medium // set the current length to 21 // ------------- End of medium recipe // // Question3 // large (recipe below) // ------------- Recipe for large // set the current length to 63 // ------------- End of large recipe // // Question4 // moveTheLength (recipe below) // ------------- Recipe for moveTheLength // move the Tortoise the current length // ------------- End of moveTheLength recipe // // Question5 // turnTheCorner (recipe below) // ------------- Recipe for turnTheCorner // turn the Tortoise 1/3 of 360 degrees to the left // ------------- End of turnTheCorner recipe // // Question6 // drawASide (recipe below) // ------------- Recipe for drawASide // call moveTheLength and turnTheCorner // ------------- End of drawASide recipe } public static void main(String[] args) { new HousesQuizGrader().grade(new HousesQuiz()); } }