CSE101 lecture materials
Week 04
13 Oct–16 Oct 2026 · Operating systems and processes
Tuesday 13 Oct · CSE101
13:30–16:30 · Z23
Principles
Processes and cores; scheduling, context switching and interrupts; concurrency and parallelism; OS services, startup and protection.
Application & programming
Use the mechanic-shop analogy and saved execution state to explain CPU sharing and process resumption.
Week 4 slides and reading are available above. Recordings are in preparation.
Learning focus
Explain ready, running and blocked states, CPU sharing, context switching and concurrency versus parallelism. Apply Week 3 control-flow knowledge in the branch-and-loop lab.
D: do independently · M: explain and modify a worked example · R: recognize, trace and compare.
Revisit: Predict register changes before running a loop.
Wednesday 14 Oct · Recitation
Branch and loop tracing; test cases that expose a wrong branch.
Start time tentatively 16:30; room to be announced.
Friday 16 Oct · CSE107
Lab 03: Assembly: branches & loops
Trace branches and loops, test a changed input and explain the outcome.
Attend your assigned two-hour group. Handout in preparation.
Preparation & submissions
No assignment has been released for this page yet. Requirements, permitted assistance and deadlines will appear in the published brief.