Dr. Mohammad Ali H. Eljinini


Course Name: : Computer Skills II (for Engineering and Science majors)

Course Number: 605113


Course Description:

( 3 credit hours: Prerequisite : 605111)

An overview of  the C  language, problem solving and program structure, Input/Output functions, conditional structures, loops, functions and recursion, arrays, and pointers. Students are required to do lab assignments.

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                                                     

 

Lab assignments:

ÜÜÜÜÜÜÜÜÜÜÜ

The students should complete a lab assignments at the end of each course subject.

  Textbook:

C How to Program

Deitel and Deitel

Prentice Hall

 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%