C Programming
Content Outline:
Introduction to the C Language
The C Language and its Advantages
The Structure of a C Program
Writing C Programs
Building an Executable Version of a C Program
Debugging a C Program
Examining and Running a C Application Program
Data Types and Variables
Data Types
Operands, Operators, and Arithmetic Expressions
Input/Output Management
Input/Output Management
The getchar() and putchar() Functions and Single-character I/O
Formatted Input and the scanf() Function
Control-flow Statements
The Control-flow Program Statements
Looping Statements
The Data-checking Process
Modular Programming with Functions
The C Function
Passing Data to Functions
Passing an Address to Modify a Value in Memory
Using Functions in the Checkbook Program
The C Standard Library Functions
Arrays, Pointers, and Strings
Arrays
Pointers
Strings
Using Arrays, Strings, and Pointers in the Checkbook Program
Structures and Dynamic Memory Allocation
Structures
Arrays of Structures
Passing Structures to Functions
Nested Structures
Dynamic Memory Allocation
The Preprocessor and Multiple-file Compilation
The C Preprocessor and the #include and #define Directives
The Conditional Compilation Directives
Global Variables and Variable Storage Classes
Program Organization and Multi-file Compilation
File Input/Output
Command-line arguments
File Input and Output
Combining Command-line Arguments and File I/O
UNIX Internals
General Overview of the system
History
System Structure
Operating System Services
Assumptions About Hardwares
Introduction to the Kernel
Architecture of the UNIX Operating System
Introduction to system concepts
Kernel Data Structures
System Administration
Exercises
The buffer cache
Buffer Headers
Structure of the buffer pool
Scenarios of Retrieval of a buffer
Reading and writing Disk Blocks
Advantages and disadvantages of the buffer cache
Internal Representation of file systems
Inodes
Structure of a regular file
Directories
Conversion of a Path name to an Inode
Super Block
Inode assignment to a new file
Allocation of disk blocks
Other file types
System calls for the file systems
Open
Read
Write
File and Record locking
Adjusting the position of file I/O-Lseek
Close
File Creation
Creation of Special Files
Change directories nd change root
Change owner and change mode
STAT and FSTAT
Pipes
Dup
Mounting and Unmounting of File systems
Link
Unlink
File system Maintenance
Structure of Processs
Process States and Transitions
Layout of system memory
The context of a process
Saving the context of a process
Manipulation of the process Address Space
Sleep
Process Control
Process Creation
Signals
Process Termination
User Id of a Process
The Shell
System Boot and Init Process
Memory Management Policies
Swapping
Demand Paging
A Hybrid system with Swapping and demand paging
The I/O Subsystem
Driver Interfaces
Disk Drivers
Terminal Drivers
Streams
Interprocess Communication
System V IPC
Network communication
Socket
Shell Scripting (KSH)
The KSH
Ksh wildcards
I/O redirection
History
Aliases
Working with KSH
Variables
Predefined Variables
Environment Variables
Korn Shell Scripts
Your First Scripts
Writing Scripts
Scripts Arguments
Basic debugging options
Conditional execution
Conditional expressions
Interactive command (read)
Case command
Select command
For Loop
While / until loop
Arithmetic Expression
Ksh function
Sed – A non-interactive stream editor
Usage
General Syntax
Various Editing Commands
Advanced Commands
Awk-A Pattern Scanning and Processing Language
Usage
Records Fields and Variables
Printing Functions
Conditions
Operators
Condition commands and loops
Make – Makefiles
The idea behind make and makefiles
How to build an application
Syntax
Target
Perl Scripting
Perl
Introduction
How to run Perl
Working trough an example
Syntax on Unix
Variables
Variables Interpolation
Expression
Expressions with Scalars
Operation on Strings
Escaping Characters
Line Oriented Quoting
List Literals
Array
Specifying array Variables
Initializing an array
Array assignments
Multiple assignments
Accessing Elements
Shift and unshift
Sorting an array
Functions
Splice
Interacting with user
Chop function
Chomp function
File Operation
Open
Printing a file
STDIN
STDOUT
STDERR
ARGV
Special Variables
$!
$.
$_
@ARGV
Conditions
If /else Conditional examples
For Loop
While loop
Regular Expression
Character class
Pattern Abbreviations
Anchors
Multipliers
Hash (Associative Array)
Accessing a Hash element
Modifying a Value
Swapping keys and values
Using function ‘keys’ and ‘values’
Subroutine return values
Passing Arguments
Linux/AIX
Introduction to AIX Kernel
Kernel Components
Address Space
Kernel Analysis Tools
Kernel debugger (kdb)
Process management / memory management /Input-Output management with respect to AIX
Basics of AIX admin
e-Care technologies The Director No-24, 1st Floor, 2nd Main Cross Road, Vinayaka Layout, Near Multiplex, Munnekolala OPP: SGR Dental College Marthahalli, Bangalore - 37.
Contact no: +91 9844752189, 9845642721
|