Fatima Jinnah Women University: Department of Computer Science
Fatima Jinnah Women University: Department of Computer Science
Course Overview: This course has been designed as an introductory course in programming. The course will thoroughly focus on teaching the
basic concepts of C++ programming Language in particular and in general otherwise. Primary focus of course will be to make students
understand C++ language so that it creates the base for the undergraduate students to learn any programming language in later semesters. This
course has 2 theory lectures (1.5 hrs each) along with a lab session of 3 hrs per week, where students apply the knowledge they learn in class
room to real life problems.
Course Learning Outcomes: At the end of the course students should be able to
1
CLO2 Write simple programs using C++. PLO2 Cognitive 3
Course Contents:
Introduction to Programming Basic Computer System, Origin of C++, Why C++? Turbo
Fundamentals course and C++, Programming Environment, Executing C++ Homework1
Problem solving analysis Programs Structure of a
1. Defining the Problem, Analyzing the Problem, Algorithm,
Language structure programming
compiler
C++ Data Types The character Set of C++, C++ language Keywords,
Identifier, Constants, Variables, declaring Variables, basic
2. Data Types, Preprocessor Directives, Input and Output
Statements, Escape Sequence, Basic structure of C
Program
C++ Operators and operations Assignment Operators, Arithmetic Operators, Relational Assignment#01
using these operators and Logical Operators, Increment and Decrement
Application of C++
Operator, Bitwise Operator, ? Operator, & Operator, The *
3.
Operator, The Comma Operator, Ternary Operator, operators on C++ data
Operator Precedence
types
2
Control Structure If/Else Statements, If/Else-If Statements, Nested If/Else
4. Statements.
Conditional/ Branching Switch/Case Control Structure
Statement, Loop Statements, for Loop, While Loop, Do-While Loop
Breaking Control Statements Break statement, Continue Statement, goto statement, Exit
5. function.
Sorting in Arrays Sorting Arrays, Searching an array, Examples of array. Assignment #03
13. Different Sorting
Techniques in C++
Structures Structure Declaration, Initializing structure, accessing
structure elements, Array of structure, Array within
14. structure, Passing structure to functions, Unions, and user
defines type (typedef), Enumerated Data Type.
Marks Distribution
4
Components Marks
Assignments 10
Quizzes 10
Midterm Exam 20
Project 20
Class Participation 5
Final Term Exam 35
Total 100
Text Books:
Reference Books:
• Let US C, 9th edition, by Yashavant Kanetkar