Skip to content

Point chapter 10 to the 2026-27 lecture 10 slides - #13

Merged
ethan42 merged 1 commit into
mainfrom
lec10-2026
Nov 2, 2026
Merged

ethan42 merged 1 commit into
mainfrom
lec10-2026

Conversation

@ethan42

@ethan42 ethan42 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Updates chapter 10 for the 2026-27 lecture 10 slides (assets/pdf/lec10.pdf on the course site). The new slides URL goes live when progintro.github.io#45 is merged.

The deck has the same 53 pages, and no page numbers moved. The only content change is on p. 2. That page was empty in 2025-26 and now asks two questions:

  • «Ποια η διαφορά (υπάρχει;) μιας συνάρτησης και ενός προγράμματος;»
  • «Ποια η διαφορά (υπάρχει;) ανάμεσα στην τιμή επιστροφής μιας συνάρτησης και τον κωδικό εξόδου ενός προγράμματος;»

Besides that, pp. 3–4 add painting captions and the closing slide is reworded.

Changes:

  • Chapter 10: a paragraph at the end of the Σύνοψη answers both questions briefly. The slides give no answer.
    • Function vs program: who calls it (other code vs the operating system), and arguments of any type vs text through argc/argv.
    • Return value vs exit code: the exit code is main's return value, but the shell sees only 0–255 (echo $?). It links to chapter 3.
      The reading list points to the new deck, cites p. 2 and links to the 2025-26 deck (same page numbers).
  • Fourteen slide questions: they point to the new deck, with page numbers unchanged.
  • Other files: sources/extract/lec10.yaml (year, slides, p. 2 outline, and an issue describing the changes), the manifest, make fetch, and the README line «Διαλέξεις 0–10».

make check passes.

Opened from socrates.

The 2026-27 deck (assets/pdf/lec10.pdf on the course site) has the
same 53 pages as 2025-26 and no page numbers moved. p. 2, empty in
2025-26, now asks how a function differs from a program and how a
function's return value differs from a program's exit code. pp. 3-4
add painting captions and the closing p. 52 is reworded.

Chapter 10's summary answers the two questions briefly and links to
chapter 3 for the exit code. The reading list, the fourteen slide
questions, the extract notes, the manifest and `make fetch` now point
to the new deck.
@ethan42
ethan42 merged commit 34700e1 into main Nov 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant