These notes cover the full Problem Solving Techniques course for BCA Semester I in four units. Each unit is split into short topics that take about 10 to 20 minutes to read, with worked examples, common mistakes and practice questions with answers.

What you will be able to do

Unit I: Problems, Algorithms and Problem Solving

  • Describe a computational problem in terms of its inputs, outputs and constraints, and identify instances of it.
  • Distinguish a general problem from its special cases and classify problems by the kind of answer required.
  • Analyse a requirement and develop a clear, finite algorithm for it.
  • Judge an algorithm for correctness and efficiency.
  • Explain how data structures and decomposition support problem solving.
  • Write input and output specifications, validation rules, preconditions and postconditions.

Unit II: Structured Programming, Algorithms and C Fundamentals

  • Write algorithms using sequence, selection and repetition.
  • Choose a suitable type of loop for a given task.
  • Express an algorithm as pseudocode and as a flowchart in the standard format.
  • Develop algorithms for patterns, progressions and series approximations.
  • Explain how integers, real numbers and characters are represented in memory.
  • Write, compile and test simple C programs translated from algorithms.

Unit III: Number Problems, Data Processing and Additional C Control

  • Extract the digits of a number in either direction using division and remainder.
  • Develop and code algorithms for palindrome, prime, perfect, amicable and Armstrong numbers and for factorials.
  • Convert a number from one base to another and validate its digits.
  • Compute the maximum, minimum, sum and average of a sequence read with a sentinel.
  • Use the else-if ladder and the switch statement for multiple-way selection.
  • Use the increment and decrement operators and the break and continue statements correctly.

Unit IV: Modular Programming, Arrays, Functions and Debugging

  • Design a program as a set of modules using the top-down or the bottom-up approach.
  • Write recursive solutions with a correct base case.
  • Declare, read and display one-dimensional and two-dimensional arrays.
  • Compute the maximum, minimum, sum, mean, median, mode and range of the values in an array.
  • Search an array by the sequential and binary methods, and sort it by bubble sort.
  • Add, subtract and transpose matrices.
  • Define and call C functions with prototypes, parameters and return values.
  • Use string functions, apply precedence and associativity, and debug C programs.

Who this is for

BCA Semester I students studying Problem Solving Techniques (course code 25BCA401SEC01), and anyone who wants a plain-English walk through the same syllabus. Start at Unit I unless you already know the basics.

Syllabus

Unit I: Problems, Algorithms and Problem Solving

Topic Time
Problems and Problem Instances 5 min
Generalization and Special Cases 5 min
Types and Classification of Computational Problems 5 min
Problem Analysis and Solution Approaches 5 min
Algorithm Development 5 min
Algorithm Analysis, Efficiency and Correctness 5 min
Role of Data Structures in Problem Solving 5 min
Problem-Solving Steps 5 min
Breaking Problems into Subproblems 5 min
Input/Output Specification and Input Validation 5 min
Preconditions and Postconditions 5 min
Unit I review: summary, glossary and questions 10 min

Unit II: Structured Programming, Algorithms and C Fundamentals

Topic Time
Structured Programming and Sequence 5 min
Selection Statements 5 min
Repetition Statements and Nested Control Structures 5 min
Types of Repetition 5 min
Pseudocode, Flowcharts and Standard Algorithm Format 5 min
Patterns and Shapes Using Iteration 5 min
Progressions and Sequences 5 min
Taylor-Series Approximations 5 min
Data Representation in Computer Memory 5 min
Programming-Language Foundations 5 min
C Program Structure and Fundamentals 5 min
Translating Algorithms into C 5 min
Unit II review: summary, glossary and questions 10 min

Unit III: Number Problems, Data Processing and Additional C Control

Topic Time
Extracting Digits from a Number 5 min
Palindrome Numbers 5 min
Prime Numbers and Prime Factors 5 min
Amicable and Perfect Numbers 5 min
Armstrong Numbers and Factorial 5 min
Number-Base Conversion 5 min
Statistics over a Sequence 5 min
Multiple-Way Selection in C 5 min
Increment and Decrement Operators 5 min
break and continue 5 min
Unit III review: summary, glossary and questions 10 min

Unit IV: Modular Programming, Arrays, Functions and Debugging

Topic Time
Modular Programming 5 min
Recursion 5 min
Arrays and Array Input/Output 5 min
Basic Array Statistics 5 min
Median, Mode and Range 5 min
Sequential Search 5 min
Binary Search 5 min
Sorting 5 min
Matrix Operations 5 min
C Functions 5 min
Strings and Operator Rules 5 min
Debugging 5 min
Unit IV review: summary, glossary and questions 10 min

How to study these notes

  1. Read one topic per sitting and try each worked example on paper before reading the solution.
  2. Answer the practice questions first, then check the answers at the end of the topic.
  3. Finish each unit with its review page and the question bank.

Sources

  • Official BCA syllabus (NEP 2025 scheme), Problem Solving Techniques, course code 25BCA401SEC01