Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "What does a page fault prove by itself?" on CodeWiki (https://codewiki.com/practice/mcq/foundations/checkpoint-3/checkpoint-3-page-fault/).
Context (verbatim from the page):
"""
What does a page fault prove by itself?
The current address translation or access needs kernel handling.
The process has exhausted all physical memory.
The requested page must be read from swap on disk.
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in CS foundations. Where you are unsure, say so.