DICT · Stage 2 practice
Hands-on exercises, mapped to coverage
Each spec sheet is a console program to build in your own editor: a scenario, exact input and output, a sample run, edge cases, a rubric tied to sub-skills, and reference solutions in Java and C# you can reveal when you are done.
- Per area
- 2 / 2 / 2 / 2 / 2 / 2 / 2 exercises (warm-up + exam-level)
- Capstones
- 2 six-hour rehearsals across all areas
- Grading
- None automatic. You score yourself.
Sheet 1 — Coverage matrix
16 of 16 exercises shownReference solutions are in Java and C#. The 2023 FAQ copy also lists C, C++ and Visual Basic 6.0 / .NET; the same structure carries over, but you will need your language's own file and database APIs.
| No. | Exercise | Level | Time | Data manipulation | Object-oriented programming | File handling | Database manipulation | Data structures and algorithms | Control structures | Number system | Checks |
|---|---|---|---|---|---|---|---|---|---|---|---|
| HO-01 | Name list cleaner | WU | 45m | Primary: String, Validation, ArrayList handling, Searching | not covered | not covered | not covered | not covered | Also: Conditional, Iteration | not covered | … |
| HO-02 | Class grade sheet | EX | 1h30 | Primary: Array handling, ArrayList handling, Searching, Validation, String | not covered | not covered | not covered | Also: Sorting, Searching | Also: Conditional, Iteration | not covered | … |
| HO-03 | Shape area report | WU | 45m | Also: Validation, ArrayList handling | Primary: Abstraction, Encapsulation, Inheritance, Polymorphism | not covered | not covered | not covered | not covered | not covered | … |
| HO-04 | Department payroll | EX | 2h | Also: Validation | Primary: Abstraction, Encapsulation, Polymorphism, Inheritance, Association, Aggregation, Composition | not covered | not covered | not covered | not covered | not covered | … |
| HO-05 | Log file summary | WU | 45m | Also: String, Validation | not covered | Primary: Input/output validation, Read, Create | not covered | not covered | not covered | not covered | … |
| HO-06 | Supply inventory in a CSV file | EX | 2h | Also: Validation, String | not covered | Primary: Input/output validation, Create, Read, Update, Delete | not covered | not covered | not covered | not covered | … |
| HO-07 | Contact book in SQLite | WU | 1h | Also: Validation | not covered | not covered | Primary: Create, Read, Update, Delete | not covered | not covered | not covered | … |
| HO-08 | Library loans with transactions | EX | 2h30 | Also: Validation | not covered | not covered | Primary: Create, Read, Update, Delete | not covered | not covered | not covered | … |
| HO-09 | Sort and search lab | WU | 1h | Also: Array handling, Validation | not covered | not covered | not covered | Primary: Sorting, Searching, Complexity | not covered | not covered | … |
| HO-10 | Service counter queue with undo | EX | 1h30 | not covered | not covered | not covered | not covered | Primary: Queues, Stacks | Also: Conditional, Iteration | not covered | … |
| HO-11 | Jeepney fare calculator | WU | 45m | Also: Validation | not covered | not covered | not covered | not covered | Primary: Conditional, Iteration | not covered | … |
| HO-12 | Number tools menu | EX | 1h15 | Also: Validation | not covered | not covered | not covered | not covered | Primary: Conditional, Iteration | not covered | … |
| HO-13 | Decimal to binary, octal and hex | WU | 45m | not covered | not covered | not covered | not covered | not covered | Also: Iteration | Primary: Binary, Octal, Decimal, Hexadecimal | … |
| HO-14 | Any-base converter | EX | 1h15 | Also: String, Validation | not covered | not covered | not covered | not covered | not covered | Primary: Binary, Octal, Decimal, Hexadecimal | … |
| HO-15 | Barangay clearance request desk | CAP | 6h | Also: String, Validation | Also: Abstraction, Encapsulation, Inheritance, Composition | Also: Create, Update, Input/output validation | Also: Create, Read, Update, Delete | Also: Queues, Sorting | Also: Conditional, Iteration | Also: Hexadecimal | … |
| HO-16 | Section enrollment and assessment | CAP | 6h | Also: Validation, ArrayList handling, String | Also: Abstraction, Inheritance, Encapsulation | Also: Read, Input/output validation | Also: Create, Read, Delete | Also: Sorting | Also: Conditional, Iteration | Also: Hexadecimal | … |
| Primary exercises per area | 2 | 2 | 2 | 2 | 2 | 2 | 2 | ||||
| Named in the 2023 FAQ copy | Yes | — | Yes | Yes | — | — | — | ||||
primary area also practised WU warm-up · EX exam-level · CAP six-hour capstone · Checks = self-checks ticked on this device. Hover or focus a mark to see the sub-skills.
Sheet 2 — Area record
Saved on this device onlyTick an exercise when you built it from the brief without opening the reference, inside its time box. Be strict: this record is only useful if it is honest.
Data manipulation
…String · Searching · Validation · Array handling · ArrayList handling — named in 2023 FAQ
Object-oriented programming
…Abstraction · Encapsulation · Polymorphism · Inheritance · Association · Aggregation · Composition — from your outline only
File handling
…Input/output validation · Create · Read · Update · Delete — named in 2023 FAQ
Database manipulation
…Create · Read · Update · Delete — named in 2023 FAQ
Data structures and algorithms
…Searching · Sorting · Stacks · Queues · Complexity (our breakdown) — from your outline only
Control structures
…Conditional · Iteration — from your outline only
Number system
…Binary · Octal · Decimal · Hexadecimal — from your outline only
Six-hour rehearsals
…All seven areas in one sitting
Reference solutions were compiled and run against each sample on Java 21 and .NET 8 when this site was built. Your environment at the exam may differ; see Sources for what we could and could not verify.