Matua Doc

Matua Doc

Level 3 database assessment 2026

Summative assessment

  • A summative assessment is used to determine your grade for an achievement standard.
  • After you submit, your work will be marked, moderated, and grades will be uploaded to KAMAR.
  • It is held under real assessment conditions — any violations result in an instant Kāore i whīwhī/Not Achieved grade.

Assessment conditions

  • 🗓️ You have five (5) spells in which to complete your task.
    • 🏫 You may work on this assignment at home.
    • 🕰️ Due to being able to work on this at home, no Extra Time will apply.
  • 💬 You may not communicate with anybody other than your kaiako.
    • 🚻 If you need to use the bathroom, let your kaiako know.
    • 🚾 You will not be allocated extra time to compensate for your absence.
  • 🌎 You may consult the web, API documentation, etc.
    • You may also consult:
      • the resources posted to this website
      • the cheat sheet
      • your previous database work from this and last year
      • SQLite documentation
      • LibreOffice Base documentation
      • DB Browser for SQLite documentation
  • 📖 You must not submit database work that you did not 100% create as your own. This includes:
    • work copied from your neighbours
    • database structures copied from outside sources
    • database designs or SQL generated by a large language model, such as Copilot, ChatGPT, etc.

Database assessment criteria: Paetae/A

Use complex techniques to develop a database involves:

  • designing the structure of the data
  • using appropriate tools and appropriate techniques to organise, query and present data for a purpose and end users
  • applying appropriate data integrity and testing procedures
  • addressing relevant implications — you will get this for free

Database assessment criteria: Kaiaka/M

Use complex techniques to develop an informed database involves:

  • using information from testing procedures to improve the quality of the outcome
  • structuring, organising and querying the data logically

Database assessment criteria: Kairangi/E

Use complex techniques to develop a refined database involves:

  • iterative improvement throughout the design, development and testing process
  • using efficient tools and techniques in the outcome’s production
  • presenting the data effectively for the purpose and end users

Complex database techniques

Complex techniques will include a selection from:

  • structuring the data using multiple tables or nodes
  • creating queries which insert, update or delete to modify data
  • creating customised data displays from multiple tables or nodes, such as reports, PDFs, web pages, dashboards, or program interfaces
  • dynamically linking data between the database and a front-end display
  • applying data access permissions as appropriate to the outcome

Task

::: {.task} Bungee High School’s Japanese Department is struggling to keep track of classroom resources.

The department owns a large number of items including:

  • textbooks
  • manga
  • readers
  • flashcard sets
  • cultural resources
  • games
  • electronic devices

Currently, resources are tracked informally, resulting in:

  • resources being misplaced
  • students forgetting to return borrowed items
  • duplicate purchases being made
  • teachers being unable to quickly determine what resources are available

The Head of Department has asked you to develop a database system that allows staff to manage the department’s resources and loans.

The database should allow users to:

  • view information about all resources owned by the department
  • categorise resources appropriately
  • record who has borrowed a resource
  • record when resources were borrowed and returned
  • record the condition of th eresources when loaned/returned
  • identify which resources are currently available
  • identify which resources are currently on loan
  • identify overdue loans
  • produce useful reports for staff

The final outcome must provide an effective way for staff to organise and retrieve information.

Bear in mind, these staff members are NOT experts in technology. Many of them are older staff who have difficulty reading small text and definitely can’t use dark mode.

Student librarians who use the system won’t be able to type in Japanese characters but they will be able to type macrons.

The reports on overdue loans (if you choose to include them) will be printed every couple of weeks.

Database requirements

The database must include:

  • stored item records
  • stored borrower/user records
  • stored loan, hire, rental, or booking records
  • queries that retrieve meaningful information
  • queries that work across related tables
  • evidence that data integrity has been considered and tested
  • reports and/or forms (or other form of display) suitable for the end user’s needs

Your database must include at least TWO (2) of the following:

  • querying data from multiple tables, such as showing the borrower’s details for a loan
  • filtering and ordering queries, such as:
    • filtering to only showing currently borrowed items
    • sorting by name, due date, item category, or loan status
  • editing records, including any ONE (1) of:
    • inserting new records
    • updating existing records
    • deleting appropriate records

Data requirements

Use the data below in your database:

