, CONTENTS
Module: 1
Lecture 1: A Beginner’s Guide
Lecture 2: Introduction to Programming
Lecture 3: Introduction to C, structure of C programming
Lecture 4: Elements of C
Lecture 5: Variables, Statements, Expressions
Lecture 6: Input-Output in C
Lecture 7: Formatted Input-Output
Lecture 8: Operators
Lecture 9: Operators continued…
Lecture 10: Control Statements
Lecture 11: Iterative statements
Lecture 12: Jump statements
Module: 2
Lecture 13: Function
Lecture 14: Function categories
Lecture 15: Actual arguments and Formal arguments
Lecture 16: Recursion
Lecture 17: Recursion verses Iteration
Lecture 18: Storage classes
Lecture 19: Arrays
Lecture 20: Two Dimensional Arrays
Lecture 21: Array using Function
Lecture 22: Strings
, Lecture 23: Common Functions in String
Module: 3
Lecture 24: Structure in C Union
Lecture 25: Nested Structure
Lecture 26: Union
Lecture 27: Pointers
Lecture 28: Pointers and Arrays
Lecture 29: Pointer Arithmetic
Lecture 30: Pointers and Function
Lecture 31: Dynamic Memory Allocation
Lecture 32: Pointer to Structure
Lecture 33: File
Module: 4
Lecture 34: Algorithm and Data Structure
Lecture 35: Analysis of Algorithms
Lecture 36: Storage structure of Arrays
Lecture 37: Sparse Matrices
Lecture 38: Stack
Lecture 39: Queue
References
, MODULE 1
LECTURE NOTE-1
A BEGINNER’S GUIDE
INTRODUCTION TO COMPUTERS
Any programming language is implemented on a computer. Right form its inception, to the
present day, all computer system (irrespective of their shape & size) perform the following 5
basic operations. It converts the raw input data into information, which is useful to the users.
Inputting: It is the process of entering data & instructions to the computer system.
Storing: The data & instructions are stored for either initial or additional processing,
as & when required.
Processing: It requires performing arithmetic or logical operation on the saved data
to convert it into useful information.
Outputting: It is the process of producing the output data to the end user.
Controlling: The above operations have to be directed in a particular sequence to be
completed.
Based on these 5 operations, we can sketch the block diagram of a computer.
Fig 1: Block Diagram of a Computer