PF Theory Course Outline
PF Theory Course Outline
PF Theory Course Outline
Course Description
1
Faculty of Computing Riphah International University
Project
Lab Tasks,
Quiz,
Lectures, Class
Demonstrate working with primitive Assignment,
3.2.1 Activities, Lab 15%
data types, strings and arrays Mid Term, End
Activities
term Exam,
Project
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
Demonstrate working with simple Lectures, Class
Lab Tasks,
3.2.3 Activities, Lab 5%
I/Os. Assignment
Activities
Demonstrate using of available Lab Tasks,
program libraries/functions and Lectures, Class Assignment,
3.2.4 creating own functions. Activities, Lab Midterm, End 15%
Activities Term Exam,
Quiz, Project
4.0 Analyze
Analyze problems and design Class Activities, Lab Tasks,
4.1 5%
algorithms (in pseudo code). Lab Activities Project
5.0 Evaluate
Evaluate the suitability of computer
Lectures, Lab
5.1 language data and control structures Lab Tasks, 5%
Activities
to achieve basic problem-solving
6.0 Create
3
Faculty of Computing Riphah International University
Topics Hours
Introduction to computer programs, source code and executable programs, the 4
compiler, history of programming languages, introduction to C++ language, basics
of C++ programming language, the concept of variable.
Writing programs involving sequence statements 3
Operators and expressions, arithmetic operators, unary operators, arithmetic 5
operations, 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 5
Statement, BREAK
& 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 8
Prototypes,
Passing Arguments to Function, Functions & Arrays, Pass by reference, Pass by
value
Working with the Pointers & Structures: What is a Pointer?, Use of Pointer, 4
Pointers &
Functions, Pointers & Arrays, Arrays of Pointers, Multidimensional arrays &
pointers, Static Initialization of Pointer Arrays, Pointers & Structures
User defined data types, Structures, Defining a structure, Using structure instance, 4
array of structure variables, Passing structure variable to function, using pointers to
structures.
Working with text data files, why use text data files, standard library C++ fstream, 4
How to achieve 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.
4
Faculty of Computing Riphah International University
5
Faculty of Computing Riphah International University
Lab 09
Understanding how to initialize arrays with
CLO 3.2
specific values
10 2D Arrays K, C, A
Quiz # 03 CLO 3.1
11 Functions K, C, A
Defining and calling functions
6
Faculty of Computing Riphah International University
Arguments
Termination
Recursion
Quiz # 04 CLO 3.1
Lab 10
Learn to write C++ functions with and without CLO 3.2
return values
12 Structures K, C, A
Structure variables
Structure types
Nested arrays and structures
Lab 11 CLO 3.2
Learn to write C++ functions with and without
return values
Void Functions
Functions by value
Functions by reference
Initialize Structures
Create an instance of a struct
How to declare an array in structure
13 File Handling K, C, A
14 String Class K, C, A
String literals
String variables
C string library
Arrays of strings
Quiz # 05 CLO 3.2
Lab 12 CLO 3.2, 5.1
Understanding CStrings
15 Revision
Project CLO 2.1, 3.2, 4.1,
5.1
16
Final term CLO 1.1, 2.1, 2.2,
3.1, 3.2
7
Faculty of Computing Riphah International University
Cours
e
LOs PLO PLO PLO PLO PLO PLO PLO PLO PLO PLO1 PLO1
# 1 2 3 4 5 6 7 8 9 0 1
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 √
Grading Policy
A+ 90 and Above
A 80 and 89
B 70 - 79
C 60 – 69
D 50 – 59
F Below 50