Title | Computer Programming & Lab
[MA511 & MA512, 3-0-0-6 & 0-0-3-3] |
Level | M.Sc.(M&C) I Sem (core)
|
Semester | First Semester of Academic Year 2008 - 2009 (July - November 2008) |
TA | Mr. Santanu Majumdar for Computer Programing Lab |
Links | Unix Command Dictionary
|
Reference |
- B. Kernighan and D. Ritchie, The C Programming Language. Prentice
Hall India.
- Byron S Gottfried, Programming with C. Schaum's OuTlines
- V. Rajaraman, Computer Programming in C. Prentice Hall
India.
- Brian W. Kernighan and Rob Pike, The UNIX programming
environment, Prentice Hall India.
|
Announcement:
|
- Assignment submission deadline is on 30/11/2008 (Sunday) before 12Noon copy the files to the directory name "username512A3".
- Endsem Exam is on November 25, 2008 from 9:00AM to 12:00Noon in L2.
- Lab Exam is on 19/11/2008 (Wednesday)
from 2:00PM to 5:00PM.
- Quiz III(Th) is on 14/11/2008 from 4:00PM to 5:30PM in the Gallery 1G2.
- Quiz II(Lab) is on 13/11/2008 from 2:00PM to 5:00PM in the Dept. Lab.
- Quiz II(Th) is on 27/10/2008 from 4:00PM to 5:30PM in the Gallery 1G2.
- Assignment submission deadline is on 16/10/2008 before 11:59PM copy the files to the directory name "username512A2".
- Lab Exam is on 15/10/2008 (Wednesday)
from 2:00PM to 5:00PM.
- Midsem is on 25/09/2008 (Thursday) from 10:00AM to 1200AM.
- Quiz I(Lab) is on 03/09/2008 from 2:00PM to 5:00PM in the Dept. Lab.
- Quiz I(Th) is on 29/08/2008 from 4:00PM to 5:30PM in the Gallery 1G2.
- Assignment submission deadline is on 28/08/2008 before 11:59PM
For submission please login to IP: 172.16.68.3 through ssh with your username and password of this departmental server and copy the files to the directory name "username512" from your home directory.
Example: Username: partha.sm directory name: partha.sm521 comment for copy: cp file.c partha.sm521/
After coping all the files make sure it’s done properly otherwise write permission would be over immediately after the deadline.
|
Lecture Notes: | _____________________________________________________________ |
Aug 1 | Lecture Notes 1 [Time Table, Tests and Marks distribution, Reference Books, Computer Organization, Block Diagram of Computer, Memory, CPU, Speed and Reliability, Hardware vs Software, Operating System] |
Aug 4 | Lecture Notes 2 [Computer Characteristics, Computer Programming, Machine language instructions, High Level Language, Compilation or Interpretation, Computer Language, Computer Algorithms, Flow Charts] |
Aug 5 & 8 | Lecture Notes 3 [Example: C Programming, Data types, Variable declaration, Operators, Operands conversion] |
Aug 11 & 12 | Lecture Notes 4 [Type Casting, Variable, Unary operators, Relational and logical operators, Conditional Statements, Loops, Assignment operators, Conditional operator, Array, Assignment] |
Aug 14 & 19 | Lecture Notes 5 [Library Functions, Input & Output, Random number generator, Assignment] |
Aug 22 & 25 | Lecture Notes 6 [switch Statement, comma Operator, break Statement, return Statement, continue Statement, goto Statement, Assignment] |
Aug 26 | [S U R P R I S E T E S T] |
Aug 29 | Quiz I(Th) |
Sep 1 & 2 | Lecture Notes 8 [Function Prototypes, Recursion, The Towers of Hanoi] |
Sep 3 | Quiz II(Lab) |
Sep 9 & 12 | Lecture Notes 9 [Structure, Exercise] |
Sep 15 | Lecture Notes 10 [Global variable, Static storage class, Exercise] |
Sep 16 | Lecture Notes 11 [typedef, Structure, Union, Pointer]
|
Sep 19 | Lecture Notes 12 [Swap, Passing arguments (value, pointer) to Function, Call by value, Call by reference, Storage class] |
Sep 25 | Midsem(Th) |
Oct 3 | Lecture Notes 13 [Function argument as pointer to an array, function return pointer, Pointer & multidimensional arrays, Exercise] |
Oct 13 | Lecture Notes 14 [Passing function to other function, Dynamic memory allocation] |
Oct 15 | Midsem(Lab) |
Oct 14 & 17 | Lecture Notes 15 [Self-Reference Structure, Creation of Linked Lists] |
Oct 20 & 21 | Lecture Notes 16 [Search, Insert and Delete operation in linked list, Assignment] |
Oct 24 | Lecture Notes 17 [Circular linked list, Doubly linked list, Assignment] |
Oct 27 | Quiz II(Th) |
Oct 31 & Nov 3 | Lecture Notes 18 [Binary Trees, Binary search Trees, Tree Traversal] |
Nov 4 | Lecture Notes 19 [Data File (fopen, fclose, fprintf, fscanf), Assignment] |
Nov 7 | Lecture Notes 20 [Unformatted data files (fwrite, fread), Examples] |
Nov 10 | Lecture Notes 21 [Binary file format, Storage in Binary and Text file format, Adv. and disadvantage in Binary file format] |
Nov 11 | Lecture Notes 22 [Command line parameters, Examples] |
Nov 13 | Quiz II(Lab) |
Nov 14 | Quiz III(Th) |
Nov 17 | Lecture Notes 23 [Macro, Root file system, GNU/Linux commands] |
Nov 18 | Lecture Notes 24 [Combining programs in different files, The C Preprocessor/Conditional compilation] |
Nov 19 | Endsem(Lab) |
Nov 21 | Lecture Notes 25[Bit Level Operations] |
Nov 25 | Endsem(Th)[Will be uploaded] |
| |