There will be programming labs in most weeks, starting from semester week 2. In some weeks, there will also be assessments during the labs.
Labs take place in the computer lab rooms on the ground floor in the CSIT building (#108). Lab times and rooms are detailed in the course timetable. Because seats in lab rooms are limited, every student must sign up to a lab group on wattle.
The lab computers run the GNU/Linux operating system. The first lab (in semester week 2) will provide some introduction to working with the lab computers.
The Labs#
- Lab 1: Introduction to the CECS computing environment and programming the robot simulator. (Semester week 2.) PDF version
- Lab 2: Expressions, values and data types, and functions that compute them. (Semester week 3.) PDF version
- Lab 3: Branching and iteration. (Semester week 4.) PDF version
- Lab 4: Debugging, and introduction to sequence types. (Semester week 5.) PDF version
- Lab 5: Strings, and more about sequence types. (Semester week 6.) PDF version
- Lab 6: Data analysis (Semester week 7.) PDF version
- Lab 7: Mutable types and references, namespaces, and recursion. (Semester week 8.) PDF version
- Lab 8: Working with files. (Semester week 9.) PDF version
- Lab 9: Dictionaries. (Semester week 10.) PDF version
- Lab 10: Exam problems. (Semester week 12.)
Software#
We will be using the python programming language, version 3. Python has two major versions, 2 and 3. They are quite similar, and with small work-arounds python 2 can be made to behave much like python 3. However, assignment solutions will be tested with python 3 in the CSIT lab environment, and must work in this setting.
The CSIT lab environment has the Anaconda distribution of python version 3.6.1 installed. The Anaconda distribution provides a set of additional modules that enable more efficient mathematical programming and some graphical data presentation tools, which we will make a little bit of use of in the course. The InfoCommons computers on campus (for example, the computers found in ANU libraries, and in lecture theatres) also have Anaconda python installed, but version 3.5.2. There should not be any noticeable difference between these two versions.
Many students will want to install python on their own computers. Several implementations of the python language are freely available for all major operating systems. Some general advice for installing python will be provided here. However, the lecturer and tutors do not provide tech support for problems with your own computer.