COMPUTER PROGRAMMING USING C-II

COMPUTER PROGRAMMING USING C-II (CSE402)

THEORY :
UNIT 1-Control Statements:
Preliminaries.Branching: The if-else statement.Looping: while, do-while & for statements.Nested Control Structures.The switch statement.The break statement.The continue statement.The Comma operator.The goto statement
UNIT 2-Functions:
Concepts of a Function.Accessing a Function.Function Prototypes.Passing Arguments to a Function.Recursion
UNIT 3-Program Structures:
Storage Classes.Automatic Variables.External (Global) Variables.Static Variables
UNIT 4-Arrays:
Defining an Array. Processing and Array. Passing Arrays to Functions.Multidimensional Arrays.Arrays and Strings.

UNIT 5-Pointers:
Concepts of pointers & its role in C programming. Pointer Declarations.Passing Pointers to Functions. Pointers and one-dimensional Arrays.Dynamic Memory Allocation.Operations on Pointers. Pointers and Multidimensional Arrays. Arrays of Pointers. Passing Functions to Other Functions.

UNIT 6-Structures and unions:
Defining a structure. Processing a Structure ,Unions.

UNIT 7-Data files:
Opening and closing a Data File.Creating a Data File.Processing a Data File.Unformatted Data Files  
PRACTICAL : 
1.Introduction:
C language and its compilers.Keywords, expressions, constant.Primitive data types in C.Header files and library functions.Types of Variable.Pre-processor directive and Macro.

2.Using Program Control:
Conditional Statements.Iterative Statement.Unconditional jump and its restrictive usage.Importance of initialisation.
3.Working with Array:
Overview of array.One dimensional array.Multidimensional array.String representation.String manipulation.

4.Creating User defined Function:
Writing functions in C language. Function definition and function declaration.Writing void function.Writing parameter passing and global declaration.Scope of variables in function.Recursion: Binary search, quick sort.

5.Using Pointers:
Overview of pointer.Pointer and array.Dynamic allocation using pointers.Pointer to pointer.Parameter passing using pointer.Using command line argument

6.Application of Structure and Union:
Over of structure.Array of structure.Pointer to structure.User defined data type.Representation linked list: Stacks Queries. Representation of binary tree.Representation of generalized tree.Union

7.Low Level Programming in C:
Bitwise operation.Register handling.Enumerated data type

8.File Handling in C:
Modes of file handling.Linking file pointer.Working with binary file.Building own header file.Linking multiple source files