Coding Fundamentals Practice Test
Twenty-five original questions on the ideas every programming language shares: variables and types, conditionals and loops, writing and calling functions, choosing between a list and a dictionary, reading an error message, using version control, and the intuition for why one approach is slower. Instant scoring, a breakdown showing where the gaps are, and an explanation behind every answer.
For information and self-assessment only, to help you prepare. Always refer to the official certifying body's own materials and content outline as the source of record.
Official body: freeCodeCamp ↗ — a free, widely used curriculum with verifiable certifications; there is no single industry-standard entry credential for programming
What it covers
25 questions across 7 topics, scored by topic so you can see where the gaps are rather than just how many you missed:
- Variables and types
- Control flow
- Functions
- Data structures and complexity
- Loops and iteration
- Debugging
- Version control
Ready when you are
25 questions, about 25 minutes. Nothing is sent anywhere — the whole thing runs in your browser, and no account is needed.
Frequently asked questions
Is this a certification exam or a copy of one?
Neither. Every question is written from scratch to cover the concepts an introductory programming course or entry-level certification covers. Reproducing questions from a real exam would breach copyright and, for most certifications, the agreement candidates sign. It would also teach you the wrong thing, since recognizing an item is not the same as understanding the idea.
What score means the fundamentals have landed?
Seventy percent is the threshold used here, and an even spread across topics is the better signal. Programming gaps compound: someone comfortable with loops but unclear on how functions receive arguments will hit a wall the moment programs get longer. The breakdown by topic is there so a good average cannot hide that.
How long does it take and how should I use it?
About twenty-five minutes, near a minute per question. The most useful pattern is to sit it before studying, write down the two weakest topics, then work through those specifically rather than starting at the beginning of a course you have partly outgrown. Retake it a week later to see what actually moved.
Which programming language do I need to know for this?
None in particular. The questions are written in plain language about ideas that appear in Python, JavaScript, Java, C sharp and most other languages, because those ideas transfer and syntax does not. Where an example uses concrete notation it is explained in the question itself, so no prior language choice is assumed or required.