๐Ÿ’ป Code-First Learning โ€ข 8 PYQ Papers Analysed

Master C Programming
for Problem Solving

21CSC101T ยท SRM IST ยท Semester 1
Programming for Problem Solving โ€” Complete Smart Study Hub

5
Units Covered
8
PYQs Analysed
50+
Code Traces
15
Must-Know Concepts
โ†“ scroll to explore

๐Ÿ“š Notes & Presentations

Unit-wise lecture notes, PPTs & study material synced from Google Drive

โณ
Connecting to Google Driveโ€ฆ
๐Ÿ”ฅ Units 3 & 4 = 60% of marks.  Pointers, Arrays, Functions, and Strings appear in every single PYQ paper. Master these first! 70% of exam questions are "What is the output?" โ€” dry-run every code block character by character.
๐Ÿ“ˆ Data-Driven Analysis

PYQ Pareto Analysis

Based on 8 exam papers. Master the 20% of topics that yield 80% of marks.

Unit 1
Problem Solving & Algorithms
12%
9 / 75 marks
Unit 2
C Fundamentals & Control Flow
20%
15 / 75 marks
๐Ÿ”ฅ HOT
Unit 3
Arrays, Strings & Functions
28%
21 / 75 marks
๐Ÿ”ฅ HOT
Unit 4
Pointers & Structures
25%
19 / 75 marks
Unit 5
File I/O & Dynamic Memory
15%
11 / 75 marks

๐Ÿ† Top Topics โ€” The Pareto List

Historically high-frequency exam topics curated from analysis of past SRM university question papers.

๐ŸŒก๏ธ Topic Frequency Heatmap

๐Ÿ“š Complete Study Guide

Unit-by-Unit Study Guide

Clear concepts, memory layout diagrams, step-by-step code execution traces, and common exam mistakes for every unit.

๐Ÿ“š Full Course Outline โ€” Programming for Problem Solving Smart Study Hub

Complete topic index. Use the interactive unit tabs above for detailed notes, formulas, and MCQs.

Unit 1: Problem Solving & Algorithms โ€” Exam Frequency: Medium

The foundation of all programming. Before writing a single line of code, engineers must define the problem, design an algorithm, and represent it as a flowchart or pseudocode.

  • 1.1 Problem Solving Methodology
  • 1.2 Algorithms, Flowcharts & Pseudocode
  • 1.3 Linear Search vs Binary Search
  • 1.4 Bubble Sort & Selection Sort
Unit 2: C Fundamentals & Control Flow โ€” Exam Frequency: High

The core building blocks of C: data types, operators, the I/O system, and control flow constructs (if-else, switch, loops). These form the bedrock of all C programs.

  • 2.1 C Program Structure & Compilation
  • 2.2 Data Types, Variables & sizeof()
  • 2.3 Operators & Precedence โ€” The #1 MCQ Source
  • 2.4 Control Flow: if-else, switch, loops
Unit 3: Arrays, Strings & Functions โ€” Exam Frequency: Highest

The highest-weighted unit. Arrays store multiple values, strings are char arrays, and functions modularize code. Together they form the backbone of most C programs.

  • 3.1 Arrays โ€” Declaration, Access & Memory
  • 3.2 Strings โ€” Character Arrays & String Functions
  • 3.3 Functions โ€” Definition, Call & Scope
  • 3.4 Recursion โ€” The Call Stack
Unit 4: Pointers & Structures โ€” Exam Frequency: Highest

The most powerful and most feared part of C. Pointers store memory addresses; structures group related data. Together they enable dynamic data structures and efficient programming.

  • 4.1 Pointers โ€” Addresses, Declaration & Dereferencing
  • 4.2 Pointer Arithmetic & Arrays
  • 4.3 Structures (struct)
  • 4.4 Dangling Pointers & NULL Safety
Unit 5: File I/O & Dynamic Memory โ€” Exam Frequency: Medium

Files allow data to persist beyond program execution. Dynamic memory allocation (malloc/calloc/free) enables programs to request memory at runtime, enabling data structures of variable size.

  • 5.1 File I/O โ€” Opening, Reading, Writing
  • 5.2 Dynamic Memory Allocation
  • 5.3 Linked Lists โ€” Dynamic Struct Chains
โšก Quick Reference

Syntax, Algorithms & Complexity Cheat Sheet

Key C syntax templates, algorithm patterns, and Big-O complexities. Click any card to highlight it.

๐ŸŽฏ Exam Strategy

High-Yield Exam Strategy for PPS

How to approach each part of the PPS coding exam for maximum marks.

Part A
25 MCQs ร— 1 = 25 marks
Target: 20โ€“23 / 25
  • Output tracing: Trace printf/scanf with exact format specifiers 8/8
  • Operator precedence & associativity edge cases 8/8
  • Pre/post increment in expressions (++i vs i++) 8/8
  • Loop termination: identify off-by-one and infinite loop conditions 7/8
  • Pointer arithmetic: output of *ptr, ptr++, *(ptr+2) 7/8
  • sizeof() operator for primitive types, arrays, structs 7/8
  • Implicit type conversion and truncation in arithmetic 6/8
  • String functions: strlen, strcpy, strcat edge cases 6/8
  • scanf() format specifier bugs (%d reading float, etc.) 5/8
  • Bitwise operators: &, |, ^, ~, <<, >> on integers 5/8
Part B
5 Questions ร— 8 = 40 marks
Target: 32โ€“40 / 40
QUnitExpected Topic
21U1Write flowchart/algorithm for sorting or searching
22U2/3Write C program: factorial/fibonacci/pattern printing ๐Ÿ”ฅ
23U3Array manipulation OR string operations program ๐Ÿ”ฅ
24U4Pointer program OR structure with functions ๐Ÿ”ฅ
25U5File I/O program OR dynamic memory allocation with malloc/free
Part C
1 Question ร— 10 = 10 marks
Target: 8โ€“10 / 10

Choose 1 of 2 questions. Typical options:

Q.26
Bubble Sort + Selection Sort on a given array โ€” show EVERY PASS ๐Ÿ”ฅ OR Recursive functions (Fibonacci / Tower of Hanoi) โ€” trace call stack
Q.27
Linked list operations OR struct array program with pointers OR File handling program โ€” read, write, append with error checks
๐Ÿ’ก PPS Exam Secret: Always DRY-RUN your code mentally before writing. Draw the memory layout (stack frame, heap allocation) for pointer/struct questions. Examiners award marks for correct partial output even if a minor syntax error exists. Show variable states after EVERY iteration.

๐Ÿ”ฎ Predicted Next Exam Topics

Based on recent patterns

โœ๏ธ Practice Zone

Solved Questions & MCQ Drill

The most-repeated output-tracing and code-writing questions from 8 years of PYQs, plus MCQ flashcards.

๐Ÿƒ MCQ Flashcards โ€” Active Recall Drill

Click A, B, C, or D to commit your answer. Get instant feedback. Track your score below.

โœ… Correct: 0
โŒ Wrong: 0
๐Ÿ“Š Total: 0

โœ… Final Revision Checklist

๐Ÿ“œ Past Year Papers

Solved PYQs

Select a paper to view its full HTML solution.

โœ๏ธ Quick Scratchpad
โšก Quick Syntax Look-up
All Syntax Cards
๐Ÿ“‹ Copied to clipboard!
โœจ New: Live Compiler + AI Assistant