Big Idea 3 · Topic 3.14 · Exercise 2
Pick the Library
25 minutes - 5 tasks - choose reuse-or-build and the source
Back to the Topic 3.14 lessonAll CSP topics
How this page works
The writing boxes below are yours. What you type stays in this browser, is saved here as you go, and is never sent to us or to your teacher. Hand the written work in the way your teacher asked for it.
The graded check at the bottom is the part that records to your teacher's gradebook.
The cases, from your handoutNot recorded
The same cases as your handout, in the same order.
Scenario 1 · Foundational
Your app must sort a list of student names alphabetically before displaying them. Reliable, well-tested sorting libraries already exist for your language.
Reuse or build (and why):
Source if reused (internal / external) + what the API must specify:
Enrichment - a subtler trade-off or trust consideration:
Scenario 2 · Core
Last month, for a different screen in THIS same project, you wrote a procedure formatName(first, last) that returns a nicely formatted full name. The new screen needs the same formatting.
Reuse or build (and why):
Source if reused (internal / external) + what the API must specify:
Enrichment - a subtler trade-off or trust consideration:
Scenario 3 · Core
Your app must compute the number of days between two calendar dates, correctly handling leap years and month lengths. A well-documented external date library provides a daysBetween procedure.
Reuse or build (and why):
Source if reused (internal / external) + what the API must specify:
Enrichment - a subtler trade-off or trust consideration:
Scenario 4 · Challenge
Your app needs a very specific feature unique to your project: matching students to lab partners using your school's own custom fairness rules. No existing library does this.
Reuse or build (and why):
Source if reused (internal / external) + what the API must specify:
Enrichment - a subtler trade-off or trust consideration:
Scenario 5 · Challenge
Your app must draw charts of student progress. A popular external charting library exists, but its documentation is sparse and you are unsure of the parameter order for its drawBar procedure.
Reuse or build (and why):
Source if reused (internal / external) + what the API must specify:
Enrichment - a subtler trade-off or trust consideration:
No graded check on this page yetNot recorded
About the line in your handout
Your handout says this exercise is available online and auto-graded. The exercise IS here, and it is the same work in the same order, but the auto-graded half is not written for this topic yet. Nothing on this page is scored or sent to your teacher.
Hand this in the way your teacher asked for it. Topic 1.1 has its graded check today, and the rest follow.