Riphah International University Associate Degree Program
Riphah International University Associate Degree Program
Course Description:
This course is aimed at students with little or no prior programming experience but a
desire to understand computational approaches to problem solving. Since computer
programming involves computational modes of thinking, it will help to have some
mathematical and logical aptitude.
This course uses the problem driven approach to test problem solving. Interesting and
practical examples are used not only to illustrate syntax but also to teach problem solving and
programming. Each lecture is introduced with representative problems to give the students an
overview what to expect from the lecture. This course covers many application areas in math,
business, science and simulation.
Course Objectives:
Learning Outcomes:
Class attendance is mandatory. You may miss up to 25% (8 out of 32 sessions) class sessions
but save it for emergency only. In case you exceed this level, you will be withdrawn from the
course. As a courtesy to the instructor and other students, be prepared to arrive at class and be
in your seat on time. In addition, please note that each class lasts for 90 minutes (1.5 Hours).
Participation:
Students are required to attend all classes and read all the assigned material in advance of
class (although not necessarily with perfect comprehension). Advanced preparation and class
participation are crucial for periods in which we discuss cases. During discussion sessions,
the instructor generally keeps track of the insightful and useful comments students make.
(Any unproductive contribution is not rewarded)
Grade Distribution:
Evaluation Type Percentage (%)
Quizzes 10
Assignments 10
Project 10
Mid Term 35
Final Term 35
Total Points 100
Course Contents:
A Tutorial Introduction
Variable Names
Data types and sizes
Constants
Declarations
Arithmetic operators
Relational and logical operators
Bitwise operators
Assignment operators and expressions
Control Flows
Basics of functions
Functions of returning non-integers
External variables
Scope rules
Header files
Static variables
Register variables
Block structure
Initialization
Recursion
The C preprocessor
Structures
Basics of structures
Structures and functions
Arrays of structures
Pointers to structures
Self-referential structures
Table lookup
Typedef
Unions
Bit-fields