, INDEX
S. No Topic Page No
Week 1
1 Introduction 1
2 Idea of Algorithms 10
3 Flow Chart and Pseudocode 20
4 Introduction to Programming Language Concepts 32
5 Variables and Memory 45
6 Types of Software and Compilers 59
7 Introduction to C Programming Language 73
8 Variables and Variable Types in C 89
9 Introducing Functions 102
10 Address and Content of Variables and Types 118
Week 2
11 Assignment Statement and Operators in C 137
12 Arithmetic Expressions and Relational Expressions 153
13 Logical Operators and Change in Control Flow 171
14 Use of Logical Operaotrs in Branching 183
Week 3
15 Branching : IF - ELSE Statement 202
16 IF-ELSE Statement (Contd.) 218
17 Switch statement 234
18 Switch Statement (Contd.) and Introduction to Loops 248
19 Implementing Repetitions (Loops) 263
Week 4
20 Implementation of Loops with for Statement (Contd.) 274
21 For Statement (Contd.) 284
22 Example of If-Else 298
,23 Example of Loops 310
Week 5
24 Example of Loops (Contd.) 321
25 Example of Loops (Contd.), Use of FOR Loops 334
26 Introduction to Arrays 347
27 Arrays (Contd.) 359
28 Arrays (Contd.) 372
Week 6
29 Program using Arrays 384
30 Array Problem 396
31 Linear Search 408
32 Character Array and Strings 422
Week 7
33 String Operations 445
34 2-D Array Operation 460
35 Introducing Functions 474
36 More on Functions 486
Week 8
37 Function (Contd.) 503
38 Scanf and Printf Functions; Function Prototype 522
39 Parameter Passing in Function Revision 540
40 Parameter Passing in Function Revision (Contd.) 555
Week 9
41 Substitution of # include and Macro 573
42 "search" as a function 589
43 Binary Search 600
44 Binary Search (Contd.) 612
45 Sorting Methods 629
46 Bubble Sort (Contd.) 644
, Week 10
47 Use of Pointer in Function : Context Bubble Sort 655
48 Arrays at Strings 666
49 Data Representation 682
50 Bisection Method 694
51 Interpolation 716
52 Trapezoidal Rule and Runge-Kutta Method 727
Week 11
53 Recursion 753
54 Recursion(Contd.) 768
55 Structure 782
56 Structure (Contd.) 798
57 Structure with typedef 814
58 Pointer 829
Week 12
59 Pointer (Contd.) 850
60 Pointer in Structures 868
61 Dynamic Allocation and File 883
S. No Topic Page No
Week 1
1 Introduction 1
2 Idea of Algorithms 10
3 Flow Chart and Pseudocode 20
4 Introduction to Programming Language Concepts 32
5 Variables and Memory 45
6 Types of Software and Compilers 59
7 Introduction to C Programming Language 73
8 Variables and Variable Types in C 89
9 Introducing Functions 102
10 Address and Content of Variables and Types 118
Week 2
11 Assignment Statement and Operators in C 137
12 Arithmetic Expressions and Relational Expressions 153
13 Logical Operators and Change in Control Flow 171
14 Use of Logical Operaotrs in Branching 183
Week 3
15 Branching : IF - ELSE Statement 202
16 IF-ELSE Statement (Contd.) 218
17 Switch statement 234
18 Switch Statement (Contd.) and Introduction to Loops 248
19 Implementing Repetitions (Loops) 263
Week 4
20 Implementation of Loops with for Statement (Contd.) 274
21 For Statement (Contd.) 284
22 Example of If-Else 298
,23 Example of Loops 310
Week 5
24 Example of Loops (Contd.) 321
25 Example of Loops (Contd.), Use of FOR Loops 334
26 Introduction to Arrays 347
27 Arrays (Contd.) 359
28 Arrays (Contd.) 372
Week 6
29 Program using Arrays 384
30 Array Problem 396
31 Linear Search 408
32 Character Array and Strings 422
Week 7
33 String Operations 445
34 2-D Array Operation 460
35 Introducing Functions 474
36 More on Functions 486
Week 8
37 Function (Contd.) 503
38 Scanf and Printf Functions; Function Prototype 522
39 Parameter Passing in Function Revision 540
40 Parameter Passing in Function Revision (Contd.) 555
Week 9
41 Substitution of # include and Macro 573
42 "search" as a function 589
43 Binary Search 600
44 Binary Search (Contd.) 612
45 Sorting Methods 629
46 Bubble Sort (Contd.) 644
, Week 10
47 Use of Pointer in Function : Context Bubble Sort 655
48 Arrays at Strings 666
49 Data Representation 682
50 Bisection Method 694
51 Interpolation 716
52 Trapezoidal Rule and Runge-Kutta Method 727
Week 11
53 Recursion 753
54 Recursion(Contd.) 768
55 Structure 782
56 Structure (Contd.) 798
57 Structure with typedef 814
58 Pointer 829
Week 12
59 Pointer (Contd.) 850
60 Pointer in Structures 868
61 Dynamic Allocation and File 883