Exercises for Week 01

Warning

Your handin should be uploaded as a group on Canvas, i.e., not, repeat, not as an individual, so that all the members of the group get a recorded grade on Canvas, not only the individual who submitted.

Here is the way to go.

First of all, you should be able to access the user page and the group page of the Intro to CS page on Canvas.

Here are the steps to follow:

  1. Go to the Canvas home page for the course -> Users (side navigation bar) -> Groups (toggle on the center).
  2. New groups have already been created by the lecturer, but if that is not the case, create a new group if nobody in your team has created one already.
  3. Have everyone on your team join this group.
  4. When all students on your team have joined the Canvas group for your team, go to relevant assignment page and submit as you would an individual assignment. Now, your submission will count for the whole group. (There should be a small banner saying this when you start the submission process.)
This is a mechanism, not a solution.

Mao Zedong

If you forgot to join a group on Canvas and the handin is graded, you will need to submit a token file individually so that the lecturer gives it the same grade.

Exercise 00

The index of concepts for this week is in a separate chapter. Peruse it and make sure that its entries make sense to you (otherwise, click on them to check them out).

N.B.: At the top right and at the bottom right of the each page of these lecture notes, there is a clickable word, “index”, to access the index of the current version of the lecture notes.

Mandatory exercises

Yes you can.

Barack Obama (well, almost)

Additional exercises

The group report

Your joint report should include

  • a front page with a meaningful title, a date, and student names together with student numbers and email addresses,
  • a second page with a table of contents with meaningful titles and page numbers, and
  • from the third page and onward,
    • a general introduction situating the report in the course of the semester,
    • one section per exercise (“Exercise XY: ...”, where ”...” is a meaningful title of your own design),
    • for each exercise, an introductory subsection and a concluding subsection,
    • more subsections for exercises that are itemized, and
    • a general conclusion where you
      • assess what you did,
      • reflect on how you did it, and
      • put your assessment and reflection in perspective.

For each exercise, the introductory subsection should contain, at the very least, the statement of the exercise, to make the report self-contained. This statement should then be explained in an introduction to convey your understanding of the question. Explaining the exercise in your own words is really helpful because trying to answer a question one doesn’t understand, well. Also, analyzing a question very often provides the seeds of its answer. And if you were not able to answer the question after all, you will still get partial credit because you analyzed it meaningfully.

As a rule of thumb, don’t rush answering questions. Spend at least five minutes analyzing them, and then document this analysis in their introduction.

Whether local, global, or both, each exercise has a point. This point should be described in a conclusion.

An analogy:

In a series of technical questions, we are asked to describe nested half-circular layers of different colors, one at a time.

We could rattle a series of technical answers involving the reflection, refraction, and dispersion of light and keep these answers at that, or we could conclude that we were asked to describe a rainbow.

Pages should be numbered, and the narrative should be spell checked.

Halcyon: Like “To understand recursion, one must first understand recursion.”
Mimer: Right. With all due respect, this quote is not due to Stephen Hawking.

An inspiring (and not necessarily humorous, just on topic) quote or three would be welcome if they support your discourse. Quotes that don’t support your discourse distract your reader from the message to the messenger, which is not a good idea, especially if the quote is off topic or misattributed.

For the rest, the report should be precise and as concise as time allows.

As a guideline, write what the future version of you will want to read.

No problem whatever is completely exhausted.

George Pólya in How to Solve It

Version

Fixed a typo [27 Jan 2023]

Belatedly added Exercise 21 – self-referential sentences [21 Jan 2023]

Expanded the section about the group report [11 Jan 2023]

Created [10 Jan 2023]

Table Of Contents

Previous topic

Bootstrapping

Next topic

Index of concepts for Week 01