Lesson plan: Foundations: How a Computer Runs Programs
AP Cybersecurity · Unit 4 Securing Devices · Topic Foundations (background for 4.1 to 4.4) · Practice set
At a glance
- Suggested time
- 1 class period (45 min)
- Pacing
- The unit's first set, before Device Types and the IoT Surface. The CED gives Unit 4 about 23 class periods: 6 for Topic 4.1, 5 for 4.2, 5 for 4.3 and 7 for 4.4. This Foundations background sits outside those content periods, and this plan suggests 1 extra day for it. The CED uses what this set teaches without teaching it. EK 4.1.C.3 has an adversary load an operating system from an external drive when the BIOS or UEFI has no password. EK 4.3.C.1 has vendors send operating system updates and patches, and EK 4.4.A.4 lists "Unexpected processes or services" among host-based indicators.
- Before this set
- None needed for the problems. The lesson's services box mentions that a web server listens on a port, which Foundations: Packets, Ports, and Protocols (Unit 3) taught. Students should know what a laptop, a window, and a password are. The mini-lesson explains firmware, the operating system, files, paths, executables, memory, processes, services, updates, the registry, logs, accounts, and privileges as it goes.
- Skills
- 1.A Identify, with and without the support of AI, vulnerabilities, threats, and attack methods, and explain how they generate risk.
The one idea: The firmware starts the operating system, and the operating system runs every other program. A program waits on the drive as a file; running, it is a process in memory, and it can do only what the account it runs as is allowed to do.
Day by day
Day 1 · From the power button to the processes45 min
- Open (3 min)Ask how many programs are running on a school laptop a minute after sign-in, before the student opens anything. Collect a few guesses without correcting them; the lesson's first paragraph answers it.
- Mini-lesson (15 min)Teach How a Computer Runs Programs. Read it together, or assign it the night before. Walk the startup figure at the top one step at a time. Under Accounts and permissions, stop at "find the processes the student could stop from Task Manager" and give pairs a minute with the table before reading on. Under McAfee's 2010 update, stop at "What would those computers lose?" the same way.
- Do together (7 min)Problem 3 🔒 Problem 8 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- On their own (12 min)Problem 1 🔒 Problem 2 🔒 the operating system and startup · Problem 4 🔒 writing a path · Problem 5 🔒 Problem 6 🔒 where things are kept · Problem 7 🔒 what a standard account may change.
- In pairs (5 min)Problem 9 🔒 Problem 10 🔒: one student reads the table aloud, the other decides row by row.
- Discuss (3 min)Problem 9 🔒 Problem 10 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
Differentiation
- If students are struggling
- Before the problems, have students copy the lesson's startup figure as five boxes and write one word in each: firmware, operating system, services, sign-in, programs. Then do Problem 9 🔒 as a class, deciding row by row whether the signed-in account could stop that process and saying why.
- Extension
- Where the school allows it, students open Task Manager (Windows; the Details tab's User name column) or Activity Monitor (Mac; the User column, where the system's account is root) and find one program running as several processes and one process that runs as the system's own account. Without computers, students write which of the lesson's five startup steps the McAfee update broke and why the fix used safe mode. (Step 3, the services, since they ran inside svchost.exe. On safe mode, a good answer works from the lesson: the computers had no network and many kept restarting, and safe mode loads only the most basic services, so staff fixed each one by hand from a USB drive.)
- Vocabulary support
- firmware, BIOS (basic input output system), UEFI (unified extensible firmware interface), operating system (OS), file, folder, path, executable, memory, process, service, update, patch, settings, registry, log, account, standard account, administrator account, SYSTEM, privileges, Task Manager, svchost.exe (service host), quarantine, safe mode.
🔒 Answer keyEvery problem's answer, the concept and essential knowledge it checks, and the trap it targets.Sign in as a teacher to see this🔒 Traps this set testsWhat each common wrong answer looks like, and one line to say when you see it.Sign in as a teacher to see this🔒 What to emphasizeThe points that decide the set's problems.Sign in as a teacher to see this🔒 Questions to ask aloudQuestions for the class discussion, with what to listen for.Sign in as a teacher to see this🔒 On the examHow the set's ideas appear on the AP exam, from the course framework.Sign in as a teacher to see this🔒 Your class so farLive results for your section: the problems a third or more missed on the first try, the most common wrong answer, and what it usually means.Sign in as a teacher to see this