Вы находитесь на странице: 1из 4

RIPHAH INTERNATIONAL UNIVERSITY

Associate Degree Program

Course Title : Programming Fundamentals


Course Number :
Credit Hours :3
Course Pre-requisite : Introduction to Computing
Course Duration : 16 weeks

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:

This course will help students to:


 Formulate programmatic solutions for real problems.
 Reinforce the key concepts to apply in practical life.
 Helps to increase the programming productivity of students.

Learning Outcomes:

After studying this course, students should be able to:


 Compile and execute code written in C++ language.
 Work with the elementary data types and conditional and iteration structures.
 Define and use functions, pointers, arrays, unions, and enumerations.
 Write C++ using principles of object-oriented programming.
 Write templates and manipulate the files.
 Code and use namespaces, exceptions, and preprocessor instructions.
 Write a code that represents linked lists and binary trees.
 Translate simple word problems into C++ language.
 Perform debugging and fixing of common C++ errors.
Violation of Academic Honesty Policy:
If the instructor receives any of the projects / assignments that are identical or partially
identical (including spreadsheets), both cases will receive a Zero. If the student violates the
Academic Honesty policy for a second time, he/she will receive an “F” grade for the course.

General Classroom Norms:

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).

Also keep in mind some general rules as given below:


 Cell phones should be powered off.
 Eatables are not allowed in the class.
 The teacher will not tolerate any disruptive behavior in the class.
 The Dress Code has to be observed, no warnings will be given, and violators will be
asked politely to leave the class and consequently will be marked absent.

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

 Variables and Arithmetic Expressions


 for statement
 Symbolic constants
 Character Input and Output
 Arrays
 Functions
 Character array

Types, Operators and Expressions

 Variable Names
 Data types and sizes
 Constants
 Declarations
 Arithmetic operators
 Relational and logical operators
 Bitwise operators
 Assignment operators and expressions

Control Flows

 Statements and blocks


 If-Else
 Else- If
 Switch
 Loops - While and For
 Loops - Do- While
 Break and continue
 Go to and labels

Functions and Program Structure

 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

Pointers and Arrays

 Pointers and addresses


 Pointers and function arguments
 Address arithmetic
 Character pointers and functions
 Pointer arrays; Pointers to pointers
 Multidimensional arrays
 Initialization of pointer arrays
 Command line arguments
 Pointers to functions
 Complicated declaration

Structures

 Basics of structures
 Structures and functions
 Arrays of structures
 Pointers to structures
 Self-referential structures
 Table lookup
 Typedef
 Unions
 Bit-fields

Input and Output

 Standard input and output


 Formatted output - printf
 Variable length argument lists
 Formatted input - Scanf
 File access
 Error handling
 Line input and output
 Miscellaneous Functions

Вам также может понравиться