| 
 Undergraduate Course: Programming and Data Analysis (PHYS08049)
Course Outline
| School | School of Physics and Astronomy | College | College of Science and Engineering |  
| Credit level (Normal year taken) | SCQF Level 8 (Year 2 Undergraduate) | Availability | Not available to visiting students |  
| SCQF Credits | 10 | ECTS Credits | 5 |  
 
| Summary | This course provides an introduction to computer programming and data analysis. It serves as a preparation for further study in physics-related degree programmes (and is open to students on these degree programmes only). The course consists of laboratory sessions and workshops to develop understanding, familiarity and fluency. |  
| Course description | Scientific Programming - Introduction to python programming and Jupyter notebooks
 - 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
 - Brief Introduction to Object Oriented Programming
 - Reusable code, finding and fixing bugs
 
 Data 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
 |  
Course Delivery Information
|  |  
| Academic year 2025/26, Available to all students (SV1) | Quota:  250 |  | Course Start | Semester 1 |  Timetable | Timetable | 
| Learning and Teaching activities (Further Info) | Total Hours:
100
(
 Supervised Practical/Workshop/Studio Hours 33,
 Programme Level Learning and Teaching Hours 2,
Directed Learning and Independent Learning Hours
65 ) |  
| Assessment (Further Info) | Written Exam
0 %,
Coursework
100 %,
Practical Exam
0 % |  
 
| Additional Information (Assessment) | The course is made up of two parts Scientific Programming and Data Analysis, both parts are assessed on a pass/fail basis.
 Each part must be passed individually
 |  
| Feedback | Not entered |  
| No Exam Information |  
Learning Outcomes 
| On completion of this course, the student will be able to: 
        Present a record of a computation or data analysis in an appropriate, clear and logical written form (e.g. fully documented computer code or annotated spreadsheet), augmented with figures and graphs where appropriateAssess whether an output from data analysis or a computer program is physically reasonableLocate and use additional sources of information (to include discussion with peers where appropriate) to resolve problems that arise in the computational physics laboratoriesExplain the importance of reproducibility of scientific work, and the role that quantitative statements of confidence in results play in achieving thisTake responsibility for learning by attending laboratory sessions and workshops, and completing coursework |  
Additional Information
| Graduate Attributes and Skills | Not entered |  
| Keywords | PDA |  
Contacts 
| Course organiser | Dr Philip Clark Tel: (0131 6)50 5231
 Email:
 | Course secretary | Miss Katy Brown Tel: (01316) 505310
 Email:
 |   |  |