Study abroad in Edinburgh

Course finder

Semester 1

Programming and Data Analysis (PHYS08049)


Physics and Astronomy





Normal Year Taken


Delivery Session Year



This course is only available to students with the College of Science and Engineering who are taking the majority of their credits in the School of Physics and Astronomy.

Course Summary

This course provides an introduction to computer programming and data analysis. It serves as a preparation for further study in some physics-related degree programmes, and as a stand-alone course for students of other disciplines, including mathematics, chemistry, geosciences, computer science and engineering. The course consists of laboratory sessions and workshops to develop understanding, familiarity and fluency.

Course Description

Scientific Programming- Introduction to python programming, basics of Linux, executing programmes- Data types, variables and operators- Command line and file input and output- Conditional statements, loops and lists- Importing and using python modules, mathematical functions, simple graphs- Introduction to functions- Reusable code, finding and fixing bugsData Analysis- Uncertainty, accuracy and precision- Mean value; standard deviation; error on the mean- Using a spreadsheet for data analysis- Combining uncertainties- Graphs and graph plotting- Least squares methods- Application to a real-world problem

Assessment Information

Written Exam 0%, Coursework 100%, Practical Exam 0%

view the timetable and further details for this course


All course information obtained from this visiting student course finder should be regarded as provisional. We cannot guarantee that places will be available for any particular course. For more information, please see the visiting student disclaimer:

Visiting student disclaimer