| |
|
 |
| |
| |
Course Description
This hands-on class is 50% theory, 50% intensive labs. C is most widely used general purpose programming language which was developed by Dennis Ritchie in 1972. Many of the important features and ideas of ‘C’ stem from the language BCPL (Basic Cambridge Programming Language), developed by Martin Richards in 1967. If this course is selected for training it can be tailored to specific needs and the duration will vary depending on the required material to be covered.
Lab sessions shall include code examples specified by the course instructor as well as those selected by the trainee. At the end of the training session, a simple project shall be allotted to the trainees. The stress shall be to cover all aspects of C.
Course - C Programming
Duration: Four (4) Weeks
This session gives a basic knowledge on C Programming. The lab sessions will stress more on teaching candidates Programming concepts. This is a four (4) weeks course with 50 % theory and 50 % lab. |
| |
|
| |
Modules Coverd |
| |
| Module 1 |
Description |
Overview of C |
- Introduction, Importance of C.
|
|
| |
|
| |
| Module 2 |
Description |
Basics of C |
- Basic structure of C program.
- Constants, Variables and Data types
- C tokens.
- Keywords and Identifiers.
- Operators Expressions.
- Input output functions.
|
|
| |
|
| |
| Module 3 |
Description |
Programming constructs in C. |
- Decision making and branching
- Decision making with IF statement.
- Nesting IF ELSE statement.
- The switch statement.
- Decision making and looping.
- The WHILE statement.
- The Do statement.
- The FOR statement.
- The CONTINUE statemen
|
|
| |
|
| |
| Module 4 |
Description |
Arrays in C. |
- One Dimensional Array.
- Initializing one-dimensional Array.
- Character Array.
- Multidimensional Array.
- Initializing 2 Dimensional Arrays
|
|
| |
|
| |
| Module 5 |
Description |
Functions |
- Introduction.
- Function advantages.
- Function structures.
- Function headers.
- Function Declaration - Forward declaration.
- Return statement.
- Calling methods.
- Storage classes.
- Recursion
- Nesting function calls.
|
|
| |
|
| |
| Module 6 |
Description |
Structures and Unions |
- What is a structure?
- Defining a structure.
- Referencing a structure.
- Initialization of structure variable.
- Structure within a structure.
- Passing Structure as arguments.
- Arrays of structures.
- Union
- Unions of structures
|
|
| |
|
| |
| Module 7 |
Description |
Pointers |
- Declaring pointer variable.
- The address operator (&).
- Pointer arithmetic
- Pointer as function parameters.
- Pointer and arrays.
- Linked lists.
|
|
| |
|
| |
| Module 8 |
Description |
Files |
- Streams and files.
- Streams.
- Text streams.
- Binary streams.
- File pointers.
- Opening streams.
- Closing streams.
- Flushing streams.
- The standard streams.
|
|
| |
|