Registry
Module Specifications
Current Academic Year 2012 - 2013
Please note that this information is subject to change.
| |||||||||||||||||||||||||||||||||||||||||||||
| 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 ONE. Introduction 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. Identifiers. Concept 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 TWO. Functions. Functional Decomposition. Function definition and invocation. Parameters. Passing by value versus passing by reference. Variable scope.. Arrays. Strings. Structures. Files.. Engineering applications. Pointers. Lists.. Add, delete, search for items.. | |||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
| Indicative Reading List | |||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
| Other Resources | |||||||||||||||||||||||||||||||||||||||||||||
| None | |||||||||||||||||||||||||||||||||||||||||||||
| Array | |||||||||||||||||||||||||||||||||||||||||||||
| Programme or List of Programmes | |||||||||||||||||||||||||||||||||||||||||||||
| BMED | B.Eng. in Biomedical Engineering | ||||||||||||||||||||||||||||||||||||||||||||
| BSSA | Study Abroad (DCU Business School) | ||||||||||||||||||||||||||||||||||||||||||||
| BSSAO | Study Abroad (DCU Business School) | ||||||||||||||||||||||||||||||||||||||||||||
| CAM | B.Eng. Mechanical & Manufacturing Eng | ||||||||||||||||||||||||||||||||||||||||||||
| CE | B.Eng. in Common Entry into Engineering | ||||||||||||||||||||||||||||||||||||||||||||
| DME | B.Eng. in Digital Media Engineering | ||||||||||||||||||||||||||||||||||||||||||||
| ECSA | Study Abroad (Engineering & Computing) | ||||||||||||||||||||||||||||||||||||||||||||
| ECSAO | Study Abroad (Engineering & Computing) | ||||||||||||||||||||||||||||||||||||||||||||
| EE | BEng in Electronic Engineering | ||||||||||||||||||||||||||||||||||||||||||||
| FEE | Open Opportunities in Engin.Course -Ext | ||||||||||||||||||||||||||||||||||||||||||||
| HMSA | Study Abroad (Humanities & Soc Science) | ||||||||||||||||||||||||||||||||||||||||||||
| HMSAO | Study Abroad (Humanities & Soc Science) | ||||||||||||||||||||||||||||||||||||||||||||
| ICE | BEng Info and Communications Engineering | ||||||||||||||||||||||||||||||||||||||||||||
| IFCCEE | Int Foundation Cert (Common Electronic) | ||||||||||||||||||||||||||||||||||||||||||||
| IFCMME | Int Foundation Cert (Common Mechanical) | ||||||||||||||||||||||||||||||||||||||||||||
| ME | B.Eng. in Mechatronic Engineering | ||||||||||||||||||||||||||||||||||||||||||||
| MWB | BSc Manufacturing Eng with Business | ||||||||||||||||||||||||||||||||||||||||||||
| SHSA | Study Abroad (Science & Health) | ||||||||||||||||||||||||||||||||||||||||||||
| SHSAO | Study Abroad (Science & Health) | ||||||||||||||||||||||||||||||||||||||||||||
| Timetable this semester: Timetable for EM108 | |||||||||||||||||||||||||||||||||||||||||||||
| Date of Last Revision | 12-MAR-07 | ||||||||||||||||||||||||||||||||||||||||||||
| Archives: |
| ||||||||||||||||||||||||||||||||||||||||||||









