Back to the 2019 paper

Module 2: Processes & Scheduling

201914m

(a) What is a thread?

(b) How is thread different from a process?

(c) What resources are used when a thread is created?

Worked SolutionAI Assisted

Threads (a) Lightweight process sharing address space

(b) Process has separate memory/files, heavy; thread shares, fast context, communication via shared memory
(c) Resources: TCB, stack, registers, priority, scheduling info, shared code/data/files with parent process.

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.