{"id":"q01-good","qid":"q01","tier":"good","question":"What does HTTP status code 404 mean?","answer":"404 Not Found means the server was reached but it has no resource at the requested URL. It is a client-side error class (4xx); the page may have been moved or deleted, or the URL may be mistyped."}
{"id":"q01-mid","qid":"q01","tier":"mid","question":"What does HTTP status code 404 mean?","answer":"It means there is an error with the website. Usually the server is down or overloaded, so you should try again later."}
{"id":"q01-bad","qid":"q01","tier":"bad","question":"What does HTTP status code 404 mean?","answer":"404 means the request succeeded and the server returned the page normally."}
{"id":"q02-good","qid":"q02","tier":"good","question":"In Python, what is the difference between a list and a tuple?","answer":"A list is mutable: you can add, remove or change items after creating it. A tuple is immutable once created. Because tuples are immutable (and hold hashable items), they can be used as dictionary keys; lists cannot."}
{"id":"q02-mid","qid":"q02","tier":"mid","question":"In Python, what is the difference between a list and a tuple?","answer":"Lists use square brackets and tuples use round brackets. Otherwise they work the same way."}
{"id":"q02-bad","qid":"q02","tier":"bad","question":"In Python, what is the difference between a list and a tuple?","answer":"A tuple can only hold numbers, while a list can only hold strings."}
{"id":"q03-good","qid":"q03","tier":"good","question":"Why does the sky look blue on a clear day?","answer":"Sunlight is scattered by the molecules in the air, and shorter (blue) wavelengths are scattered much more strongly than longer (red) ones. This is called Rayleigh scattering, so blue light reaches our eyes from every direction of the sky."}
{"id":"q03-mid","qid":"q03","tier":"mid","question":"Why does the sky look blue on a clear day?","answer":"Because of the way sunlight interacts with the atmosphere. Light gets scattered, which makes it look blue."}
{"id":"q03-bad","qid":"q03","tier":"bad","question":"Why does the sky look blue on a clear day?","answer":"The sky is blue because it reflects the colour of the oceans."}
{"id":"q04-good","qid":"q04","tier":"good","question":"What is the time complexity of binary search on a sorted array of n items?","answer":"O(log n). Each step compares the target with the middle item and discards half of the remaining range, so at most about log2(n) steps are needed."}
{"id":"q04-mid","qid":"q04","tier":"mid","question":"What is the time complexity of binary search on a sorted array of n items?","answer":"It is fast, faster than checking every item, because it splits the array."}
{"id":"q04-bad","qid":"q04","tier":"bad","question":"What is the time complexity of binary search on a sorted array of n items?","answer":"O(n squared), because it has to compare every pair of items."}
{"id":"q05-good","qid":"q05","tier":"good","question":"How do I undo my last Git commit but keep the changes in my working files?","answer":"Run git reset --soft HEAD~1 to move the branch back one commit and keep the changes staged, or git reset HEAD~1 (mixed, the default) to keep them unstaged. Avoid this on a commit you have already pushed to a shared branch; use git revert there instead."}
{"id":"q05-mid","qid":"q05","tier":"mid","question":"How do I undo my last Git commit but keep the changes in my working files?","answer":"Use git reset to go back a commit."}
{"id":"q05-bad","qid":"q05","tier":"bad","question":"How do I undo my last Git commit but keep the changes in my working files?","answer":"Run git reset --hard HEAD~1. Your changes will stay in your files."}
{"id":"q06-good","qid":"q06","tier":"good","question":"What is the boiling point of water at sea level in Celsius and Fahrenheit?","answer":"At standard sea-level pressure (1 atmosphere), water boils at 100 degrees Celsius, which is 212 degrees Fahrenheit."}
{"id":"q06-mid","qid":"q06","tier":"mid","question":"What is the boiling point of water at sea level in Celsius and Fahrenheit?","answer":"About 100 degrees Celsius."}
{"id":"q06-bad","qid":"q06","tier":"bad","question":"What is the boiling point of water at sea level in Celsius and Fahrenheit?","answer":"Water boils at 90 degrees Celsius, which is 180 degrees Fahrenheit."}
{"id":"q07-good","qid":"q07","tier":"good","question":"What is overfitting in machine learning?","answer":"Overfitting is when a model learns the training data too closely, including its noise, so it scores well on training data but poorly on new data. Common fixes are more data, regularization, simpler models, early stopping, and checking on a held-out validation set."}
{"id":"q07-mid","qid":"q07","tier":"mid","question":"What is overfitting in machine learning?","answer":"Overfitting is when a model is too big. You should always use a smaller model."}
{"id":"q07-bad","qid":"q07","tier":"bad","question":"What is overfitting in machine learning?","answer":"Overfitting is when a model is too simple to learn the training data, so it does badly on both training and test data."}
{"id":"q08-good","qid":"q08","tier":"good","question":"In SQL, what is the difference between WHERE and HAVING?","answer":"WHERE filters individual rows before grouping and aggregation happen. HAVING filters groups after GROUP BY, so it can use aggregate results such as COUNT(*) > 5."}
{"id":"q08-mid","qid":"q08","tier":"mid","question":"In SQL, what is the difference between WHERE and HAVING?","answer":"Both filter results. HAVING is used with GROUP BY."}
{"id":"q08-bad","qid":"q08","tier":"bad","question":"In SQL, what is the difference between WHERE and HAVING?","answer":"There is no difference; HAVING is just an older name for WHERE."}
{"id":"q09-good","qid":"q09","tier":"good","question":"What does it mean that photosynthesis converts light energy into chemical energy?","answer":"Plants, algae and some bacteria use light energy to turn carbon dioxide and water into glucose, releasing oxygen. The energy from light ends up stored in the chemical bonds of the sugar, which the organism can use later."}
{"id":"q09-mid","qid":"q09","tier":"mid","question":"What does it mean that photosynthesis converts light energy into chemical energy?","answer":"Plants use sunlight to make food. The food has energy in it."}
{"id":"q09-bad","qid":"q09","tier":"bad","question":"What does it mean that photosynthesis converts light energy into chemical energy?","answer":"Plants absorb oxygen and sunlight at night and release carbon dioxide, which stores the light as heat in their leaves."}
{"id":"q10-good","qid":"q10","tier":"good","question":"What is the difference between RAM and storage (like an SSD)?","answer":"RAM is fast, temporary working memory that holds the data and programs in use right now; it loses its contents when the power is off. Storage such as an SSD is slower but keeps data when the power is off, and holds your files, apps and operating system."}
{"id":"q10-mid","qid":"q10","tier":"mid","question":"What is the difference between RAM and storage (like an SSD)?","answer":"RAM is memory and an SSD is storage. More RAM makes a computer faster."}
{"id":"q10-bad","qid":"q10","tier":"bad","question":"What is the difference between RAM and storage (like an SSD)?","answer":"RAM keeps your files permanently, while an SSD is cleared every time you restart the computer."}
