






 |
|
Course Syllabus
EET
361: Programming Structures
Credit Hours:
3 sem hrs.
Text: Structured
C for Technology, Adamson, Addison-Wesley
Suppl. text: Microsoft
Quick C Programmer's Guide, Microsoft Corp. Inside Visual C++, Microsoft Press
Software:
Microsoft Quick C, Microsoft Visual C++, Microsoft Macro Assembler
Prerequisites:
SET 153L
Instructor:Prof. Amin Ismail
Date Prepared: Fall
1996
Objectives:
- Study of C from a hardware
independent point of view using Microsoft Quick C and Visual C++.
- To learn the facilities
provided by the C programming language.
- To learn program structure and
develop programs in a structured form.
To explore
applications of the C programming language in Engineering and Technology.
Topical Outline
Week 1: Introduction
Introduction to the development process using the C compiler. Familiarity with Microsoft
Quick C execution procedures.
Week 2: Data types, operators and expressions
Study of C data types and variables. Use of declarations in the C program.
Operators and expressions used in C.
Week 3: Operators
Arithmetic, Relational, Logical, assignment, and other operators. Study of the
various expressions used in conjunction with the operators.
Week 4: Flow Control
Flow control Statements and Blocks. IF statements. ELSE statements. WHILE loops, FOR
loops, DO-WHILE loops.
Week 5: Flow Control
Break and Continue statements. Using labels in a C program. GOTO statements.
Study of program examples using Flow control statements.
Week 6: Functions
Functions and Program Structure. Concepts of functions. Parameter passing.
External variables. Scope of variables. Use of header files.
Week 7: Functions
Continued study of functions: static and register variables, block structure,
initialization and recursion. Study of the C preprocessor.
Week 8 & 9: Pointers & Arrays
Study of Pointers and Arrays. Pointers & addresses. Character pointers and
functions. Pointer arrays. Multi-dimensional arrays. Pointers to functions.
Week 10: Structures
Basics of Structures. Structures and Functions Arrays of Structures, Table
lookup, Typedef. Unions. Bit fields.
Week 11: I/O
Input and Output in C. Standard I/O. Formatted I/O File access, Error handling,
Line I/O, Misc. Functions. Program examples of I/O.
Week 12: Library Functions
The standard Library functions: I/O, Character Class Tests, String and Math
functions, Utilities, Diagnostics, signals, date & time functions.
Week 13: Introduction to C++
A brief introduction to the C++ extension to the C programming language and use
of the Microsoft Visual C++ compiler.
Last Revised: September 21, 1997 |