PF Outline
PF Outline
Programming Fundamentals
Course Description
1
Faculty of Computing Riphah International University
Programming Fundamentals
1.0 Remember
2.0 Understand
3.0 Apply
Lab Tasks,
Demonstrate appropriate use of basic Lectures, Class Assignment,
3.2.2 programming constructs for a given Activities, Lab Midterm, End 15%
programming task. Activities Term Exam, Quiz,
Project
Lectures, Class
Lab Tasks,
3.2.3 Demonstrate working with simple I/Os. Activities, Lab 5%
Assignment
Activities
2
Faculty of Computing Riphah International University
Programming Fundamentals
Lab Tasks,
Demonstrate using of available program
Lectures, Class Assignment,
libraries/functions and creating own
3.2.4 Activities, Lab Midterm, End 15%
functions.
Activities Term Exam, Quiz,
Project
4.0 Analyze
5.0 Evaluate
6.0 Create
Topics Hours
Introduction to computer programs, source code and executable programs, the compiler, his- 4
tory of programming languages, introduction to C++ language, basics of C++ programming lan-
guage, the concept of variable.
Writing programs involving sequence statements 3
Operators and expressions, arithmetic operators, unary operators, arithmetic operations, 5
comparison operators, logical operators, the 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 5
& CONTINUE
Defining an array, single & multi-dimensional arrays, using arrays to store data 5
String Handling: Basic String Handling Functions, Character conversions, Memory 3
Operations
Using the Functions: Defining a Function, Accessing a Function, Function Prototypes, 8
Passing Arguments to Function, Functions & Arrays, Pass by reference, Pass by value
Working with the Pointers & Structures: What is a Pointer?, Use of Pointer, Pointers & 4
Functions, Pointers & Arrays, Arrays of Pointers, Multidimensional arrays & pointers, Static Initiali-
zation of Pointer Arrays, Pointers & Structures
3
Faculty of Computing Riphah International University
Programming Fundamentals
User defined data types, Structures, Defining a structure, Using structure instance, array of struc- 4
ture variables, Passing structure variable to function, using pointers to structures.
Working with text data files, why use text data files, standard library C++ fstream, How to achieve 4
file handling, functions used in file handling, Defining and opening files, using different modes
while opening a file, using file position pointers, example programs involving text files.
7 19 Lecture 19 & 20: Working with the iteration construct (While and Do-
20 While loop)
21 Lecture 21: Sample programs using While and Do-while loops, exercise
questions
8 Midterm Exam
9 22 Lecture 22, 23 & 24: Working with arrays, Working with the array of
23 characters, sample programs using arrays, exercise questions.
24
4
Faculty of Computing Riphah International University
Programming Fundamentals
11 28 Lecture 28,29 :Understanding the string class, Using the string class
29 functions, sample programs using the string class
Lecture 30: Character conversions, Sample programs, writing programs
30
using string class, exercise questions
12 31 Lecture 31: Working with functions
32 Lecture 32 &33: Sample programs and exercises
33
13 34 Lecture 34,35: Using pointers, sample programs, sample programs and
35 exercises
Lecture 36: Dynamic memory allocation, sample programs
36
14 37 Lecture 37, 38: Using structures, structure variables, array of structure
38 variable. Sample programs and exercises.
39 Lecture 39: Using structures wit functions, pointers and structures
15 40 Lecture 41, 42 & 4: Working with text files, Why use files, standard library,
41 various functions used for the files manipulations.
42
16 43
44 Semester project demos
45
Course
LOs # PLO1 PLO2 PLO3 PLO4 PLO5 PLO6 PLO7 PLO8 PLO9 PLO10 PLO11
1.1 √ √
2.1 √
2.2 √
3.1 √
3.2 √ √
3.2.1 √
3.2.2 √
3.2.3 √
5
Faculty of Computing Riphah International University
Programming Fundamentals
3.2.4 √
4.1 √
5.1 √
BS Computer Science
Course
LOs # PLO1 PLO2 PLO3 PLO4 PLO5 PLO6 PLO7 PLO8 PLO9 PLO10
1.1 √ √
2.1 √
2.2 √
3.1 √
3.2 √ √
3.2.1 √
3.2.2 √
3.2.3 √
3.2.4 √
4.1 √
5.1 √