HKU Law · LLB · Elective
LLAW3301
Computing for lawyers: automation and prediction
Assessment and pre-requisites
- Assessment: 10% class participation, 40% quizzes, 50% final examination
From HKU Law's course lists and the 2026-27 regulations. Check your own cohort's version.
This course provides law students with no prior experience a conceptual primer on classical programming and machine learning through an introduction to the Python language. We drill down on core ideas, focusing not on training software developers, but on equipping future lawyers with the literacy to understand, evaluate, and leverage technology effectively in their own practice.
Read moreShow less
The course emphasizes hands-on, practical learning through interactive lectures, guided in-class coding exercises, and structured lab sessions. Programming topics to be covered include:
• Variables and Data: Variables are named containers storing data (text, numbers, true/false values, inputs and outputs). Data types define how the computer interprets values.
• Logic and Decisions: Boolean logic is a system of reasoning based on true/false values and operations like AND, OR, NOT. Programs make decisions using if/elif/else blocks based on conditions.
• Loops and Repetitions: Repeating actions with for (iterate over a known set) or while (repeat until a condition changes).
• Data Structures: Organizing data into collections such as lists and dictionaries
• Functions and Reusability: Abstraction hides complex details, exposing only essential features to simplify programming. Encapsulating reusable code into named functions with inputs (parameters) and outputs (return values).
• Machine Learning: Using algorithms to enable computers to learn patterns and make predictions from data. Evaluating the quality of predictions. Students will be assessed on a distinction/pass/fail basis.
Course description from HKU.
- Assessment
- 50% exam
- 50% coursework
- Recommend
- –
- Workload
- –
- more stars = heavier
- Grading
- –
Reviews (0)
No reviews yet. If you have taken this course, yours would be the first.