Instructor: Partha Sarathi Mandal [TEL: 03612582624, E-mail: psm [at] iitg [dot] ac [dot] in ]
Course title: COMPUTER PROGRAMMING [MA511] [3-0-2-8]
Level: M.Sc.(M&C)
Prerequisites: Nill
Semester: Jul - Nov 2022
Lecture Time: Wed (E), Thu (E), Fri (F): 11-11:55
Lab Time: AL-2 (Tuesday: 3 PM - 5 PM)
Class Room: 5102
TA: Subhajit Pramanick and Saswata Jana
Links: Unix Command Dictionary
Contents: Here.
Exams & Marking: [Continuous Evaluation via Quizes + Performance in Lab + Viva + Midsem + Endsem]
Reference:
  1. A. Kelly and I. Pohl, A Book on C, 4th Ed., Pearson Education.
  2. Byron S Gottfried, Programming with C. Schaum's OuTlines.
  3. B. Kernighan and D. Ritchie, The C Programming Language. Prentice Hall India.
  4. V. Rajaraman, Computer Programming in C. Prentice Hall India.
  5. Brian W. Kernighan and Rob Pike, The UNIX programming environment, Prentice Hall India.
Announcement:
  1. First class will be held on 28th July 2021 at 9AM (Thursday) .
Lecture Notes: __________________________________________________________________________________
Jul 28 Lecture Notes 1 [Introduction]
Jul 29 Lecture Notes 2 [Introduction contd., Flow Charts, Assignments, Exercise]
Aug 03 Lecture Notes 3 [Data types, Variable declaration, Operators]
Aug 04 Lecture Notes 4 [Type Casting, Unary operators, Relational and logical operators, Conditional Statements, Hierarchy of operator precedence, if-else, loops]
Aug 05 Lecture Notes 5 [Conditional operator, Array, Exercise]
Aug 10 Lecture Notes 6 [Design algorithm before programming, Random number generation, Assignments]
Aug 11 Lecture Notes 7 [I/O, Strings manipulation, Assignment]
Aug 12 Lecture Notes 8 [switch, comma Operator, break, return, continue, goto statement, Assignments]
Aug 17 Lecture Notes 9 [Function Prototypes, Assignments]
Aug 18 Lecture Notes 10 [Recursion in C Function, Assignments]
Aug 24 Lecture Notes 11 [Structure, Assignments]
Aug 25 Lecture Notes 12 [Structure contd. and Union]
Aug 26 Lecture Notes 13 [Pointer]
Aug 31 Lecture Notes 14 [pointer contd. Passing Arguments (value, pointer and a pointer to an array) to Function]
Sep 01 Lecture Notes 15 [pointer contd. Passing a pointer to a character string, a character]
Sep 07 Quiz 1
Sep 08 Lecture Notes 16 [Function returning a pointer, Pass function pointer as parameter]
Sep 09 Lecture Notes 17 [Pointer and Multidimensional Array]
Sep 13 Lab Exam 1
Sep 14 Lecture Notes 18 [Dynamic memory allocation]
Sep 15 Lecture Notes 19 [Pointer to structure and passing structures to a function]
Sep 16 Lecture Notes 20 [Creation of linked list]
Sep 20 Midsem
Sep 28 Lecture Notes 21 [Insertion and search over Linked list]
Sep 29 Lecture Notes 22 [Deletion from Linked list]
Sep 30 Lecture Notes 23 [Circular Linked list and link reversal]
Oct 14 Lecture Notes 24 [Doubly Linked List]
Oct 19 Lecture Notes 25 [Binary Search Tree]
Oct 21 Lecture Notes 26 [File read and write]
Oct 26 Lecture Notes 27 [Unformatted data files]
Oct 28 Lecture Notes 28 [command line parameters]