Principles of Computer Programming - CS201

  • Credit points: 4 (L[3]-T[1]-P[0])
  • Session: January - May' 2019 (B. Tech CSE, Second Semester)
  • Routine:
    1. Tuesday- 10 am to 11:40 am
    2. Friday- 10 am to 11:40 am
  • Attention: Students having attendance below 75% will not be allowed to appear in Semester Exam.

  • Course description:
    The purpose of this course is to learn and understand the use of programming languages that are backbones of computer science.
  • Teaching Learning Process:
    1. Methods of Lectures
    2. Methods of Interaction (Problem Solving Approach)
    3. Local Variables, Formal Parameters and Global Variables
  • Course objectives:
    1. Understand basic of programming language
  • Programme objectives:
    1. Learn basics of programming language
  • Prerequisites:
    1. Enthusiasm
    2. Logic Building Skills
    3. Mathematics(Basics higher school algebra like prime number, factorial etc.)
    4. 30% Programming Assignments
  • Syllabus:
    1. Introduction to digital computers
    2. Basic Data Types and Expressions in C
    3. Assignment, Arithmetic, logical and relational operators
    4. Bitwise, Bit-shift, Dot, Arrow, Pointer, [] operators
    5. Statements. Conditional statement -if
    6. Conditional Statements -if and Switch
    7. Iterative Statements: for loop
    8. while-loop
    9. do-while-loop
    10. Arrays and strings
    11. strings
    12. Indexing pointers and pointer arithmetic
    13. Pointers
    14. Pointer Expressions
    15. Pointers and Arrays
    16. Initializing Pointes
    17. Dynamic Memory Allocation
    18. Functions
    19. Calling Functions with Arrays
    20. Returning Values
    21. Returning Pointers and Recursion
  • Recommended books:
    1. Byron Gottfried, Programming with C, 3rd Edition, McGraw-Hill Education, ISBN-10: 0070145903, ISBN-13: 978-0070145900, 2017.
    2. Yashavant Kanetkar, Let Us C, 16th Edition, BPB Publications, ISBN-10: 9789387284494, ISBN-13: 978-9387284494, 2018.
    3. E. Balagurusamy, Programming in ANSI C, 7th Edition , McGraw Hill Education India Private Limited, ISBN-10: 9789339219666, ISBN-13: 978-9339219666, 2017.
    4. Scott Meyers, Effective C++: 55 Specific Ways to Improve Your Programs and Designs, 3rd edition, Addison Wesley, ISBN-10: 0321334876, ISBN-13: 978-0321334879, 2005.
    5. Brain W. Kernighan, Robe Pike, The UNIX Programming Environment, 1st edition, Pearson Education India, ISBN-10: 9332550255, ISBN-13: 978-9332550254, 2015.
    6. Brain W. Kernighan, Dennis Ritchie, The C Programming Language, 2nd edition, Pearson Education India, ISBN-10: 9332549443, ISBN-13: 978-9332549449, 2015.
  • Other resources:
    1. Piazza: We will be using (Piazza) for class communication. You will not be able to register to Piazza yourself. Your instructor will register you using the e-mail you have in the school system.
  • Miscellaneous:
    1. Hii