Programming
Knowledge
Check
A focused set of questions covering core programming concepts - from data types and control flow to functions and debugging patterns.

10 questions
Covers variables, loops, functions, and common runtime errors across multiple languages.
Instant feedback
Each answer reveals a brief explanation so you understand the reasoning, not just the result.
Score summary
Your final score appears after the last question - you can retake the quiz as many times as needed.
Test what you know
Select one answer per question. After submitting, each question shows whether your choice was correct and explains why.
Which of the following correctly declares a constant in JavaScript?
What does the following Python snippet print?
print(type(3 / 2))
In most languages, which loop is best suited when the number of iterations is known in advance?
What is the output of console.log(typeof null) in JavaScript?
Which data structure follows a First-In, First-Out (FIFO) principle?
What does Big O notation O(1) describe about an algorithm?
In object-oriented programming, what does "encapsulation" mean?
Which HTTP method is conventionally used to update an existing resource?
What is a "race condition" in concurrent programming?
Which SQL clause filters rows after a GROUP BY aggregation?
Scroll up to review each answer and its explanation.
Getting more out of each attempt
A quiz score alone tells you little. These four habits turn repeated attempts into actual understanding.
Read the explanation first
After each wrong answer, spend 30 seconds on the explanation before moving on. Skipping it means you are just memorising positions, not reasoning.
Write the answer in your own words
Open a text file and rephrase the concept behind each question you missed. If you cannot do it without looking, you have identified a gap worth revisiting.
Retake with a gap of at least a day
Immediate retakes mostly test short-term recall. Waiting 24 hours before trying again gives spaced repetition a chance to actually work.
Connect each concept to code you have written
Abstract definitions fade quickly. Link each topic - closures, queues, HTTP methods - to a specific project or exercise you have already completed.