FUNDAMENTALS OF COMPUTER PROGRAMMING (DSC-3)
FUNDAMENTALS OF COMPUTER PROGRAMMING (DSC-3)
Instructions:
All the slides and the course material will be available here
Reference textbook: "Programming with C" by Byron S Gottfried (2nd edition Schaum series)
Credits: 3:1
Class timings:
ECE-B: Mon(12:00-2:00 pm)-Room 214, Tue (3:00-4:00 pm)- Room 314
CSE-B: Tue(01:00-02:00 pm)-Room 314, Wed(11:00-01:00 pm)-Room 314
About the course:
Unit I Programming Fundamentals & Control Statements: Block Diagram of Computer, Hardware vs software, concept of operating system and compiler, Introduction to C programming, basic programming using input and output operators and expressions, programming using if and if-else, Programming using looping-for, while, do-while; use of switch and break.
Unit II Arrays based Programming: Defining and processing 1-D and 2-D Arrays for Problem solving, string as array of char and its processing
Unit III Modular programming using Functions: Structured Programming, storage classes defining and calling a function, modular programming using functions, passing arguments and arrays to functions, functions of void and returning values. Recursion, file handling
Unit IV Programming using pointers, structures and unions: Pointers in C: Pointer declaration, Passing Pointer to functions, pointers vs arrays, dynamic memory allocation. Structures and Unions, Programming Using Array of Structures and Unions, Memory Requirements for Unions.
Tentative Timeline:
This is a tentative timeline to help you plan your semester and may change from time to time depending on future circumstances.
There will be one quiz every month, i.e., in August, September and October.
The total weightage of these quizzes will tentatively be 30%.
Policies for Assignment:
Assignments are for learning, so make the best use of them.
Do not discuss the assignments with your friends to the extent that your answers are more than 30% similar, as this can result in losing marks, potentially even causing you to fail the course.
If you miss the deadline, you can still submit the assignment, but there will be a 10% penalty for each extra day you take beyond the deadline.
The University of Delhi has a very strict policy against plagiarism, so you are expected not to use ChatGPT or other language models for your assignments.
Reading:
https://ocw.mit.edu/courses/6-087-practical-programming-in-c-january-iap-2010/ by Daniel Weller, Sharat Chikkerur
https://onlinecourses.nptel.ac.in/noc22_cs40/preview by Prof. Satyadev Nandakumar