UQ MATH2504
Programming of Simulation, Analysis, and Learning (Data) Systems (Semester 2, 2025)


This course introduces programming as well as software architecture and development with a focus on numerical mathematics, computer algebra, statistics, and data analysis. Students learn to implement algorithms using sound software practices to create organized, maintainable, and extendable code.

This course is intended for Mathematics students in their fourth semester or higher, with prior knowledge of calculus, linear algebra, basic statistics & probability, and some elementary discrete mathematics. While the first unit introduces basic programming, students are expected to have some experience with scripting languages (e.g., Julia, R, MATLAB, Python) and be familiar with code, variables, loops, and conditionals.

The bulk of MATH2504 is taught by industry professionals, with this year's lecturers being Dr. Andy Ferris and Dr. Claire Foster. The course was introduced and previously coordinated by AProf. Yoni Nazarathy and also taught by industry professional Dr. Paul Bellette. Both are still involved with course construction. A part of the course is taught by Dr. Paul Vrbik and supporting videos for algebra are by Dr. Sam Hambleton. The course coordinator starting from 2025 is Dr. Dietmar Oelz (Ölz) (d.oelz@uq.edu.au).

There is also a guest perspective seminar by industry professional Dr. Anna Foeglein .

The casual academics supporting the course this year are Alistair Falconer, Amitai Rosenbaum, Jack Litfin, Jay Parfitt, Mittun Sudhahar and Tina Moghaddam.

The programming language for this course is the Julia language. Julia is a modern compiled programming language which solves the two-language problem usually present in scientific computing and data science/Machine Learning applications: It is in many ways is easy to work with, similarly to other scripting languages, with a syntax particularly adapted to Mathematics. However, Julia also allows one to create efficient, well-structured code, on par with languages such as C++ and Fortran.

The course content is broken into 8 study units and 5 assessment items. The course is delivered via 3h of weekly lectures which involve both live demonstrations and theory. There is also a perspective seminar presented by a guest speaker aimed at presenting students with further insights about mathematicians and statisticians working with software in industry.

There are also weekly practicals of two types: standard practicals (PRA1) and support practicals (PRA2). Standard practicals cover core material associated with assessment at the base level of the course, while support practicals are a means to offer support to students dealing with more basic issues regarding assessments. It is recommended for all students to attend the standard practicals. For students that have less programming background or require extra help with assignments it is recommended to attend one or more of the support practicals. In any case, since practicals are two hours long, it is recommended to use the practical time to receive help for assessment tasks. Practicals are scheduled on most weeks including the first week.
To prepare for the course, please install the latest version (1.11.x) of the Julia programming environment from the Julia website on your computer, run it and start by evaluating simple sums of two numbers.

Key Links

Pillars of Study and Goals

There are 4 main pillars of study in this course:

  1. The use of a variety of features of a programming language (Julia in this case).
  2. Technical tools such as: Unix, git, IDEs and Jupyter.
  3. Mathematical and statistical algorithmic concepts, their theoretical analysis, and implementation.
  4. Solid software development practices - with a view towards employability.

Ideally, after completion of this course a student will have the ability to continue self study of software and programming concepts after getting a 'jump-start' via this course. The student would ideally be able to work independently on projects for more advanced third and fourth year courses, and/or produce efficient code as part of Honours or higher degree research. Importantly, the student would have tools for contributing to open sourced projects, startup-teams, and be hirable in analytic software focused jobs in industry.

Clearly a one semester course cannot transform a mathematician into a software engineer, however we hope that through the course content, students will be able to further themselves on such a path if needed.

Study Units

