diff --git a/units/2_unit/05_lesson/lab-buffet.md b/units/2_unit/05_lesson/lab-buffet.md new file mode 100644 index 00000000..d7c6e0b8 --- /dev/null +++ b/units/2_unit/05_lesson/lab-buffet.md @@ -0,0 +1,28 @@ +# Buffet Table + +You're ordering food at a buffet, and you can only get a few things. Assemble an order and enjoy. + +## Requirements + +* There must be at least 10 food items at the buffet. +* Each item is a single serving, so selecting an item must remove it from the buffet. +* A full order contains three food items. + +## Example output + +``` +Welcome to the buffet! +You may choose three items for your plate. Here are your choices: mashed potatoes, fried rice, pot roast, bourbon chicken, General Tso's chicken, spanakopita, Thai yellow curry, fried tofu, bratwurst, and salad. + +What is your first choice? pot roast +Your plate has: pot roast +The buffet now has: mashed potatoes, fried rice, bourbon chicken, General Tso's chicken, spanakopita, Thai yellow curry, fried tofu, bratwurst, and salad. + +What is your second choice? spanakopita +Your plate has: pot roast, and spanakopita +The buffet now has: mashed potatoes, fried rice, bourbon chicken, General Tso's chicken, Thai yellow curry, fried tofu, bratwurst, and salad. + +What is your third choice? mashed potatoes +Your plate has: pot roast, spanakopita, and mashed potatoes. +The buffet now has: fried rice, bourbon chicken, General Tso's chicken, Thai yellow curry, fried tofu, bratwurst, and salad. +```a \ No newline at end of file diff --git a/units/2_unit/05_lesson/lab.docx b/units/2_unit/05_lesson/lab-tictactoe.docx similarity index 100% rename from units/2_unit/05_lesson/lab.docx rename to units/2_unit/05_lesson/lab-tictactoe.docx diff --git a/units/2_unit/05_lesson/lab.md b/units/2_unit/05_lesson/lab-tictactoe.md similarity index 100% rename from units/2_unit/05_lesson/lab.md rename to units/2_unit/05_lesson/lab-tictactoe.md diff --git a/units/2_unit/05_lesson/lab.pdf b/units/2_unit/05_lesson/lab-tictactoe.pdf similarity index 100% rename from units/2_unit/05_lesson/lab.pdf rename to units/2_unit/05_lesson/lab-tictactoe.pdf diff --git a/units/2_unit/05_lesson/lesson.md b/units/2_unit/05_lesson/lesson.md index 795bf5bf..275f02cf 100644 --- a/units/2_unit/05_lesson/lesson.md +++ b/units/2_unit/05_lesson/lesson.md @@ -12,7 +12,9 @@ Students will be able to... * [2.05 Slide Deck](https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/slidedecks/Intro%20Python%202.05%20TEALS.pptx) * [Do Now][] -* [Lab - Tic-Tac-Toe][] ([docx][]) ([pdf][]) +* Labs: + * [Tic-Tac-Toe][] ([docx][]) ([pdf][]) + * [Buffet][] ([Buffet docx][]) ([Buffet pdf][]) * [Associated Readings 2.5](https://tealsk12.github.io/2nd-semester-introduction-to-computer-science/readings.md#associatedreadings/2.5) * Read through the Do Now, lesson, and lab so that you are familiar with the requirements and can assist students. @@ -51,7 +53,7 @@ Students will be able to... ### 3. Lab * Students practice slicing, adding, and removing elements from some given lists. -* Students create a single move Tic-Tac-Toe game. +* Students create a single move Tic-Tac-Toe game or a buffet table ordering program. ### 4. Debrief @@ -67,6 +69,9 @@ Students will be able to... There is also an opportunity for a quiz after the game loop lesson and before the project. [Do Now]:do_now.md -[Lab - Tic-Tac-Toe]:lab.md -[pdf]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/05_lesson/lab.pdf -[docx]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/05_lesson/lab.docx +[Tic-Tac-Toe]:lab-tictactoe.md +[Buffet]:lab-buffet.md +[pdf]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/05_lesson/lab-tictactoe.pdf +[docx]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/05_lesson/lab-tictactoe.docx +[Buffet pdf]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/05_lesson/lab-buffet.pdf +[Buffet docx]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/05_lesson/lab-buffet.docx diff --git a/units/2_unit/06_lesson/lab-buffet.md b/units/2_unit/06_lesson/lab-buffet.md new file mode 100644 index 00000000..e836bfea --- /dev/null +++ b/units/2_unit/06_lesson/lab-buffet.md @@ -0,0 +1,41 @@ +# Buffet Table + +You're ordering food for three people at a buffet, and you can each get only a few things. + +## Requirements + +* There must be at least 10 food items at the buffet. +* Each item is a single serving, so selecting an item must remove it from the buffet. +* A full order contains three food items. +* Ask for a name for each order. +* Loop over the buffet, selecting one item for each order, until all orders are full. + +## Example output (incomplete) + +``` +Welcome to the buffet! +Who is receiving the first plate? Todd +Who is receiving the second plate? Copper +Who is receiving the third plate? Vixen + +You may choose three items per plate. Here are your choices: mashed potatoes, fried rice, pot roast, bourbon chicken, General Tso's chicken, spanakopita, Thai yellow curry, fried tofu, bratwurst, salad. +What is Todd's first choice? mashed potatoes +Todd's plate now has: mashed potatoes. + +The buffet now has: fried rice, pot roast, bourbon chicken, General Tso's chicken, spanakopita, Thai yellow curry, fried tofu, bratwurst, salad. +What is Copper's first choice? bratwurst +Copper's plate now has: bratwurst. + +The buffet now has: fried rice, pot roast, bourbon chicken, General Tso's chicken, spanakopita, Thai yellow curry, fried tofu, salad. +What is Vixen's first choice? bourbon chicken +Vixen's plate now has: bourbon chicken. + +The buffet now has: fried rice, pot roast, General Tso's chicken, spanakopita, Thai yellow curry, fried tofu, salad. +What is Todd's second choice? pot roast +Todd's plate now has: mashed potatoes, pot roast. +The buffet now has: fried rice, General Tso's chicken, spanakopita, Thai yellow curry, fried tofu, salad. + +What is Copper's second choice? fried tofu +Copper's plate now has: bratwurst, fried tofu. +The buffet now has: fried rice, General Tso's chicken, spanakopita, Thai yellow curry, salad. +``` \ No newline at end of file diff --git a/units/2_unit/06_lesson/lab.docx b/units/2_unit/06_lesson/lab-tictactoe.docx similarity index 100% rename from units/2_unit/06_lesson/lab.docx rename to units/2_unit/06_lesson/lab-tictactoe.docx diff --git a/units/2_unit/06_lesson/lab.md b/units/2_unit/06_lesson/lab-tictactoe.md similarity index 100% rename from units/2_unit/06_lesson/lab.md rename to units/2_unit/06_lesson/lab-tictactoe.md diff --git a/units/2_unit/06_lesson/lab.pdf b/units/2_unit/06_lesson/lab-tictactoe.pdf similarity index 100% rename from units/2_unit/06_lesson/lab.pdf rename to units/2_unit/06_lesson/lab-tictactoe.pdf diff --git a/units/2_unit/06_lesson/lesson.md b/units/2_unit/06_lesson/lesson.md index 99d4fa5f..ffa47c70 100644 --- a/units/2_unit/06_lesson/lesson.md +++ b/units/2_unit/06_lesson/lesson.md @@ -11,7 +11,9 @@ Students will be able to... * [2.06 Slide deck](https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/slidedecks/Intro%20Python%202.06%20TEALS.pptx) * [Do now][] -* [Lab - Tic-Tac-Toe revisited][] ([docx][]) ([pdf][]) +* Labs: + * [Tic-Tac-Toe revisited][] ([docx][]) ([pdf][]) + * [Buffet revisited][] ([buffet docx][]) ([buffet pdf][]) * [Associated readings 2.7](https://tealsk12.github.io/2nd-semester-introduction-to-computer-science/readings.md#associatedreadings/2.7) * Read through the do now, lesson, and lab so that you are familiar with the requirements and can assist students * Video Resources: @@ -57,6 +59,7 @@ Students will be able to... ### 3. Lab * Students work to create a Tic-Tac-Toe game that allows turns (up to 9), building on their previous work. +* Alternatively, students work to create a buffet table ordering program that fills several orders, building on their previous work. ### 4. Debrief @@ -67,6 +70,9 @@ Students will be able to... If there is extra time, have students start reading through the final project specs and thinking about how they will apply what they have learned this unit to complete the project. [Do now]:do_now.md -[Lab - Tic-Tac-Toe revisited]:lab.md -[pdf]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/06_lesson/lab.pdf -[docx]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/06_lesson/lab.docx +[Tic-Tac-Toe revisited]:lab-tictactoe.md +[Buffet revisited]:lab-buffet.md +[pdf]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/06_lesson/lab-tictactoe.pdf +[docx]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/06_lesson/lab-tictactoe.docx +[pdf]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/06_lesson/lab-buffet.pdf +[docx]: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science/raw/master/units/2_unit/06_lesson/lab-buffet.docx