Control Statements — Formula Sheet
NIOS · Class 12 · Computer Science
12 formulas from Control Statements (NIOS Class 12 Computer Science) on one page, grouped by topic. Part of the NIOS Class 12 Computer Science syllabus.
Interactive on Super Tutor
Studying Control Statements? Get the full interactive chapter.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for formula sheet and more.
Free trial, no card needed.
Formulas and Key Relations
Conditional Statements
if (condition) { statement(s); }
if (condition) { statement1; } else { statement 2; } statement 3;
if (condition1) { if (condition2) { statement(s); } }
if (condition 1) statement1; else if (condition 2) statement2; else statement 3;
switch (var / expression) { case constant1 : statement1; break; case constant2 : statement2; break; default : statement3; }
Loop Constructs
while (condition) { statement(s); }
do { } while (condition);
for (initialization; decision; increment/decrement) { statement(s); }
Jump Statements and Exit
goto pgr; | | pgr :
while (condition) { statement 1; if (condition) break; statement 2; } statement 3;
while (condition) { statement 1; if (condition) continue; statement 2; } statement 3;
exit (code);
Full sheet with units and worked examples
View AllFrequently Asked Questions
What are the important topics in Control Statements for NIOS Class 12 Computer Science?
How many formulas are in Control Statements?
How should I revise Control Statements for the NIOS Class 12 board exam?
Sources & Official References
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Control Statements
Practice Quiz
Test yourself with a quick quiz
Important Questions
Exam-style questions with answers
Revision Notes
Key points for last-minute revision
Chapter Summary
Understand the chapter at a glance
Concept Maps
See how topics connect
Study Plan
Step-by-step plan for this chapter
Flashcards
Quick-fire cards for active recall
Syllabus
What topics to cover
For serious students
Get the full Control Statements chapter — start free.
Quizzes, flashcards, an AI doubt solver and a study plan for NIOS Class 12 Computer Science. Free to start, no card needed.