Loan Date Due Date Return Date Borrower Name Borrower Type Year Level Email Item Name Item Category Item Condition
2026-02-10 2026-02-24 2026-02-22 Aroha Smith Student 11 asmith@school.nz Genki I Textbook Textbook Good
2026-02-15 2026-03-01 2026-02-28 Liam Patel Student 12 lpatel@school.nz Tonari no Totoro DVD Movie Excellent
2026-03-03 2026-03-17 Emma Wilson Student 13 ewilson@school.nz Noruwei no Mori Novel Good
2026-03-10 2026-03-24 2026-03-21 Noah Brown Student 10 nbrown@school.nz Spirited Away Blu-ray Movie Fair
2026-03-15 2026-03-29 Emma Wilson Student 13 ewilson@school.nz Ryū no Haisha Novel Good
2026-04-01 2026-04-15 2026-04-12 Jack Thompson Student 11 jthompson@school.nz Hiragana Flashcards Flashcards Excellent
2026-04-10 2026-04-24 Mia Williams Student 13 mwilliams@school.nz Tōkyō Monogatari DVD Movie Good
2026-05-01 2026-05-15 Aroha Smith Student 11 asmith@school.nz Shōgun (Japanese Edition) Novel Fair
2026-05-12 2026-05-26 2026-05-20 James Lee Staff Staff jlee@school.nz Rashōmon DVD Movie Good
2026-05-20 2026-06-03 James Lee Staff Staff jlee@school.nz Kokoro by Natsume Sōseki Novel Good

Presentation requirements

Data must be presented in an appropriate way for the purpose and end users.

This includes:

  • clear field names
  • clear report or form headings
  • dates shown in standard New Zealand date format
  • currency, if used, shown in New Zealand dollars with two decimal places
  • reports or displays that are easy to read
  • data from multiple tables presented clearly where appropriate
  • easy to read, with appropriate sizing and colours

Examples of useful reports or displays include:

  • all available items
  • all unavailable items
  • current loans
  • overdue loans
  • borrower loan history
  • item loan history
  • items grouped by category
  • loans ordered by due date

Testing

You must test both the database structure and the database outcome.

You should test at least the following parts of the database:

Test Input Expected
Add item valid item details item added to database
Add borrower valid borrower details borrower added to database
Add loan valid item and borrower loan added to database
Add loan invalid item ID database correctly rejects the loan
Add loan invalid borrower ID database correctly rejects the loan
Edit item change an item’s name item updated
Edit borrower change borrower details borrower updated
Delete item item with no loan history item deleted, if appropriate
Delete item item linked to a loan database prevents unsafe deletion, or handles it appropriately
Search item item name matching records shown
Search item item ID one item, or no item, shown
Search borrower borrower name matching records shown
Search borrower non-existent borrower name no records found
View available items run availability query only available items shown
View unavailable items run availability query only unavailable items shown
View current loans run current loans query only active loans shown
View returned loans run returned loans query only completed loans shown
Sort items order by name items shown alphabetically
Sort loans order by due date loans shown in due date order
Multi-table query show loan with borrower and item details correct related data shown

You must also record evidence of errors occurring purely within your database.

You can use SQLite editor, DB Browser for SQLite, LibreOffice Base, or another suitable database tool to test:

Test Input Expected
Nullable field skip this field row added to database
Non-nullable field skip this field database correctly rejects the row
Data types correct data type for all fields within each table row added
Data types incorrect data type, such as text in a number field database correctly rejects the row
Unique field use a value that has not been used before row added
Unique field repeat a value that must be unique database correctly rejects the row
Foreign key use valid primary key from another table row added
Foreign key use non-existent primary key database correctly rejects the row
Foreign key use invalid data type for foreign key database correctly rejects the row

Evidence you must submit

You must submit evidence of:

  1. Your completed database file.
  2. Your Entity Relationship Diagram.
  3. Your final table structures.
  4. Your queries.
  5. Your forms, reports, dashboards, or customised displays.
  6. Your testing table.
  7. Evidence that your testing led to improvements.
  8. Screenshots or exported files showing the database working.
  9. A short explanation of how the database meets the purpose and end users’ needs.

For Kaiaka/M and Kairangi/E, your evidence should clearly show that you improved your database after testing.

For Kairangi/E, your evidence should clearly show iterative improvement throughout the design, development, and testing process. The presentation of information must also be appropriate.

  • Cheat sheet
  • SQLite documentation
  • DB Browser for SQLite
  • LibreOffice Base documentation
  • Crow’s feet ERD notation