Programming in C and Unix |
UNIT I |
Basic Elements of C Data Types Operator Control Statements
Branching, Looping, Nested Control Structures Prototypes and Functions
Parameter Passing Methods Recursion Storage Classes Library Functions
Arrays Passing Arrays to Functions Multi-Dimensional Arrays Strings
Operations Enumerated Data Types. |
UNIT II |
Structures User Defined Data Types Union - Nested Structure,
Passing Structures to Functions Pointer Concept Declaration Accessing
Variable through Pointer Initializing Pointer Variable Pointers and
Functions Pointers and Arrays Pointers and Structures Example Programs
using Pointers with Function, Arrays and Structures Command Line
Arguments Self Referential Structures. |
UNIT III |
Dynamic Memory Allocation Operations on Pointers Singly Linked
List Creation, Insertion and Deletion of Elements Stack and Queue
implementation using Linked List Concept of Streams File Handling - File
Pointer High Level File Operations Opening and Closing of File Creating,
Processing and Updation on Files Simple File Handling Programs. |
UNIT IV |
Introduction to Unix Unix Components Unix Files File Attributes
and Permission Standard I/O Redirection Pipes and Filters Grep and
Stream Editor Process and Signal Commands |
UNIT V |
Shell Programming Shell Variables Export, Read, Exit Commands
Control Structures Arithmetic in Shell Programming Debugging Scripts
Structure of an AWK Script AWK Control Structures Functions in AWK
Executing AWK Scripts with the Shell. |
Text Books |
(i) B. W. Kernighan and D. M. Ritchie, 1990, The C Programming Language,
Second Edition, PHI, New Delhi.
(ii) M.G. Venkateshmurthy, 2005, Introduction to Unix & Shell Programming,
Pearson Education India, Delhi. |
Reference Books |
(i) A. N. Kanthane, 2005, Programming with ANSI and Turbo C, Pearson Education,
Delhi.
(ii) J. R. Hanly and E. B. Koffman, 2005, Problem solving and program design in C,
Fourth Edition, Pearson Education India.
(iii) B. A. Fozougar, R. Failberg, 2003, Unix and Shell Programming, Thomson |
|