Course Outline: CE 112 – Computer Programming Spring 2019
AIR UNIVERSITY
Term: Spring 2019
Faculty of Engineering
l Department of Mechatronic Engineering
Course Outline: CE112 – Computer Programming
Course Information:
Course Code: CE112 Semester: II
Course Name: Computer Programming Credit Value: 2-0-2
Batch: BEMTS (A/B/C) Length: 16 Weeks
Instructor(s): Engr. Zain ul Abideen Tariq Lab Engineer(s): Ms. Hurriat Ali,
Mr. Mohsin Ali
Level: Under Graduate
Instructor(s):
Name: Zain Ul Abideen Tariq
Email: [email protected]
Office: Faculty Office, Faculty Offices, 1st floor A Block
Office Hours: 8:30 AM to 4:30 PM
Prerequisite(s):
None
Dependent Course(s):
CS 162 - Object Oriented Programming
Course Description:
This course provides a basic introduction to computers and fundamental programming concepts. The
emphasis will be on problem solving rather than just learning the programming language. Programming
topics include control structures, functions, arrays, pointers, structures. Designed to be a first course for
students with little or no prior programming experience.
Programming IDE Tool:
Dev C++ (Class)
Eclipse (Lab)
Visual C++ (Lab)
Air University, Islamabad Page |1
Course Outline: CE 112 – Computer Programming Spring 2019
Lab Engineer(s):
Ms. Hurriat Ali
Mr. Mohsin Ali
Course Learning Outcomes:
On completion of this course, students would be able to:
Course Learning
Measurable statement from exams, project and etc.
Outcomes (CLOs)
Understand basic concepts of Computer Hardware, Software, Programming Languages,
Programming Environment and Concepts.
CLO1 Understand and Design algorithms and program flow using pseudo code and visual
modeling.
Divide a problem into its logical set of components.
Understand basics of C++ Procedural Programming, structure, elements, expressions,
interactivity and control structures.
Create entry-level programs from models.
CLO2 Understand how and when to apply Decisions and Repetition Loops.
Get Familiarity with Debugging Process.
Design and implement a simple C++ Program using basic elements, interactivity and
Control Structures with accurate documentation.
CLO3 Understand and implement the concept of functions and its different applications.
Understand and use the concept of basic data structures like arrays, pointers, structures
and understand their relationships
CLO4 Design and implement solutions to problems using basic data structures with
understanding as to where and when to use which
Analyze, Design, Develop and Implement solutions to the range of problems using
CLO5 variety of programming skills and strategies.
Relationship between Course Learning Outcomes (CLOs) and Program Learning Outcomes (PLOs) is shown
as follows.
Program Learning Outcomes (PLOs):
Ref: PLOs listed on AU Website at:
https://au.edu.pk/Pages/Faculties/Engineering/Departments/Mechatronics/dept_mts_eng_plo.aspx
Selected Program Learning Outcomes (PLOs)
PLO2 Problem Analysis An ability to identify, formulate, research literature, and analyze
complex mechanical engineering problems reaching
substantiated conclusions using first principles of mathematics,
natural sciences and engineering sciences.
PLO3 Design/Development of An ability to design solutions for complex mechanical
Solutions engineering problems and design systems, components or
processes that meet specified needs with appropriate
consideration for public health and safety, cultural, societal, and
environmental considerations.
PLO4 Investigation An ability to investigate complex mechanical engineering
problems in a methodical way including literature survey, design
Air University, Islamabad Page |2
Course Outline: CE 112 – Computer Programming Spring 2019
and conduct of experiments, analysis and interpretation of
experimental data, and synthesis of information to derive valid
conclusions.
PLO5 Modern Tool Usage An ability to create, select and apply appropriate techniques,
resources, and modern engineering and IT tools, including
prediction and modeling, to complex mechanical engineering
activities, with an understanding of the limitations.
PLO9 Individual and Team Work An ability to work effectively, as an individual or in a team, on
multifaceted and/or multidisciplinary settings.
PLO11 Project Management An ability to demonstrate management skills and apply
engineering principles to one’s own work, as a member and/or
leader in a team, to manage projects in a multidisciplinary
environment.
Course Program
Learning
Learning Evaluation Learning
Unit of Syllabus Domain and
Outcomes Methods Outcomes
Level
(CLOs) (PLOs)
Quiz 1,
CLO1 1-2 Assignment 1, Cognitive (C5) PLO2
Mid-Term, Final
Quiz 2,
CLO2 3-5 Assignment 2, Cognitive (C3) PLO3
Mid-Term, Final
Quiz 3,
CLO3 6 Assignment 3, Cognitive (C5) PLO3, PLO5
Mid-Term, Final
Quiz 4,
PLO3, PLO4,
CLO4 7-9 Assignment 4, Cognitive (C5)
PLO5
Final
CLO5 9 Project, Final Cognitive (C4) PLO2,3,4,5,9,11
Air University, Islamabad Page |3
Course Outline: CE 112 – Computer Programming Spring 2019
Course Plan (Theory):
No. of
Body of CLO
Units Weeks Topics Covered Teaching
Knowledge Mapping
Hours
Course Introduction
Introduction to Computer Hardware and
1 Week 1. 2 CLO1
Computers Software
Computer Organization
Operating system
High level / Low-level
Languages
Interpreted and Compiled
Languages
Introduction to Compilers, Interpreters &
Programming Linkers
Languages, Pseudo Coding
2 Week 2. Flow charting
2 CLO1
Programing
Concepts
Introduction to C++
Program design process
Layout of a C++ program
Running a program.
A sample C++ program
Data Types
Data Hierarchy
Syntax / Logic errors
Output Statements
3 Week 3. C++ Basics 2 CLO1
Constants & Variables
Arithmetic Operators
Operator precedence
Input Statement
Relational Operators
Logical Operators
Control Structure-
Week 4. Part I (Conditional
if statement
2 CLO2
Statements)
if-else statement
4 Nested if-else statement
Control Structure- switch-case statement
Week 5. Part II (Conditional 2 CLO2
Statements) Examples
Air University, Islamabad Page |4
Course Outline: CE 112 – Computer Programming Spring 2019
Loops
Control Structure- while Loop
Week 6. Part III 2 CLO2
(Repetition) do-while Loop
Examples
5 for Loop
Control Structure-
Nested for Loop
Week 7. Part IV 2 CLO2
break statement
(Repetition)
continue statement
Examples
Function Prototype, Function
Call, Function Definition
User-Defined
Week 8. Arguments vs. Parameters 2 CLO3
Functions – Part I
Scope Rule
Call by Value
Call by Reference
6
Exam Week Mid Term Examinations 20 Hours
Static variables
Arguments
User-Defined Default arguments
Week 9. 2 CLO3
Functions – Part II
Return Value
Function Overloading
Declaration
Initialization
Week 10. Arrays – Part I: 2 CLO4
One-Dimensional Arrays:
Accessing and processing
List Processing
Arrays – Part II
Searching
Week 11. (Applications and 2 CLO4
Extensions)
7 Sorting
Multidimensional Arrays
Declaration
Initialization
Accessing & Processing
Week 12. Arrays – Part III: 2 CLO4
Two-Dimensional Character
Arrays
Using getche, getch,
Using ASCII values
Air University, Islamabad Page |5
Course Outline: CE 112 – Computer Programming Spring 2019
Pointer Declaration
Dereferencing
Week 13. Pointers – Part I 2 CLO4
Initializing Pointer variables
8 Functions and Pointers
Pointer expressions
Week 14. Pointers – Part II 2 CLO4
Pointer arithmetic
Accessing
Assignment
Week 15. Structures 2 CLO4
Input/ Output
OOP Concepts
9 Abstraction
Polymorphism
CLO4,
Week 16. Classes Platform-independence 2
CLO5
Revision
Project
Exam Week Final Examinations 12 Hours
Total Hours 32 Hours
Resources:
Textbook:
o Deitel and Deitel, “C++ How to Program” (8th or 9th Edition or onwards), Available as e-
book and paper book
Reference Books
o Gaddis, Walters & Muganda, “Starting Out with C++: Early Objects”, 7th Edition or onwards
o Stephen R Davis, “C++ for Dummies”, 7th Edition or onwards
o Robert Lafore, “Object-Oriented Programming in C++”, 3rd or 4th Edition
o Tonny Gaddis, “Introduction to C++ from Control Structures through Objects”, 7th Edition
or onwards
Useful Links
o http://scratch.mit.edu
o http://studio.code.org
o https://snap.berkeley.edu
o http://www.cplusplus.com
o http://ide.geeksforgeeks.org
Air University, Islamabad Page |6
Course Outline: CE 112 – Computer Programming Spring 2019
Grading Policy:
Theory (75) Lab (25)
Evaluation
Evaluation Method Distributio
Marks Method Distribution Marks
n
Quizzes (4) 13.33 % 10 Quizzes (4) 24 % 5 Total
Assignments (4) 6.67 % 5 Assignments (4) 16 % 4
Midterm Exam 26.67 % 20 Lab Tasks (15) 20 % 8
Final Exam 53.33 % 40 Project 40 % 8
Total 100 % 75 Total 100 % 25 100
General Course Policies:
Collaboration and group work are encouraged but each student is required to submit his/her own
contribution(s).
Cheating and plagiarism will be strictly punished.
No makeup Quizzes will be taken.
Late Assignments will not be accepted.
Copied Projects will be severely dealt with, if any of the code submitted in project is found copied,
the student will be awarded ‘F’ grade in the course and disciplinary action will be taken against
him/her.
Quizzes, Assignments and Mid-Term Exam papers returned must be kept in safe custody, no claim
of any marks correction will be entertained without them.
Air University, Islamabad Page |7
Course Outline: CE 112 – Computer Programming Spring 2019
Lab Plan (Practical Work):
Week Topics CLOs
Introduction and Understanding of Tools
Introduction to Computers
1 Algorithms, Pseudocode & Flow charting CLO1
Introduction to C++ environment.
Introduction to Programming Languages
Programming Languages
High level / Low-level Languages, Compilers, Linkers, Loader
2 Introduction to Computers C++ environment. CLO1
Introduction to C++
Layout of a simple C++ program
A sample C++ program explained
Program errors
Syntax / Logic errors
3 CLO1
C++ Basics
Data Types,
Basic Input & Output Statements
Constants & Variables
Arithmetic Operators
Operator precedence
4 CLO2
Control Structures I- Selection
Relational Operators
Logical Operators and Expressions
if statement
if-else statement
5 CLO2
Nested if-else statement
Control Structures II- Selection
switch-case statement.
Examples
6 CLO2
Control Structures III- Repetition
Loops
for Loop
Air University, Islamabad Page |8
Course Outline: CE 112 – Computer Programming Spring 2019
Nested for Loop
Examples
7 Control Structures IV- Repetition CLO2
while Loop
do-while Loop
Nested Control Structures
User-Defined Functions I
Function Prototype
Function Call,
Function Definition
8 CLO3
Arguments vs. Parameters
Scope Rule
Call by Value
Call by Reference
User-Defined Functions II
Static variables
Arguments
9 Default arguments CLO3
Return Value
Function Overloading
Midterm Exam (Theory Only)
Arrays I:
Declaration
Initialization
10 CLO4
One-Dimensional Arrays
Accessing and processing
Arrays II: Applications and Extensions
List Processing
11 Searching CLO4
Sorting
Air University, Islamabad Page |9
Course Outline: CE 112 – Computer Programming Spring 2019
Arrays III:
Multidimensional Arrays
Declaration
Initialization
12 Accessing & Processing CLO4
Two-Dimensional Character Arrays
Using getche, getch,
Using ASCII values
Pointers I
Pointer Declaration
Dereferencing
13 CLO4
Initializing Pointer variables
Functions and Pointers
Pointers II
Pointer expressions
14 CLO4
Pointer arithmetic
Structures
Declaration
Accessing
15 CLO4
Assignment
Input/ Output
Project & Revision
16 Revision CLO4, CLO5
Project
Exam Week Final Examination
Air University, Islamabad P a g e | 10