Outline PF Fall2016
Outline PF Fall2016
Programming Fundamentals
Fall 2016
Course Description
Course Code CS1024
Course Title Programming Fundamentals
Credit Hours 04
Prerequisites Introduction to Computing
Assessment Instruments with Quizzes: 10
Weights (homework, quizzes, Assignments: 20
midterms, final, programming Project: 20
assignments, lab work, etc.) Midterm 10
Final Exam: 40
Course Coordinator Musharif Ahmed
Muhammad Osama Raza
URL (if any) moellim.riphah.edu.pk
Current Catalog Description
Textbook “Beginning C++, the Complete Language” by Ivor Horton
Reference Material Lecture Handouts, Sample Programs
Course Goals/Objectives Goal: Students should be able to implement intermediate level
algorithms using C++ programming language.
1
Faculty of Computing Riphah International University
Programming Fundamentals
Fall 2016
Programming Assignments Done in
the Course
Class Time Spent on (in credit Theory Problem Solution Social and Ethical Issues
hours) Analysis Design
0.75 0.75 1.35 0.15
Oral and Written Communications Every student is required to submit at least one Project and to make
project demonstration of typically 20 minutes.
Topic Number of
Lectures
Introduction to computer programs, source code and executable programs, the compiler, history of 3 (4.5 hrs)
programming languages, introduction to C++ language, basics of C++ programming language, the
concept of variable
Writing programs involving sequence statements 3 (4.5 hrs)
Operators and expressions, arithmetic operators, unary operators, arithmetic operations, 4 (6 hrs)
comparison operators, logical operators, order of precedence.
The IF statement, If-else statement, nested if, the SWITCH statement
The iteration; FOR Statement, The WHILE Statement, The DO-WHILE Statement, BREAK & 4 (6 hrs)
CONTINUE
4 (6 hrs)
Defining an array, single & multi-dimensional arrays, using arrays to store data
String Handling: Basic String Handling Functions, Character conversions, Memory Operations 4 (6 hrs)
Using the Functions: Defining a Function, Accessing a Function, Function Prototypes, Passing 4 (6 hrs)
Arguments to Function, Functions & Arrays, Pass by reference, Pass by value
Working with the Pointers & Structures: What is a Pointer?, Use of Pointer, Pointers & Functions, 4 (6 hrs)
Pointers & Arrays, Arrays of Pointers, Multidimensional arrays & pointers, Static Initialization of
Pointer Arrays, Pointers & Structures, programs involving text files
2
Faculty of Computing Riphah International University
Programming Fundamentals
Fall 2016
3
Faculty of Computing Riphah International University
Programming Fundamentals
Fall 2016
string class
28/11 11 Lecture 21: Character conversions C,A j
30/11 Lecture 22: Sample programs, writing programs using string class,
exercise questions
Assignment No.8
05/12 12 Lecture 23: Working with functions K,C, k
07/12 Lecture 24: Sample programs and exercises A
12/12 13 Lecture 25: Working with functions continued A k
13/12 Lecture 26: Sample programs and exercise
Assignment No.9
19/12 14 Lecture 27: Using pointers, sample programs and exercises K,C, l,m
21/12 Lecture 28: Dynamic memory allocation, sample programs A
Assignment No.10
26/12 15 Lecture 29: Structures, sample programs and exercises K,C, n,o
28/12 Lecture 30: working with text files, sample programs A
Semester project due
02/01/17 16 Project demonstrations
04/01/17
4
Faculty of Computing Riphah International University
Programming Fundamentals
Fall 2016
Grading Policy
A 80 and Above
B 70 - 79
C 60 – 69
D 50 – 59
F Below 50