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
Unit II: Structured Programming, Algorithms and C Fundamentals
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
- Read one topic per sitting and try each worked example on paper before reading the solution.
- Answer the practice questions first, then check the answers at the end of the topic.
- Finish each unit with its review page and the question bank.
Sources
- Official BCA syllabus (NEP 2025 scheme), Problem Solving Techniques, course code 25BCA401SEC01
