Dr. Mohammad Ali H. Eljinini
Course
Name: :
C Programming language
Course Number: 605213
Course Description:
(
3 credit hours: Prerequisite : 605112)
Course Contents:
1.
An overview of C
_ANSI
C standards
1
_Structure of C program
1
_The use of #define and #
include
1
_The use of printf( ) and
scanf( ) 1
_ Syntax
rules, Identifiers
1
_ Declaration of data types
1
_ Operators and punctuators 1
_ Increment and decrement
operators
1
2.
Conditional structures
_ Relational, equality,
and logical operators
1
_ The if and the else
statements and blocks 2
_ The switch and case
statements
1
3.
Loops
_ The while and do _
while loops
1
_ The for loop and nesting 2
_
The break, continue, and goto statements
1
4.
Functions
_ Function definition and
prototype
1
_ Types and storage class
of variables
_ Library functions
1
_ Call by value
_ Recursion
1
5.
Arrays, pointers and strings
_ Array declaration and
initialization
_ Multi_dimensional
arrays
_ Arrays as function
argument
_ The address operator
and pointer
_ Declaration of pointers
_
Call by refrence
_ The relationship
between arrays and pointers
_
Arrays as function arguments
1
_ Dynamic memory
allocation
1
_
Arrays of pointers
_ Strings
1
_
String handling functions in the standard library
6.
Files
_
Opening and closing of a file
_
Writing to and reading from a file
Lab assignments:
ÜÜÜÜÜÜÜÜÜÜÜ
The students should complete a lab assignments at the end of each course subject.
A Book on C
Al Kelley and Ira Pohl, Third edition
The
Benjamin Cummings Publishing Company
References:
THINKING
IN C Including OO
Programming with C++
P.
B. Mahapatra (Year 97)
Wheeler
Publishing
Exams
& Grades:
First Exam: 25%
Second
Exam: 25%
Final
Exam: 40%
Class
Activities: 10%