Skip to content

Commit 2709eff

Browse files
committed
improved DeepDive instructions
1 parent 78ee73c commit 2709eff

16 files changed

Lines changed: 74 additions & 167 deletions

File tree

src/main/java/org/teachingkidsprogramming/recipes/completed/section01forloops/DeepDive01ForLoops.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,6 @@
99

1010
public class DeepDive01ForLoops
1111
{
12-
// How to do deep dive:
13-
// Step 1: Select the method name (numbersDoNotNeedQuotes on line 23) Press the Run Button
14-
// PC: Ctrl+F11
15-
// Mac: Command+fn+F11
16-
// Step 2: Read the name of the method that failed
17-
// Step 3: Fill in the blank (___) to make it pass
18-
// Step 4: Consider at least one thing you just learned
19-
// Step 5: Advance to the next method
20-
// Do not change anything except the blank (___)
21-
//
2212
@Test
2313
public void numbersDoNotNeedQuotes()
2414
{

src/main/java/org/teachingkidsprogramming/recipes/completed/section02methods/DeepDive02Variables.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,8 @@
33
import org.junit.Assert;
44
import org.junit.Test;
55

6-
@SuppressWarnings("unused")
76
public class DeepDive02Variables
87
{
9-
// How to do deep dive:
10-
// Step 1: Select the method name (youCanReadVariables on line 20) Press the Run Button
11-
// PC: Ctrl+F11
12-
// Mac: Command+fn+F11
13-
// Step 2: Read the name of the method that failed
14-
// Step 3: Fill in the blank (___) to make it pass
15-
// Step 4: Consider at least one thing you just learned
16-
// Step 5: Advance to the next method
17-
// Do not change anything except the blank (___)
18-
//
198
@Test
209
public void youCanReadVariables() throws Exception
2110
{

src/main/java/org/teachingkidsprogramming/recipes/completed/section03ifs/DeepDive03Ifs.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@
66
@SuppressWarnings("unused")
77
public class DeepDive03Ifs
88
{
9-
// How to do deep dive:
10-
// Step 1: Select the method name (doesABear on line 20) Press the Run Button
11-
// PC: Ctrl+F11
12-
// Mac: Command+fn+F11
13-
// Step 2: Read the name of the method that failed
14-
// Step 3: Fill in the blank (___) to make it pass
15-
// Step 4: Consider at least one thing you just learned
16-
// Step 5: Advance to the next method
17-
// Do not change anything except the blank (___)
18-
//
199
@Test
2010
public void doesABear() throws Exception
2111
{

src/main/java/org/teachingkidsprogramming/recipes/completed/section04mastery/DeepDive04Mastery.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,8 @@
33
import org.junit.Assert;
44
import org.junit.Test;
55

6-
@SuppressWarnings("unused")
76
public class DeepDive04Mastery
87
{
9-
// How to do deep dive:
10-
// Step 1: Select the method name (theseNumbersCount on line 19) Press the Run Button
11-
// PC: Ctrl+F11
12-
// Mac: Command+fn+F11
13-
// Step 2: Read the name of the method that failed
14-
// Step 3: Fill in the blank (___) to make it pass
15-
// Step 4: Consider at least one thing you just learned
16-
// Step 5: Advance to the next method
17-
// Do not change anything except the blank (___)
18-
//
198
@Test
209
public void theseNumbersCount() throws Exception
2110
{

src/main/java/org/teachingkidsprogramming/recipes/completed/section05recursion/DeepDive05Recursion.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,8 @@
1111
import org.teachingextensions.logo.Tortoise;
1212
import org.teachingextensions.logo.utils.ColorUtils.PenColors;
1313

14-
@SuppressWarnings("unused")
1514
public class DeepDive05Recursion
1615
{
17-
// How to do deep dive:
18-
// Step 1: Select the method name (changeThePointerToAHand on line 27) Press the Run Button
19-
// PC: Ctrl+F11
20-
// Mac: Command+fn+F11
21-
// Step 2: Read the name of the method that failed
22-
// Step 3: Fill in the blank (___) to make it pass
23-
// Step 4: Consider at least one thing you just learned
24-
// Step 5: Advance to the next method
25-
// Do not change anything except the blank (___)
26-
//
2716
@Test
2817
public void changeThePointerToAHand() throws Exception
2918
{

src/main/java/org/teachingkidsprogramming/recipes/completed/section06modelviewcontroller/DeepDive06ModelViewController.java

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,8 @@
88
import org.junit.Test;
99
import org.teachingextensions.logo.Tortoise;
1010

11-
@SuppressWarnings("unused")
1211
public class DeepDive06ModelViewController
1312
{
14-
// How to do deep dive:
15-
// Step 1: Select the method name (stringsCanBeArrays on line 25) Press the Run Button
16-
// PC: Ctrl+F11
17-
// Mac: Command+fn+F11
18-
// Step 2: Read the name of the method that failed
19-
// Step 3: Fill in the blank (___) to make it pass
20-
// Step 4: Consider at least one thing you just learned
21-
// Step 5: Advance to the next method
22-
// Do not change anything except the blank (___)
23-
//
2413
@Test
2514
public void stringsCanBeArrays() throws Exception
2615
{
@@ -73,7 +62,7 @@ public void infiniteB() throws Exception
7362
String infinite = "B";
7463
String analogy = "The " + infinite + " in " + infinite + "enoit " + infinite + ". Mandelbrot stands for "
7564
+ infinite + "enoit " + infinite + ". Mandelbrot.";
76-
Assert.assertEquals("The B in Benoît B. Mandelbrot stands for Benoit B. Mandelbrot.", analogy);
65+
Assert.assertEquals("The B in Benoit B. Mandelbrot stands for Benoit B. Mandelbrot.", analogy);
7766
}
7867
@Test
7968
public void expectTheResult() throws Exception

src/main/java/org/teachingkidsprogramming/recipes/completed/section07objects/DeepDive07Objects.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,6 @@
1313
@SuppressWarnings("unused")
1414
public class DeepDive07Objects
1515
{
16-
// How to do deep dive:
17-
// Step 1: Select the method name (twoTortoises on line 27) Press the Run Button
18-
// PC: Ctrl+F11
19-
// Mac: Command+fn+F11
20-
// Step 2: Read the name of the method that failed
21-
// Step 3: Fill in the blank (___) to make it pass
22-
// Step 4: Consider at least one thing you just learned
23-
// Step 5: Advance to the next method
24-
// Do not change anything except the blank (___)
25-
// HINT: If you are stuck, look at the JavaDoc
2616
@Test
2717
public void twoTortoises() throws Exception
2818
{

src/main/java/org/teachingkidsprogramming/recipes/completed/section09final/DeepDive09.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@
1010
@SuppressWarnings("unused")
1111
public class DeepDive09
1212
{
13-
// How to do deep dive:
14-
// Step 1: Select the method name (stringsCanBeArrays on line 24) Press the Run Button
15-
// PC: Ctrl+F11
16-
// Mac: Command+fn+F11
17-
// Step 2: Read the name of the method that failed
18-
// Step 3: Fill in the blank (___) to make it pass
19-
// Step 4: Consider at least one thing you just learned
20-
// Step 5: Advance to the next method
21-
// Do not change anything except the blank (___)
22-
//
2313
@Test
2414
public void stringsCanBeArrays() throws Exception
2515
{

src/main/java/org/teachingkidsprogramming/section01forloops/DeepDive01ForLoops.java

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,18 @@
77
import org.teachingextensions.logo.Turtle;
88
import org.teachingextensions.logo.utils.TortoiseUtils;
99

10-
//@Ignore
1110
@SuppressWarnings("unused")
1211
public class DeepDive01ForLoops
1312
{
14-
// How to do deep dive:
15-
// Step 1: Select the method name (numbersDoNotNeedQuotes on line 25) Press the Run Button
16-
// PC: Ctrl+F11
17-
// Mac: Command+fn+F11
18-
// Step 2: Read the name of the method that failed
19-
// Step 3: Fill in the blank (___) to make it pass
20-
// Step 4: Consider at least one thing you just learned
21-
// Step 5: Advance to the next method
22-
// Do not change anything except the blank (___)
23-
//
13+
// Step 1: SELECT the method name (numbersDoNotNeedQuotes on line 23), then click the Run Button
14+
// Keyboard shortcut to run -> PC: Ctrl+F11 or Mac: Command+fn+F11
15+
// Step 2: READ the name of the method that failed
16+
// Step 3: FILL IN the blank (___) to make that method pass
17+
// Step 4: SAY at least one thing you just learned
18+
// Step 5: GO to the next method
19+
//
20+
// NOTE: Do not change anything except the blank (___)
21+
//
2422
@Test
2523
public void numbersDoNotNeedQuotes()
2624
{

src/main/java/org/teachingkidsprogramming/section02methods/DeepDive02Variables.java

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@
66
@SuppressWarnings("unused")
77
public class DeepDive02Variables
88
{
9-
// How to do deep dive:
10-
// Step 1: Select the method name (youCanReadVariables on line 22) Press the Run Button
11-
// PC: Ctrl+F11
12-
// Mac: Command+fn+F11
13-
// Step 2: Read the name of the method that failed
14-
// Step 3: Fill in the blank (___) to make it pass
15-
// Step 4: Consider at least one thing you just learned
16-
// Step 5: Advance to the next method
17-
// Do not change anything except the blank (___)
18-
//
9+
// Step 1: SELECT the method name (youCanReadVariables on line 19), then click the Run Button
10+
// Keyboard shortcut to run -> PC: Ctrl+F11 or Mac: Command+fn+F11
11+
// Step 2: READ the name of the method that failed
12+
// Step 3: FILL IN the blank (___) to make that method pass
13+
// Step 4: SAY at least one thing you just learned
14+
// Step 5: GO to the next method
15+
//
16+
// NOTE: Do not change anything except the blank (___)
17+
//
1918
@Test
2019
public void youCanReadVariables() throws Exception
2120
{

0 commit comments

Comments
 (0)