King Fahd University of Petroleum & Minerals

College of Computer Sciences and Engineering

ICS 103: Computer Programming in C (2-3-3)

Fall Semester 2010-2011 (2010-2)

Announcements

Grades

Important Documents

Handouts

Syllabus

Overview of computer hardware and software; Programming in C with emphasis on modular and structured programming technique; Problem solving and algorithm development; Simple engineering and scientific problems. Note: ICS 103 cannot be taken by ICS/SWE students.

         To provide engineering students with basic knowledge of programming in C and problem solving.
 

 Upon completion of the course, you should be able to:

  1. Understand and find the output of simple C programs that incorporate different types of variables, expressions (arithmetic and logical), selection, and iteration.
  2. Understand and find the output of more complex C programs containing arrays and invoking (calling) functions having input and output arguments using pointers.
  3. Design and implement simple programs using basic syntax of C language such as assignment, expressions, selection, and iterations.
  4. Practice modular programming by developing more complex C programs made of functions passing data between them using arrays, input, and output arguments.
     

Assessment Tool

Weight

Lab: 2 Tests 10%,  Lab attendance & participation 10%

20%

Lecture quizzes and homework (14% for quizes, 6% for homeworks)

20%

Midterm Exam: Thursday November 17, 2011, 10 am - 12 noon. Building 54

25%

Final Exam (comprehensive) [Date: as announced by the registrar]

35%

 

 

 

 

 

 

Wk#

Lecture

   

Lab

Covered Topics

Readings

Other Activities

   

Topics

1

Overview of Computers and Software

1.1-1.5, H1

   

   

Lab0: Introduction of lab course & check login & passwords & Distribution of Syllabus

Overview of C

2.1-2.2, H2

   

   

   

Assignment, Input and Output 

2.3-2.5, H3

   

   

Lab1: Introduction of C-Program & how to run & compile it.

Arithmetic Expressions

3.1-3.3, H4

   

   

   

2

Simple Standard Functions 

3.4,3.5, H5

Hw1 Assigned

   

Lab2: Data Types

Selection 

4.1-4.5, H6

   

   

   

Selection (cont.)    

4.6-4.7

Quiz1

   

Lab3: Expressions

Repetition     

5.1-5.5, H7

   

   

   

3

Repetition (cont.)

5.6-5.8

Hw1 Due

   

Lab4: Selection

Repetition (cont.)    

   

   

   

   

Data Files  

2.6, H8

Hw2 Assigned

   

Lab5: Repetition

Function with input Arguments

6.1, H9

   

   

   

 

4

Function with input Arguments    (cont.)  

6.1

   

   

Lab6: Data Files

Functions with output parameters (Using pointers) 

6.3 , 6.5, H10

   

   

Lab7: Functions (with input parameters)

Recursive Functions 

6.6, H11

   

   

   

5

1-D Array   

7.1-7.3, H12

Quiz2

   

Lab8: Functions (functions with output parameters using pointers & recursive functions)

1-D Array elements as Function  arguments   

7.4, H13

Hw2 Due

   

   

1-D Array elements as Function  arguments   (cont.)

7.4, H13

   

   

Lab9: 1-D Array (How to read & write elements in 1-D array)

1-D Arrays as Function Arguments  (cont.)

7.5

Hw3 Assigned

   

   

6

1-D Arrays [Linear & Binary Search (Iterative & recursive methods), Sorting (bubble & Selection sort)]

7.5, H14

   

   

Lab10: 1-D Array (How to use 1-D array with functions)

Strings   

7.6, H15

   

   

Lab11: 1-D Array (Linear & Binary (Iterative & Recursive both) Searching) & Selection & Bubble Sort)

 Strings     (cont.)

7.6

   

   

   

 

7

Introduction of 2-D Array

8.1, H16

Hw3 Due

   

Lab12: Strings

2-D Array   

8.2,8.3, H17

   

   

   

2-D Array (cont.)

   

Quiz3

   

Lab13: 2-D Array

8

Review

Final Exam

 

·     Labs: Lectures and labs are integrated and they complement each other. To pass this course, the student must pass the lab-component of the course. The requirements for the lab project will be discussed in the lab.

·     Course Website & Participation: Students are required to periodically check the course website and download course material as needed. Several resources will be posted through the website as well. Keys to quizzes and exams are generally discussed during class as time permits but solutions will not be posted. WebCT will be used for communication and interaction, posting and submitting assignments, posting grades, posting sample exams, etc. It is expected that you get benefit of the discussion board by raising questions or answering questions put by others. Up to 5% will be granted based on your active participation and the usefulness of the material you share with other students in WebCT.

·     Attendance: Regular attendance is a university requirement; hence attendance will be checked at the beginning of each lecture and lab. Late arrivals will disrupt the class session. Hence, two late attendances (more than 10 minutes) will be considered as one absence. Missing more than 9 lectures or three or more unexcused labs will result in a DN grade without prior warning. To avoid being considered as absent, an official excuse must be shown no later than one week of returning to classes. Every unexcused absence leads to a loss of 0.5% of total grade.

·     No makeup of homework, quizzes or exams will be given.

·     Re-grading policy: If you have a complaint about any of your grades, discuss it with the instructor no later than a week of distributing the grades (except for the final). Only legitimate concerns on grading should be discussed.

·     Office Hours: Students are encouraged to use the office hours to clarify any part of the material that is not clear; however the instructor will only provide hints if it is an assigned task but not solve it.

·     Academic honesty: Students are expected to abide by all the university regulations on academic honesty. Cheating will be reported to the Department Chairman and will be severely penalized. Although collaboration and sharing knowledge is highly encouraged, copying others’ work without proper citation, either in part or full, is considered plagiarism. Whenever in doubt, review the university guidelines or consult the instructor. Cheating in whatever form will result in F grade.

·    Courtesy: Students are expected to be courteous toward the instructor and their classmates throughout the duration of this course. Talking while someone else is speaking will not be tolerated. Furthermore, all cell phones must be turned off during class and exams.  In addition, students are expected to be in class on time. More importantly, you are not allowed to leave the class unless it is an urgent matter. To contact your instructor, please use email through WebCT whenever possible and avoid using phone calls or written notes. When necessary to send an email through the university email system, please indicate ICS103-083 in the "Subject" field of your email, e.g. ICS103-03: Question about homework 1.

 

  

888  Best of luck!!  888

 

 Additional Resources

  • Skills
  •