Skip to content

Commit 998501b

Browse files
committed
improved DeepDive instructions
1 parent 258749e commit 998501b

9 files changed

Lines changed: 73 additions & 82 deletions

File tree

0 Bytes
Binary file not shown.

TeachingKidsProgramming/src/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-
//
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
{

TeachingKidsProgramming/src/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
{

TeachingKidsProgramming/src/org/teachingkidsprogramming/section03ifs/DeepDive03Ifs.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 DeepDive03Ifs
88
{
9-
// How to do deep dive:
10-
// Step 1: Select the method name (doesABear 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 (doesABear 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 doesABear() throws Exception
2120
{

TeachingKidsProgramming/src/org/teachingkidsprogramming/section04mastery/DeepDive04Mastery.java

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

TeachingKidsProgramming/src/org/teachingkidsprogramming/section05recursion/DeepDive05Recursion.java

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,15 @@
1414
@SuppressWarnings("unused")
1515
public class DeepDive05Recursion
1616
{
17-
// How to do deep dive:
18-
// Step 1: Select the method name (changeThePointerToAHand on line 29) 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-
//
17+
// Step 1: SELECT the method name (changeThePointerToAHand on line 27), then click the Run Button
18+
// Keyboard shortcut to run -> PC: Ctrl+F11 or Mac: Command+fn+F11
19+
// Step 2: READ the name of the method that failed
20+
// Step 3: FILL IN the blank (___) to make that method pass
21+
// Step 4: SAY at least one thing you just learned
22+
// Step 5: GO to the next method
23+
//
24+
// NOTE: Do not change anything except the blank (___)
25+
//
2726
@Test
2827
public void changeThePointerToAHand() throws Exception
2928
{

TeachingKidsProgramming/src/org/teachingkidsprogramming/section06modelviewcontroller/DeepDive06ModelViewController.java

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@
1111
@SuppressWarnings("unused")
1212
public class DeepDive06ModelViewController
1313
{
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-
//
14+
// Step 1: SELECT the method name (stringsCanBeArrays on line 24), then click the Run Button
15+
// Keyboard shortcut to run -> PC: Ctrl+F11 or Mac: Command+fn+F11
16+
// Step 2: READ the name of the method that failed
17+
// Step 3: FILL IN the blank (___) to make that method pass
18+
// Step 4: SAY at least one thing you just learned
19+
// Step 5: GO to the next method
20+
//
21+
// NOTE: Do not change anything except the blank (___)
22+
//
2423
@Test
2524
public void stringsCanBeArrays() throws Exception
2625
{
@@ -71,7 +70,7 @@ public void infiniteB() throws Exception
7170
String infinite = "B";
7271
String analogy = "The " + ___ + " in " + ___ + "enoit " + ___ + ". Mandelbrot stands for " + ___ + "enoit "
7372
+ ___ + ". Mandelbrot.";
74-
Assert.assertEquals("The B in Benoit B. Mandelbrot stands for Benoît B. Mandelbrot.", analogy);
73+
Assert.assertEquals("The B in Benoit B. Mandelbrot stands for Benoit B. Mandelbrot.", analogy);
7574
}
7675
@Test
7776
public void expectTheResult() throws Exception

TeachingKidsProgramming/src/org/teachingkidsprogramming/section07objects/DeepDive07Objects.java

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,15 @@
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
16+
// Step 1: SELECT the method name (twoTortoises on line 26), then click the Run Button
17+
// Keyboard shortcut to run -> PC: Ctrl+F11 or Mac: Command+fn+F11
18+
// Step 2: READ the name of the method that failed
19+
// Step 3: FILL IN the blank (___) to make that method pass
20+
// Step 4: SAY at least one thing you just learned
21+
// Step 5: GO to the next method
22+
//
23+
// NOTE: Do not change anything except the blank (___)
24+
//
2625
@Test
2726
public void twoTortoises() throws Exception
2827
{

TeachingKidsProgramming/src/org/teachingkidsprogramming/section09final/DeepDive09.java

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@
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-
//
13+
// Step 1: SELECT the method name (stringsCanBeArrays on line 24), 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+
//
2322
@Test
2423
public void stringsCanBeArrays() throws Exception
2524
{

0 commit comments

Comments
 (0)