LECTURES: 2 hrs per week Autumn 1-9 & 1 hr per week Spring 8-9 total 20 Hrs
LABORATORIES: 2 hrs per week Autumn 2-11 & Spring 1-11 total 44 Hrs
SELFWORK: 36 Hrs
Lecturers:
The C Language Autum wk 1-9 Two hrs per week (RB)
[1] Introduction, origins of C, Advantages and Disadvantages of C, general course overview, introduction to labs etc.
[2] Binary Representation, decimal, binary, octal and hexadecimal number system. Boolean operations, Binary arithmetic.
[3] Hardware and Software, Computer Hardware, Operating Systems, Memory Structures, Machine Code, High-low level languages, Compilers and linkers, Program Layout, Pre-processor, ANSI standard.
[4] Simple Data Types, Variables, Variable Definitions, Identifiers (data types), Constants, Characters and String Constants, Using #define.
[5] Standard IO, Data Types, printf and formatting, format sequences, scanf, problems with scanf, Reading Characters - getchar, Detecting Keystrokes, Keyboard Buffering, Detecting Invalid Input.
[6] Operators, Expressions and Statements, Integer Expressions, Floating Point Expressions, Assignment Statements, Arithmetic Operators, unary Operators, Precedence, Math Functions, Overflow and Underflow, Mixed Type Expressions, Type Casting, Increment and Decrement Operators.
[7] Making Decisions, Conditional statements, if…else, case statements.
[8] Looping, the for statement, while loops, do…while loops.
[9] Arrays, Array Concepts, Array Definitions, Array Subscripts, Passing Arrays.
[10,11] Basics of Pointers, Pointer concepts, Defining Pointers, The Operator, Assigning Pointers, Pointer Indirection, null Pointers, Pointers as Parameters, Arrays as Parameters, Pointers as Return Values, Absolute Addressing.
[12] Strings, String variables, I/O of Strings, String Assignments, String Comparison, Case Conversion, Library Functions, Value Conversions.
[13] Basics of Functions, Simple Procedural Functions, Parameterised Function, Function with Return Values, Local & Global Variables, the main function, Scope.
[14] More functions, pass by reference vs pass by value
[15] Files, File Structure, Opening and Closing Files, Writing to Files, Reading Files,W User Specified Files.
[16] Data Structures, Concept of Structure, Declaring New Data Types, Declaring a Structure, Defining Structured Variables, Accessing Structured Variables, Array of Structures, Passing Records to Functions, Returning Structures.
[17-18] Review of Pointers.
MATLAB Spring wk 8 & 9 one hr per week (TB)
[19-20] Introduction to MATLAB, comparisons of MATLAB with C, matrix algebra, simple operators for matrices, MATLAB desktop interface.