The course is composed of the following 8 study units. Each of the units feeds most of the pillars of study. The early units build up basic Julia, computer science, and tooling knowledge (mostly pillars 1 and 2), whereas the later units focus on deeper mathematical stories, mostly feeding pillars 3 and 4. Specifically with respect to pillar 3 (mathematical and statistical algorithmic concepts), there are four main concepts: numerical mathematics and ODEs (Unit 4), computer algebra systems (Unit 6), Monte Carlo and discrete event simulation (Unit 7), and data processing (Unit 8). Clearly some of these concepts are often taught (often at greater depth) in other specialized courses. However in this course, the focus is software implementation.

Here is detail of the content of each of the Units:

Assessment

These are the 5 assessment items. The first 4 are due during semester and worked on progressively during the course. The last item is due during the final exam period. The course does not have a final exam. BigHW and Project 2 are to be worked on in pairs (or groups of 3 in special cases). The other items are individual.

See submission instructions below.

Schedule


Here is the schedule listing the lecturers, units of study, practical activity per week, and assessment. As an aid, also see the 2025 UQ Calendar.

Week Monday
Date
Monday
5pm
Monday
6pm
Tuesday
6pm
Standard
Practical
Support
Practical
Assessment Due
(Friday)
Consultation Hour
1 Jul-28 Unit 1 (DO*) Unit 1 (DO) Unit 1 (DO) A DO
2 Aug-4 Unit 1 (DO) Seminar (AFg) Practice
Quiz
B DO
3 Aug-11 Unit 2 (AF) Unit 2 (AF) Unit 2 (AF) B AF, DO
4 Aug-18 Unit 2 (AF) Unit 3 (AF) Unit 3 (AF) C AF, DO
5 Aug-25 Unit 3 (AF) Unit 3 (AF) Unit 4 (AF) D AF, DO
6 Sep-1 Unit 4 (AF) Unit 4 (AF) Unit 5 (CF) - - BigHW AF, DO
7 Sep-8 Unit 5 (CF) Unit 5 (CF) Quiz - - CF, DO
8 Sep-15 Unit 6 (PV) Unit 6 (PV) Unit 6 (PV) E PV, DO
9 Sep-22 Unit 6 (PV) Unit 6 (PV) Unit 6 (PV) E Project 1 PV, DO
Break
10 Oct-6 - - Unit 7 (CF) F CF, DO
11 Oct-13 Unit 7 (CF) Unit 7 (CF) Unit 7 (CF) F CF, DO
12 Oct-20 Unit 7 (CF) Unit 8 (CF) Unit 8 (CF) E/G Project 2 CF, DO
13 Oct-27 Unit 8 (CF) Unit 8 (CF) Unit 8 (CF) G CF, DO
Exam period Project 3
(Due Nov 20)

* All four lecturers, AF, CF, PV, and DO are introduced in the first lecture.

Standard Practicals

There are 9 standard practicals (A-I) in total and this is a description of each practical.

Support Practicals

Students may choose to join support practicals (PRA2) in addition to the standard practicals. If scheduling allows students may even join more than one such practical. In the support practicals, a casual academic helps the students with individual questions related to the course material or (non-quiz) assessments.

Assessment Submission instructions

Software Installation

It is recommended that you have the following on your machine:

From week 1 (or prior): From week 3 (or prior): This is the 2024 video provided by Yoni Nazarathi that describes installation of Julia:

This is a slightly older video that describes installation of Julia and IJulia (see video above first):



With the software installed, please bring your laptop to practicals (and ideally to the lectures). In exceptional circumstances, where you plan to attend a face to face practical and cannot bring your laptop, you may install Julia and the associated software on the Windows desktop machines available in the practical classroom. This is a workable solution but is not ideal. The installation may take several minutes and it is not guaranteed that it will remain on the machine over time. Hence whenever possible, bring your laptop.



Additional Resources

Here are additional resources that may be of use for the course (or for introductory Julia programming in general). None of these are mandatory as there are plenty of examples in the lecture units and practicals. That is, it is recommended that you try running every bit of code from the lectures and practicals, investigate it, look at the Julia help to explore. Nevertheless, you may find some of these additional resources helpful as well:





Back to top