Blueprint
The Citizenship Practice Test
Anyone can practice, fill in the local civics worksheet, and take the practice exam without an account. Three milestones earn the Citizenship Basics badge: score at least 70% in one practice session, fill in all eight local worksheet answers, and get at least 12 of 20 correct on the practice exam. The worksheet helps you prepare, and you can take the practice exam without completing it. The real citizenship test is a separate, optional step for future citizens. Try the test. Every blueprint is checked against the C4PC rubric.
Where it stands
Every step is written down and built. The first member earned the badge on November 5, 2026, which tested steps 2 to 9 in use, including the site bringing the badge back on another device. What's still open is mostly Checked: automated tests that would catch a mistake if the code changed.
The steps
- The questions are the official ones
The 2025 bank of 128 questions from U.S. Citizenship and Immigration Services, with the source linked (saved copy).
- Stated
- Enforced
- Checked: open
- Tested in use: open
- Practice runs in 20-question sessions
About four in five are questions you haven't tried yet, with a review of the ones you missed.
- Stated
- Enforced
- Checked: open
- Tested in use: by 1 member
- The practice goal is 70%
14 of 20 in one session, a little above the real test's 60%.
- Stated
- Enforced
- Checked: open
- Tested in use: by 1 member
- The practice exam uses the real format
20 questions drawn from all 128, and 12 right to pass. Unlike the real test, it doesn't stop early: you answer all 20, then mark your own answers. Then it shows where a real officer would have stopped, at 12 right or 9 wrong.
- Stated
- Enforced
- Checked: proven
- Tested in use: by 1 member
- The exam is never locked
It shows your best practice score, but you can always take it anyway.
- Stated
- Enforced
- Checked: open
- Tested in use: by 1 member
- You fill in your eight local answers
Your governor, your senators, your representative and the rest.
- Stated
- Enforced
- Checked: open
- Tested in use: by 1 member
- The badge comes when steps 3, 4 and 6 are done
The date you earned it is recorded.
- Stated
- Enforced
- Checked: open
- Tested in use: by 1 member
- Once earned, the badge is kept
Even if you restart the quiz or clear your answers. For members who are signed in, the site restores it if your browser loses it.
- Stated
- Enforced
- Checked: proven
- Tested in use: by 1 member
- C4PC knows when a member earns it
Only that you earned it, and the date. Never your scores.
- Stated
- Enforced
- Checked: partly
- Tested in use: by 1 member
Two rules, proven
Two of the rules above are proven mathematically, with the proof assistant Lean (saved copy). A proof shows a rule, as written, can't go wrong.
- The exam always reaches a verdict. With 20 questions, you either get 12 right or 9 wrong, because 11 right leaves 9 wrong. No one is ever left stuck.
- Once earned, kept. Nothing in the rule ever removes the badge or changes its date.
See the proofs
/-- The real test's stopping rule: 12 right or 9 wrong, out of 20. -/
def decided (right wrong : Nat) : Prop := right ≥ 12 ∨ wrong ≥ 9
/-- Whatever the answers, 20 questions always reach a verdict. -/
theorem exam_always_decides (right wrong : Nat)
(h : right + wrong = 20) : decided right wrong := by
unfold decided
omega
/-- What the browser keeps: the date the badge was earned, if it was. -/
structure Badge where
earned : Option String
/-- Award the badge if every step is done; never take it away. -/
def award (b : Badge) (allDone : Bool) (today : String) : Badge :=
match b.earned with
| some _ => b
| none => if allDone then { earned := some today } else b
/-- Once earned, kept: later checks never remove it or change its date. -/
theorem once_earned_kept (b : Badge) (d : String) (h : b.earned = some d)
(allDone : Bool) (today : String) :
(award b allDone today).earned = some d := by
simp [award, h]
Checked with Lean 4.35.0 on November 2, 2026.
What the proofs don't cover: that the site's code matches them exactly. The proofs are written from the code by hand, so if the code changed, a proof would need checking again. That's why Tested in use matters too: our rules are proven, and our results are tested.
Privacy
Your scores and practice stay in your own browser. If you're a signed-in member, C4PC keeps the fact that you earned the badge and the date, and your 8 local answers, only so you don't have to enter them again on another device, and never shared with anyone. All of it is deleted if you leave. Privacy
Story
Almost all the people I know in America are citizens because they were born in the United States - relatives, friends and coworkers. Every time I ask any of them how they think they would do taking the official citizenship test, they say they don't think they would do very well. How well do you think you would do? The best way to learn what you need to know is to first accurately determine what you don't know without it "counting against you" in the real world by taking the tests in a "sandbox". That's exactly what these practice questions allow you to do. Take a sample test and find out immediately what the answers are to any questions you don't know. And keep repeating the process until you do know them. This way we can be confident that we at least have the basic core knowledge to be "good" citizens. (By the way, even after I worked through setting up the tests, it still took me more times practicing than I expected to earn the badge.) It works just as well for someone needing to pass the test to become a citizen.
Bill Brocker, C4PC’s initial member
Scale and sustainability
- Scale: the same test already runs on two sites from one source. The same engine could run another question bank, like a state's civics test.
- Sustainability: the questions change when USCIS changes them, and local answers go stale after elections. Watching for both are steps a member could take on.
Checked against the rubric
- ✅ R1–R4: goal, steps, four marks, open steps counted
- ✅ R5 Story: the initial member’s, above
- ✅ R6 Links: linked, each with a saved copy
- ✅ R7 Across the spectrum: it's the official civics test
- ✅ R8 Privacy
- R9 AI: doesn't apply; no AI is used
Last updated November 8, 2026. “Tested by 1 member” will grow as more members earn the badge.