Registry
Module Specifications
Archived Version 2010 - 2011
| |||||||||||||||||||||||||||||||||||||||||
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 | |||||||||||||||||||||||||||||||||||||||||
Archives: |
|