MAU11601 Introduction to programming
Module Code | MAU11601 |
---|---|
Module Title | Introduction to programming |
Semester taught | Semester 1 |
ECTS Credits | 5 |
Module Lecturer | Prof. Colm Ó Dúnlaing |
Module Prerequisites | N/A |
Assessment Details
- This module is examined in a 3-hour take-home exam at the end of Semester 1.
- Continuous assessment contributes 50% towards the overall mark.
- Re-assessment, if needed, consists of 100% exam.
Contact Hours
11 weeks of teaching with 3 lectures per week.
Learning Outcomes
On successful completion of this module, students will be able to
- Write simple C programs efficiently.
- Understand computer representation of data.
- Simulate simple routines, recursive or otherwise.
- Formalise and verify the correctness of some simple programs.
Module Content
- Hexadecimal numbers, machine code, assembler code, C and C++.
- Basic data types char, short, int, long, float, double, pointer.
- Integer arithmetic, variables, assignment statements.
- Arrays and initialisation, for-loops, while-loops and output.
- Command-line arguments, functions and subroutines.
- C string library, pointers, malloc() and calloc().
- Structured types in C, brief introduction to C++.