To introduce the students to computers and teach them some basic
programming skills.
Pre-Requisite:
None
Credit Hours:
3
Contact Hours:
45 hours (lectures and tutorials)
References:
Deitel & Deitel, C How to program, 3nd Edition, Prentice Hall,
2001.
Kernighan & Ritchie, "The C Language", 2nd Edition, Prentice
Hall, 1988 (Reference).
Miller & Quilici, Joy of C, Wiley, 1993.
Course Contents
Introduction to Computers History, types of programming
languages for problem solving.
Operating Systems and File Structure Overview of various kinds
of operating systems, basic utilities, text editing, pipes, hierarchical file
systems.
Designing Programs Requirements gathering,
Specifications & Design, meaning of algorithm, usage of pseudocode and
flowcharts, Coding & Testing, Documentation, Maintenance.
Variables and Flow Control Simple variables, simple data types
including arrays, basic pointers, and records, arithmetic & logical
operators, relational operators, conditionals, loops.
Functions and Procedures Function declarations, definitions,
& prototypes, pass-by-value and pass-by-reference parameters, local and
global variables, scope, function calls, recursion.
I/O and File Operations I/O with standard input and output,
strings, files. Formatting of read & write operations. File manipulation
operations.
System Services Use of libraries, dynamic memory allocation,
making system calls from within programs.