20CYS113 - Computer Programming and 20CYS181 - Computer Programming Lab - 2nd Sem - B.E. CSE(CYS) - ASE, CBE
CO# | CO Description |
---|---|
CO1 | Understand the typical programming constructs: data (primitive and compound), control, modularity, recursion etc. thereby to understand a given program |
CO2 | Understand and analyze a given program by tracing, identifying coding errors and debugging them. |
CO3 | Make use of the programming constructs appropriately and effectively while developing computer programs. |
CO4 | Develop computer programs that implement suitable algorithms for problem scenarios and applications |
Unit # | Topic | No. of Hours |
---|---|---|
1 | Introduction and Review of C language constructs. | |
1 | Functions – inter function communication standard functions, scope. | |
1 | Recursion – recursive definition, recursive solution, designing recursive functions, limitations of recursion. |
|
1 | Arrays – 1D numeric | |
1 | Searching and sorting, 2D numeric arrays | |
2 | Pointers: introduction | |
2 | Compatibility, arrays and pointers | |
2 | Dynamic memory allocation, arrays of pointers, pointer arithmetic. | |
2 | Strings: fixed length and variable length strings, strings and characters, string input, output, array of strings, string manipulation functions, sorting of strings. |
|
3 | Structures: structure vs array comparison | |
3 | Complex structures, structures and functions, Union | |
3 | Files and streams, file input output, command line arguments |
Components | Marks |
---|---|
[Internal] Quiz | 10 |
[Internal] Assignments | 10 |
[Internal] Periodical I | 15 |
[Internal] Periodical II | 15 |
[External] End-Semester Exam | 50 |
Components | Marks |
---|---|
[Internal] Practice Exercises (HPOJ) | 20 |
[Internal] Mini-Project | 30 |
[Internal] Periodical I | 15 |
[Internal] Periodical II | 15 |
[External] End-Semester Exam | 20 |
- Text: Forouzan BA, Gilberg RF. Computer Science: A structured programming approach using C. Third Edition, Cengage Learning; 2006.
- Text: Brian W. Kernighan and Dennis M. Ritchie, The C Programming Language, Second Edition, Pearson, 2015.
- Reference : Byron Gottfried. Programming with C. Fourth Edition, McGrawHill,; 2018.
- Reference : Eric S. Roberts. Art and Science of C. Addison Wesley; 1995.
- Reference : Jeri Hanly and Elliot Koffman. Problem Solving and Program Design in C. Fifth Edition, Addison Wesley (Pearson); 2007.
- Reference : E. Balaguruswamy, Programming in ANSI C, 8Th Edition, Tata McGraw-Hill Education; 2019
- Reference : Anita Goel and Ajay Mittal, Computer fundamentals and Programming in C, Pearson Education India; 2016
- Reference : Rajaraman V, PHI, Computer Basics and Programming in C, Prentice-Hall of India Pvt.Ltd; 2008
- Reference : Yashavant P, Kanetkar, Let us C, 16TH Edition, BPB Publications; 2017