Programming for Problem Solving Syllabus (ICT-101T)
Programming for Problem Solving ICT-101T
All syllabus, notes, question bank & PYQ for this subject
- English
- Semester 1
- 0 downloads
- 0 views
Syllabus — Programming for Problem Solving
Download PDFICT-101T · 3 credits · L-T-P 3-0-0
GGSIPU | Paper code ICT-101T | L-T-P 3-0-0 | Credits 3
Paper: Programming for Problem Solving C :3 Prerequisites: None
Course Outcomes
- CO1: Develop structured C programs using fundamental programming constructs, data types, operators, expressions, control structures, and standard input/output techniques to solve computational problems.
- CO2: Design modular C programs using functions, arrays, strings, storage classes, header files, recursion, and standard library functions for implementing searching, sorting, and numerical algorithms.
- CO3: Develop efficient C programs employing structures, unions, enumerations, pointers, dynamic memory allocation, file handling, and command-line arguments for solving engineering applications involving complex data.
- CO4: Design and implement Abstract Data Types (ADTs) and fundamental data structures using C, including linked lists, stacks, queues, and trees, while applying function pointers, generic programming concepts, and modern C programming practices for robust software development.
Unit 1
Structure of a C program, Basic data types (int, char, float, double, bool, fixed-width integers), Declarations and initializations, Constants using const and #define, Operators and expressions (arithmetic, relational, logical, bitwise, assignment, conditional, increment/decrement), Type conversions (implicit, explicit casting), Input/output (printf, scanf, format specifiers), Compound statements (blocks), Conditional statements (if, if-else, else-if, switch), Loops (while, do-while, for, infinite loops, early exit), break, continue, goto, return, Algorithm development including flowcharts, pseudocode representation, Tracing and dry run, structured programming. C89, C99, C11 and C23 extensions and usage
Unit 2
Function declaration, definition, and invocation, Argument passing (by value, recursion), Inline functions and macro functions, Storage classes (auto, static, extern, register, thread_local), Scope and lifetime of variables, Header files and modular program design, One- and two-dimensional arrays (declaration, access, memory layout), Bubble sort, selection sort, insertion sort, linear and binary search, String input/output (gets, puts, fgets, fputs), Standard string manipulation (strlen, strcpy, strcat, strcmp, etc.), Arrays of strings, Command-line arguments. Root finding of a positive floating point number.
Unit 3
Structures (struct definition, nested structures, array of structures, pointer to structures), Unions (union, use-cases, memory layout), Enumerated types (enum, typedef enum), Bit fields, Memory layout and alignment, Pointers (declaration, dereferencing, pointer arithmetic, arrays vs pointers, pointer to pointer), Dynamic memory allocation (malloc, calloc, realloc, free), Memory leak prevention, NULL and null pointer checks, Compound literals, Representation and Arithmetic on polynomials with floating point coefficients. Matrices and arithmetic operations on them (addition, subtraction and multiplication). File I/O (opening, closing, reading, writing text and binary files, fopen, fclose, fprintf, fscanf, fread, fwrite, fgets, fputs), Error handling using errno, Command-line parameters
Unit 4
Abstract Data Types (ADTs), Singly and doubly linked lists , Stack (array and linked list implementation), Infix-to-postfix conversion, Parenthesis balancing, Queue (linear, circular, priority) (array and linked list implementation), Traversal, insertion, deletion in lists, Binary tree basics (creation, inorder, preorder, postorder traversal), Function pointers, Pointers to arrays and functions, Idea of Generic code using macros, _Generic for type-generic programming, Assertions and diagnostics (assert, _Static_assert), Safer macros and expressions, Forward declaration, Program segmentation, Header hygiene, recursion.
Text Books
- B. W. Kernighan and D. M. Ritchie, The C Programming Language, 2nd Edition, Pearson Education, 1988.
- Jens Gustedt, Modern C, 2nd Edition, Manning Publications, 2025.
- ISO/IEC 9899:2024, Information Technology — Programming Languages — C, 5th Edition, International Organization for Standardization (ISO), 2024.
Prepared from the official GGSIPU syllabus. Please check the latest official notification on ipu.ac.in for any change.
Ratings & Reviews
No reviews yet — share your experience with this item.