![]() |
Module Description |
---|
A knowledge of a computing language and how to write programs to solve physics related problems is a valuable transferable skill. It is taught though a series of practical sessions in which the students initially learn to understand the logic of the source code and are required to modify the code for a number of prepared projects. There is currently a high demand in many industries to recruit future employees who have a working knowledge of the C programming language. As a result the module now uses C in preference to Fortran, although the principles involved are applicable to almost any procedural programming language.
This module provides a general introduction to programming in C and to the basic elements of ANSI C. It is designed to give students the ability to write simple computer programs in C and to be able to understand such programs written by others. The module covers control structures (loops, if statements, switches), functions and input/output operations which are introduced using simple physics-related problems. The course forms part of a package of computing course given in the School and provides the basic training for those students wishing to take PHY3134 Computational Physics.
Students should be able to:
Guided self-study; 11 two-hour practical workshops; e-learning resources.
Four two-weekly homework assignments (10 hours each) to be completed before the end of the week following the class. A project (20 hours) to be submitted by the end of week 11.
Two-weekly homework assignments and classwork (40%), theory test (10%), project (20%), and a practical test (30%).
Performance in classwork is monitored throughout and problems discussed with individuals during the class. Advice for better programming is written on homework assignments. Results of the CA tests are discussed with individuals and a summary of common errors given to all students.
The module will be evaluated using information gathered via the student representation mechanisms, the staff peer appraisal scheme, and measures of student attainment based on summative assessment.