Go: final assessment
This covers the whole course. Take it after the last module.
Final quiz
Practical assessment: A library loans program
Without using hints, write a Go program that manages a small library from commands read on the input, in the style of the last lesson.
- Types for books and members and a Library type whose methods enforce the loan rules
- A limit of two loans per member and a clear error for every broken rule
- A command loop with bufio.Scanner and a switch
- A report in alphabetical order that is the same on every run
Final project
A command-line task manager: Build a program that keeps a list of tasks and obeys commands from the input: add a task, mark it finished, list the tasks, show counts and remove one. Every mistake in a command is reported clearly and the program carries on.
How it is evaluated
- Correctness: every command gives the expected result and invalid ones change nothing
- Design: small types with methods and a short main
- Errors: every problem is returned as an error and shown with a clear message
- Clarity: names, layout and output are easy to read
To complete this course
- Score at least 70% on the final quiz
- Solve the easy, medium and hard exercise in every lesson
- Finish the final project and check it against the evaluation criteria