Decision making & looping — Study Resources & PYQs
Conditional and looping constructs for controlling repeated and selective execution.
- Estimated study time: 30 minutes
Study resources
- C Decision Making section - GeeksforGeeks tutorial (Article) — The Control Flow section covers every branching form in your syllabus with runnable examples. Pay attention to the dangling-else problem in nested if statements.
- Introduction to Flowcharts - GeeksforGeeks (Article) — Gives the flowchart rules (start and end keywords, arrow connections, decision points with two or more outcomes) and a worked example. Learn the rules; examiners deduct marks for wrong symbols.
- Loops in C (GeeksforGeeks) (Article) — Covers for, while and do-while loops side by side with flowcharts, syntax differences (entry- vs exit-controlled) and example programs.
- Difference between break and continue statement in C (GeeksforGeeks) (Article) — Clearly contrasts break (exits the loop) and continue (skips to next iteration) with side-by-side code examples and nested-loop behaviour.
- do...while Loop in C (GeeksforGeeks) (Article) — Explains the exit-controlled do-while loop in depth and demonstrates nested do-while loops, useful for pattern-printing style problems.
Taught in these subjects
- COMPUTER PROGRAMMING — CST3101 · Government College of Engineering and Technology, Jammu
- FUNDAMENTALS OF PROGRAMMING USING C — CST3201 · Government College of Engineering and Technology, Jammu
- COMPUTER PROGRAMMING — CST3101 · Government College of Engineering and Technology, Jammu