Registry
Module Specifications
Archived Version 2011 - 2012
| |||||||||||||||||||||||||||||||||||||||||
Description The aim of the module is to develop familiarity with basic concepts and techniques of software engineering in C. The notion of a programming language will be introduced, as well as compiling and debugging issues. A selection of simple C programs will be developed first and then more complex programming issues will be introduced along with more complex programs. | |||||||||||||||||||||||||||||||||||||||||
Learning Outcomes 1. demonstrate basic and more advanced programming skills 2. apply good style in writing, improving, and modularizing programs using the C language 3. make use of functions, arrays, structured data types and pointers 4. solve quickly, creatively and efficiently complex problems 5. write programs, test and debug them. 6. apply programming techniques for building engineering applications | |||||||||||||||||||||||||||||||||||||||||
All module information is indicative and subject to change. For further information,students are advised to refer to the University's Marks and Standards and Programme Specific Regulations at: http://www.dcu.ie/registry/examinations/index.shtml |
|||||||||||||||||||||||||||||||||||||||||
Indicative Content and
Learning Activities PART ONEIntroduction to programming. A minimal C program. Translation. Execution. Translation time defects. Execution time defects. Basic programming concepts. Structure of a C source file (translation unit). Introduction to C syntax. IdentifiersConcept of identifiers. Identifier uniqueness. Syntax of identifiers in C programs. Reserved identifiers in C (keywords). Conventions and guidelines on identifier usage. Data: Concepts of data type, constants, and variables. Types int, double, char. Declaring variables. Data types for character strings, integer and rational numbers, logical values. Operators: Arithmetic, relational, logical, assignment. Expressions: Forming expressions. Introduction to I/O functions and I/O redirection. The C standard library. Sequential evaluation. Operator procedence and associativity; parentheses. Programs: Skeleton structure of a C program: the main function. Declarations and statements. Sequential, conditional, and iterative statement execution. The concept of flow of control. Types of statements: expression, if, if-else and switch statements. Compound statement. Iteration: the for and while statements. Development Cycle: Specification. Algorithm design. Coding. Compilation and linkage. Testing: selection of test cases. Exception handling. Debugging.PART TWOFunctions. Functional DecompositionFunction definition and invocation. Parameters. Passing by value versus passing by reference. Variable scope.Arrays. Strings. Structures. Files.Engineering applicationsPointers. Lists.Add, delete, search for items. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
Indicative Reading List
| |||||||||||||||||||||||||||||||||||||||||
Other Resources None | |||||||||||||||||||||||||||||||||||||||||
Programme or List of Programmes |
BMED | B.Eng. in Biomedical Engineering |
CAM | B.Eng. Mechanical & Manufacturing Eng |
CE | B.Eng. in Common Entry into Engineering |
ECE | BEng Electronic & Computer Engineering |
ME | B.Eng. in Mechatronic Engineering |
- See the module specification for EM108 in 2003 - 2004
- See the module specification for EM108 in 2004 - 2005
- See the module specification for EM108 in 2005 - 2006
- See the module specification for EM108 in 2006 - 2007
- See the module specification for EM108 in 2007 - 2008
- See the module specification for EM108 in 2008 - 2009
- See the module specification for EM108 in 2009 - 2010
- See the module specification for EM108 in 2010 - 2011
- See the module specification for EM108 in 2011 - 2012
- See the module specification for EM108 in 2012 - 2013
- See the module specification for EM108 in 2013 - 2014
- See the module specification for EM108 in 2014 - 2015
- See the module specification for EM108 in 2015 - 2016
- See the module specification for EM108 in 2016 - 2017
- See the module specification for EM108 in 2017 - 2018
- See the module specification for EM108 in 2018 - 2019
- See the module specification for EM108 in 2019 - 2020
- See the module specification for EM108 in 2020 - 2021
- See the module specification for EM108 in 2021 - 2022
- See the module specification for EM108 in 2022 - 2023
- See the module specification for EM108 in 2023 - 2024
- See the module specification for the current year