Lab 08: Testing + Project 3

Due at: Friday, October 3rd, 11:59PM

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!

Submission

You may submit more than once before the deadline; only the final submission will be graded. It is your responsibility to check that the autograder on Gradescope runs as expected after you upload your submission.