Lab 08: Testing + Project 3
Lab 8: Testing + Proj 3
Instructions
This worksheet serves as a guide and set of instructions to complete the lab.
- There is no coding portion for this lab.
You must complete the conceptual questions to get full credit for the lab. - Additionally, here is the workbook that you can read to complete the lab.
- You can also look at the β2048 Labβ sprite in the Project 3 Snap File.
- All material was sourced from the CS10 version of The Beauty and Joy of Computing course.
Submitting
You will need to complete the βLab 8: Testing + Proj 3 (conceptual)β assignment on Gradescope.
Objectives
In this lab, we will explore a new higher-order function (HoF) block called test
to help us understand the basics of testing in computer science.
This will prepare us for the upcoming Project 3, where youβll use provided skeleton code to build the game 2048!
By the end of the lab, you will be able to:
- Understand the 2048 assignment spec.
- Understand how the test block works.
- Gain familiarity with the idea of test driven development.
- Write tests that you can use for 2048.
Required Blocks
- None
Important Topics (Workbook)
For better understanding of the lab, please go through these workbook pages!
Topics that are important but not required for this lab will be indicated with an asterisk (**). These topics are best reviewed in order and as you complete the lab.
Remember to submit on Gradescope!