DHaxinott,(ASSt pottor)
Faculty of Commerce
Paper DSC 203:PROGRAMMING WITH C&C++
Hours Per Week: 7 (3T+4P) Credits: 5
Exam Hours: 1½ Marks: 50U+35P+151
Objective:To understand the fundamental concepts of programming in Cand Object Oriented Programming
using C++.
UNIT-I: INTRODUCTION TO C LANGUAGE, VARIABLES, DATA TYPES AND OPERATORS
Introduction: Types of Languages- History of C language Basic Structure -Programming Rules
Flow charts-algorithms-Commonly used library functions - Executing the C Program - Pre-processors in
"C"- Keywords & Identifiers -Constants - Variables: Rules for defining variables - Scope and Life of a
Variable Data types Type Conversion - Formatted Input and Output operations. Operators:
Introduction Arithmetic Relational - Logical - Assignment - Conditional - Special- Bitwise -
Increment / Decrement operator.
UNIT-I1:wORKING WITH CONTROL STATEMENTS,LOOPSs
Conditional statements: Introduction - If statements - If-else statements nested if-else - break
statement-continue statement-go to statement-Switch statements. Looping statements: Introduction
While statements - Do-while statements - For Statements-nested loop statements.
UNIT-III: FUNCTIONS, ARRAYS AND STRINGS
Functions: Definition and declaration of functions- Function proto type-return statement- types of
functions-formatted and unformatted functions. Built in functions: Mathematical functions - String
functions - Character functions - Date functions. User defined functions: Introduction - Need for user
defined functions - Elements of functions - Function call - call by value and call by reference - Recursive
functions.Arrays: Introduction - Defining an array - Initializing an array -characteristics of an array- One
dimensional array- Two dimensional array - Multi dimensional array. Strings: Introduction - Declaring
and initializing string - Reading and Writing strings - String standard functions.
UNIT-IV: POINTERS, STRUCTURES AND UNIONS
Pointers: Features of pointers- Declaration of Pointers-arithmetic operations with pointers
Structures: Features of Structures - Declaring and initialization of Structures Structure within Structure
Array of Structures- Enumerated data type-Unions-Definition and advantages of Unions comparison
between Structure & Unions.
UNIT-V:OBJECT ORIENTED CONCEPTS USING C++
Object Oriented Programming: ntroduction to Object Oriented Programming -Structure of C++
Simple programofC++- Storage Classes-Similarities and Differences between C& C++t - Data
Members-Member Functions -Object Oriented Concepts-Class-Object-Inheritance-Polymorphism
Encapsulation-Abstraction.
SUGGESTED READINGS:
1. Programming with C& C++ :IndrakantiSekhar, V.V.R. Raman&V.N.Battu, Himalaya Publishers.
2. Programming in ANSI C: Balagurusamy, McGraw Hill.
3. Mastering C: K.R. Venugopal, McGraw Hill.
4. C: The Complete Reference: H.Schildt, McGraw Hill.
5. Let Us C: Y.Kanetkar, BPB.
6. Objected Oriented Programming with C++: E. Balagurusamy, McGraw Hill.
7. Mastering C++: KR.Venugopal&R.Buyya, McGraw Hill.
8. Schaum Is Outlines: Programming with C++: by John R Hubbard.
9. Let Us C++: Y.Kanetkar, BPB.
10