Staff Name: S. P. Santhoshkumar AP/CSE
College Name:
IT
101 ADVANCED C
PROGRAMMING L
P T C
(Common TO CSE, IT and ECE) 3 0
0 3
COURSE OBJECTIVES
·
Provide knowledge about the Programming Structure
in C
·
To Understand the concepts pf Pointers
and Dynamic Memory Allocation
·
To familiarize with the concept of files
and its applications
UNIT -I INTRODUCTION 9
C
fundamentals - Program Structure- Expression - Control Statements - Array &
Strings
UNIT - II POINTERS & DYNAMIC MEMEORY ALLOCATION 9
Pointers
- Pointers expression - Pointers & Arrays - Multiple indirection - Pointers
to functions _ Dynamic allocation functions - Functions - General form of a
function - Scope of functions -Function Arguments - Return Statements -
Recursion.
UNIT -III USER DEFINED DATA TYPES 9
Structures
- Array of Structures - Passing Structure of functions - Function Pointers -
Arrays and Structures within structures - Unions - Bit fields - Type definition
- Enumerations.
UNIT - IV FILE HANDLING 9
Files
in C - File Pointer - Opening, Closing & Flushing Files - Working with test
files - Character input & output - EOF
Detecting of EOF using feof() function - Working with binary files.
UNIT - V ADVANCED FEATURES 9
Introduction
- Bitwise operators - Command Line Arguments - C Preprocessor - The # and ##
Preprocessor operators - Type Qualifier - Variable Length argument list -
Memory models and pointers.
L: 45, T:0, TOTAL:45
TEXT BOOK:
1. Behrouz
A. Forrouzan, Richard F. Gilberg, "A Structured Programming Approach Using
C", Thomson Brooks/Cole, Third Edition, 2007. ( UNIT I, II, III, IV and V)
REFERENCE BOOKS:
1. Herbert
Schildt, "The Complete Reference C", TMH, Forth edition, 2006. (UNIT
I and IV)
2. E.
Balagurusamy, "Programming in ANSI C", TMH, Fifth edition, 2011 (
UNIT II, III and V)
3. PradipDey,
ManasGhosh, "Computer Fundamental & Programming in C", Oxford
Higher education, Oxford University Press, 2006 (UNIT V)
WEB REFERENCES:
1. http://wwww.c4learn.com/
2. http://www.cprogramming.com/
3. http://www.hitmill.com/programming/c.html
COURSE OUTCOMES:
·
Understand the concepts of data using
primitive & structured types
·
To analyze and construct effective
algorithms
·
Design a software system using C
IT
102 ADVANCED C PROGRAMMING
LABORATORY L P T C
(Common to CSE,
IT and ECE) 0
0
3 2
COURSE
OBJECTIVE
·
To develop skills on implementing
pointers.
·
To gain knowledge in practical
application of array and structures.
·
To develop skills on working with file
management.
SOFTWARE
TOOLS REQUIRED
Software’s : Turbo C
Programming
Language : C
Operating
System : Windows
LIST
OF EXPERIMENTS
1.
POINTERS 10
1. Implementation
of Pointer to Function
2. Implementation
of Pointer to Array
3. Implementation
of Function Pointers
2.
ARRAYS
AND STRUCTURES 10
1. Implementation
of Pointer using Array
2. Implementation
of Array using structures
3. Implementation
of Structure, Nested Structure & Array of Structure
3.
FUNCTIONS 10
a. Implementation
of User Defined Functions
i.
With arguments with return values
ii.
With arguments without return values
iii.
Without arguments with return values
iv.
Function with multiple arguments
b. Implementation
of Structure of Functions
c. Implementation
of Library Functions
4.
FILES 10
a. Implementation
of Binary and Text Files
b. Implementation
of File Management Functions
c. Implementation
of File Operations
5.
PREPROCESSOR 5
a. Implementation
of Macros and Compiler Directives
P:
45, TOTAL: 45
COURSE
OUTCOMES:
·
Students can know the Programming
Knowledge in Arrays, Structures, Functions, Pointers and Files.
·
Students can write a C program to solve
specified problems.
·
Effectively create and use objects from
predefined class libraries.