You are on page 1of 3

EEJ 531 PROGRAMMING IN C & APPLICATIONS

Major Divisions:

UNIT I UNIT II UNIT III UNIT IV UNIT V

: : : : :

Over View of C (Review). Decision Making, Branching, Looping and Arrays. Character Strings and Functions. Pointers. File Management.

UNIT I Over View of C (Review) Keywords, Constants, Variables and Datatypes: Character Set Constants Integer Constants Character Constants String Constants; Variables Declaration of Variables; Assigning value to Variables. Operations and Expressions: Arithmetic, Relational, Logical, Assignment, Increment, Decrement, Conditional, Bitwise Operator, Arithmetic Expressions, Evaluation of Expression. I/O Statements: Printf() and Scanf() functions (Unformat and formatted), getchar() and putchar() functions. Functions: Predefined functions isdigit, isupper, islower and ispunct functions in header file<ctype.h> ; cos, tan, exp, ceil, floor, abs, pow and sqrt functions in header file <math.h>; Strlen, strcpy, strcmp and strcat in header file <string.h>. UNIT II Decision Making, Branching and Looping and Arrays Introduction: Simple if statement. Decision Making & Branching: The ifelse statement; Nesting of ifelse statement; elseif ladder; switch case statement; goto statement. Looping: While statement; dowhile statement; for statement, break & continue statement. Arrays: One Dimensional Arrays; Two Dimensional Arrays Initializing One dimensional & Two-Dimensional Arrays; Multidimensional Arrays.

UNIT III Character String and Functions Character Strings: Introduction declaring & initializing string variables; Reading Strings; Writing Strings; Comparison of two Strings; String handling functions; User defined functions. Functions: Function declaration, function definition, function call, passing returning values, return statement. Structures & Unions: Structure definition; Structure Initialization; Arrays of Structures; Structures within structures; Unions. UNIT IV Pointers Macro Substitution; File Inclusion; Compiler Controlled Directives. Pointers: Understanding Pointers: Accessing the address of Variables; Declaring and Initializing Pointers; Accessing a variable through its pointer; Pointer Expressions; Pointer Increments; Pointers and Arrays; Pointer and character Strings; Pointer and functions; Pointers and Structures. UNIT V File Management File Management: Introduction; Defining and Opening a file; closing a file; Input / Output Operations on files (getc, putc,getw, putw, fprintf and fscanf functions); Error handling during I/O operation; Random Access files; Command line arguments; Appending items to a file. Introduction to OOPS: (Theory only) Limitation of Procedural Languages; Object Oriented approach Analogy; Approach to Organisation; characteristics of Object Oriented Languages Objects, Classes, Inheritance, Reusability, Creating New Data types, Polymorphism and Overloading Application of OOPs. arguments,

Reference Books : Sl.No. 1 2 3 4 5 Name of the Book Programming in C (withCD) Object Oriented Programming with C++ Computer Programming in C Programming in C Programming in C and C++ Author Balagurusamy E Balagurusamy E Rajaraman V Venugopal S.S Khandare Publisher Tata McGrow Hill Publishing Company, New Delhi. Tata McGrow Hill Publishing Company, New Delhi. Prentice Hall of India (P) Ltd., New Delhi Tata McGrow Hill Publishing Company, New Delhi. S.Chand & Co., New Delhi

You might also like