6.102 — Software Construction
Spring 2025

Problem Set 0: Midpoint

Please think about the work you have done so far on Problem Set 0 and answer the following questions.

reflection

Specs in PS0

When you implemented drawApproximateCircle, the problem set handout advised you:

“You may notice an opportunity to DRY out drawSquare and drawApproximateCircle. Take advantage of the opportunity, but be careful not to change the specification of either function.”

Why can we not simply implement drawSquare by calling drawApproximateCircle with a numSides value of 4? Because…

 … 

 … 

(missing explanation)

Time Spent

How much time in hours did you spend working on the alpha? Please enter a number (which may be a decimal fraction).

How much time in hours did you spend working on code review? Please enter a number (which may be a decimal fraction).

Collaboration

I helped somebody, or was helped, while both of our solutions were visible on our screens.

(missing explanation)

For every piece of code that I found on the web and used in my solution, I included a comment citing the source of the code.

(missing explanation)

I worked on my solution while somebody else’s solution was visible to me (e.g. on Caesar, or in some other window on my screen, or on somebody else’s screen, or on paper).

(missing explanation)

I worked closely with somebody on part of the problem set, discussing or sharing step-by-step, algorithmic instructions.

(missing explanation)

I was helped by somebody who is neither a current 6.102 staff member, nor a current 6.102 student, nor an HKN tutor assigned to me.

(missing explanation)

I obtained part or all of somebody else’s solution electronically, or provided part or all of my own solution to somebody else.

(missing explanation)

I wrote my specifications, tests, and/or implementations without the assistance of an AI tool to automate those tasks (e.g. GitHub Copilot, ChatGPT).

(missing explanation)