- UCAS course code
- HHP3
- UCAS institution code
- M20
MEng Mechatronic Engineering with Industrial Experience
Year of entry: 2024
- View tabs
- View full page
Course unit details:
C Programming
Unit code | EEEN10242 |
---|---|
Credit rating | 10 |
Unit level | Level 1 |
Teaching period(s) | Semester 2 |
Available as a free choice unit? | No |
Overview
This unit will cover the following:
Introduction to the Course: Aims, objectives and structure of the course; further reading.
Introduction to C: similarities to other modern programming languages.
Problem Representation: translation of problem specification into program structure; documenting programs.
Programming Elements: data types, operators, if-else and switch statements, loops, arrays, pointers, strings, structs, unions.
Program Structure: definition of data and functions; programs with multiple functions.
Programming techniques: anatomy of a program; formatted input/output; C idioms.
Handling Files: writing programs to read from and write to files.
Strings: definition in C: Applications with the use of string library functions.
Multi-File Programs: different approaches, including the use of IDEs; examples in C.
Aims
The C Programming unit aims to:
- Provide a foundation in practical programming skills based on C
- Provide an introduction to problem solving, data structures and algorithms
- Provide an introduction to good program design using C
Learning outcomes
On the successful completion of the course, students will be able to:
ILO 1: Demonstrate the use of basic "C" programming elements such as declarations, selection (if) statements, loops, arrays, functions and pointers, in simple programming tasks.
ILO 2: Explain the "C" development cycle: compiling, linking and executing.
ILO 3: Apply common "C" library functions to simple programming problems.
ILO 4: Work both individually and collaboratively to translate a given descriptive problem or algorithm into "C" program code using appropriate programming elements, techniques and data structures.
ILO 5: Compare and assess different programming approaches in "C" in solving a given problem.
ILO 6: Apply simple debugging techniques to programs with common errors.
ILO 7: Evaluate and appraise different approaches to developing "C" programs, including the use of Integrated Development Environments.
All above ILOs are developed and assessed.
Teaching and learning methods
Assessment methods
Method | Weight |
---|---|
Other | 20% |
Written exam | 80% |
One programming assignmnet:
This makes up 10% of the overall unit.
Online Blackboard Quiz:
This is made up of 5 timed quizzes which makes up 2% each of the overall unit (10% in total).
Feedback methods
.
Recommended reading
C programming : a modern approach, King, K. N., W W Norton & Company, 2008, ISBN: 9780393871845;
Effective C An Introduction to Professional C Programming, Seacord, Robert C., No Starch Press, 2020, ISBN: 9781718501058;
GNU scientific library : reference manual, Galassi, Mark.; Gough, Brian., Network Theory, 2003, ISBN: 0954161734;
The pragmatic programmer : your journey to mastery, Thomas, David, Addison-Wesley, 2019, ISBN: 9780135957035.
Study hours
Scheduled activity hours | |
---|---|
Lectures | 13 |
Practical classes & workshops | 28 |
Independent study hours | |
---|---|
Independent study | 59 |
Teaching staff
Staff member | Role |
---|---|
Alex Casson | Unit coordinator |