[go: up one dir, main page]

0% found this document useful (0 votes)
24 views6 pages

PF Outline

Outline course

Uploaded by

hashir9180
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views6 pages

PF Outline

Outline course

Uploaded by

hashir9180
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Faculty of Computing Riphah International University

Programming Fundamentals

Course Description

Course Code CS1024


Course Title Programming Fundamentals
Credit Hours 04
Prerequisites None
Assessment Instruments with Weights Quizzes: 10%
(homework, quizzes, midterms, final, Assignments: 20%
programming assignments, lab work, etc.) Mid Term: 10%
Project: 20%
Lab: 10%
Final Exam: 30%
*Tentative distribution and it can be changed
Course Coordinator
URL (if any) moellim.riphah.edu.pk
Course Description This course introduces the fundamental concepts of
structured programming, and provides a comprehensive
introduction to programming. Topics include software
development methodology, data types, control structures,
functions, arrays, and the mechanics of running, testing,
and debugging.

Textbook “Beginning C++, the Complete Language” by Ivor Horton


Reference Material
Course Goals/Objectives To give the students a thorough and practical introduction
to programming by means of a contemporary programming
language.

Laboratory Projects/Experiments Done Lab Tasks:10


in the Course Project: 01
Programming Assignments Done in the 06
Course
Class Time Spent in (in credit hours) Theory Problem Solution Social and Ethical Issues
Analysis Design
0.75 0.75 1.35 0.15
Oral and Written Communication

1
Faculty of Computing Riphah International University
Programming Fundamentals

Code Bloom’s Taxonomy Course Teaching Course


Assessment
# And Course Learning Outcomes Strategies %Weight
Methods

1.0 Remember

Trace the execution of programs written


Class Activities, Lab
1.1 in a (high-level) computer programming Lab Tasks 5%
Activities
language.

2.0 Understand

Explain how computer programming


Lectures, Lab Assignment, Quiz,
2.1 may be used to solve his/her problems 10%
Activities Mid Term
to classmates.

Lectures, Class Assignment, Lab


Extend and adapt code written by other
2.2 Activities, Lab Task, Mid Term, 5%
programmers.
Activities Project

3.0 Apply

Use an appropriate programming Class Activities, Lab Lab Tasks


3.1 environment to code, compile, run and 10%
Activities Assignment
debug computer programs
Lab Tasks, Quiz,
Implement, test, and debug a program Lectures, Class Assignment,
3.2 that uses appropriately fundamental Activities, Lab Project, End term 10%
data and control Activities exam, Mid Term,
Project

Lab Tasks, Quiz,


Lectures, Class
Demonstrate working with primitive Assignment, Mid
3.2.1 Activities, Lab 15%
data types, strings and arrays Term, End term
Activities
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

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

Analyze problems and design algorithms Class Activities, Lab


4.1 Lab Tasks, Project 5%
(in pseudo code). Activities

5.0 Evaluate

Evaluate the suitability of computer


Lectures, Lab
5.1 language data and control structures to Lab Tasks, 5%
Activities
achieve basic problem-solving

6.0 Create

Topics Covered in the Course, with Number of Lectures on Each Topic

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.

Weekly Lecture Plan

Week Lecture Topic CLO#


1 1 Lecture 1: Introduction to the course, problem-solving methodology.
2 Lecture 2 & 03: Analyzing a problem, decomposition, designing
3 problems that involve sequence, selection and iteration designing
the algorithm using flowcharts, pseudocode.

2 4 Lecture 4: Concept of a program, Introduction to first C++ computer


5 program, source code, the compilation of a program, executable pro-
6 gram, introduction to Variable, the identifier, and types of a variable
Lecture 5 & 6: Writing programs using sequence statements
3 7 Lecture 7 & 8: Introduction to operators and expressions, arithmetic
8 operators, unary operators, comparison operators, logical operators,
9 Lecture 9: Performing arithmetic operations, the order of precedence,
writing programs using arithmetic and logical operators
4 10 Lecture 10 & 11: Working with the selection constructs (If state-
11 ment, If-else statement )
12 Lecture 12: Nested if statements, sample programs using selection
statements
5 13 Lecture 13: Working with selection statement (switch state-
14 ment)
15 Lecture 14 & 15: sample programs using the switch statement,
exercise questions on the switch statement
6 16 Lecture 16: Working with the iteration construct (For and nested For)
17 Lecture 17 & 18: Sample programs using For statement, exercise ques-
18 tions

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

10 25 Lecture 25: Working with 2-D arrays


26 Lecture 26 & 27: Sample programs on 2-D arrays, exercise questions
27

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

BS- Software Engineering

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 √

You might also like