Software Engineering › How to answer › fill-in-the-blank and dropdown questions
How to answer fill-in-the-blank and dropdown questions
Some blanks you type (a word, a keyword, a value) and some you choose from a dropdown. Both are marked on exact correctness, so the method is about reading the sentence or code with each answer dropped in. From course notes
What it looks like in the real exam
From NESA material 2025 HSC: 2025 HSC exam, Q2 (two dropdowns on development approaches, 1 mark for both right), 2025 HSC exam, Q14 (dropdowns on data structures), 2025 HSC exam, Q15A (complete a data dictionary with dropdowns, 3 marks: ALL correct = 3, FIVE correct = 2, THREE correct = 1). 2025 sample: 2025 NESA sample exam, Q22A (complete a SQL query: SELECT Level, ??? FROM Students ??? BY Level, 2 marks).
Reasoned The stems of the 2025 online items and the MG answers for Q14/Q15a are images or unpublished, so I give the method and the published parts only.
Method
- Read the question, then the whole sentence, table or code before looking at a blank. From course notes
- Note the clues around each blank: the words before and after it, the column heading in a table, the data type in a data dictionary, the keyword that must pair with it (for example
GROUP+BY). From course notes - Dropdown: open it and read all the options before picking. Eliminate those that are the wrong kind of word (a noun where a verb is needed). Typed: write the exact word or code; spelling, quotes and capitals count in code. General advice
- Fill the easiest blanks first. They often reveal the harder ones (a COUNT in the SELECT line tells you the last line needs GROUP BY). General advice
- Read the completed sentence or code aloud in your head and check it makes sense and would run. From course notes
- Never leave a blank. Partial credit is usually by number of blanks correct (Q15a: 5 of 8 gets 2 marks). From NESA material
Worked example (2025 sample Q22a: complete the SQL)
2025 NESA sample exam, Q22A · 2 marks
Official marking criteria
- 2 marks: Correctly completes the SQL query.
- 1 mark: Correctly selects at least TWO correct options.
Correct completed query (reasoned; the MG answer is an image)
SELECT Level, COUNT(StudentID) FROM Students GROUP BY Level;
Notes
Open this question page · some of the NESA wording or answer is an image or is unpublished, as noted
- The question asks for “the number of students at each level”: the word number of means a count, “at each level” means group.
- Blank 1 is in the SELECT list beside
Level: a calculated value, soCOUNT(StudentID)(orCOUNT(*)). - Blank 2 comes before
BY Level: the only clause that ends in BY and groups rows isGROUP. (ORDER BYwould not count anything.) - Read it:
SELECT Level, COUNT(StudentID) FROM Students GROUP BY Level;✓. See SQL GROUP BY and SQL aggregate functions (COUNT, SUM, AVG).
Common mistakes
- From NESA material 2025 SQL marker feedback: “quotation marks around the data being searched” were forgotten, and AND/OR in the WHERE were misused. Text values need quotes:
'Pending'. - General advice Choosing a dropdown that is correct English but wrong for the context.
- General advice Typing a near-miss:
Group byis fine butGroupbyis not;Printin Python needs a lowercase p. - General advice Changing a blank answer at the end without re-reading the whole line.
Time per mark
General advice About 1 minute per mark. A 3-mark data-dictionary dropdown table is about 4 to 5 minutes because you check each cell against the scenario. Average for the whole paper is 1.75 minutes per mark.
Practice (5 items, with answers)
Item 1 · 2025 sample Q22a (NESA)
Complete: SELECT Level, ______ FROM Students ______ BY Level; (count the students at each level)
Show the answer
Answer: COUNT(StudentID) (or COUNT(*)) and GROUP. From NESA material
Item 2 · 2025 HSC Q2 (NESA)
Two dropdowns about software development approaches. The NESA marking guidelines give the answers only: dropdown 1 and 2.
Show the answer
Answer: Dropdown 1: Waterfall. Dropdown 2: Agile. From NESA material (The sentence itself is unpublished.) Read Waterfall approach and Agile approach to see which phrases belong to which.
Item 3 · original: Python blanks
Complete so it prints 0 1 2 3 4: for i in ______(5): print(i, end=' '). What goes in the blank?
Show the answer
Answer: range (range(5) gives 0 to 4). Original practice
Item 4 · original: SQL blanks
Complete: SELECT Name FROM Students ______ Year = 12 ______ Name; (list Year 12 students in A–Z order)
Show the answer
Answer: WHERE and ORDER BY: SELECT Name FROM Students WHERE Year = 12 ORDER BY Name; returns Ava, Cleo, Dan (checked by running it). Original practice
Item 5 · original: pseudocode blanks
Complete: ______ Total < 100 … Total = Total + 10 … ______. The loop must test before running.
Show the answer
Answer: WHILE … ENDWHILE. Structural words come in pairs. Original practice
Terms, flashcards and past questions
Key terms for this page: Fill in the blanks and dropdowns · SQL GROUP BY · SQL aggregate functions (COUNT, SUM, AVG) · Data dictionary
Flashcards · All key terms · Learn step by step · All past questions · Multiple-choice bank · Mock exam
Past questions used on this page:
← How to answer drag-into-order (sequencing) questionsHow to answer matching and table-completion questions →