Control Statements — Flashcards
NIOS · Class 12 · Computer Science
32 flashcards for Control Statements (NIOS Class 12 Computer Science) to test yourself on key terms and facts. Sample: "What are control flow statements?"
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 flashcards and more.
Free trial, no card needed.
What are control flow statements?
Answer
Control flow statements specify the order of execution of statements in a program.
What is the normal flow of execution in a high level language?
Answer
The normal flow of execution in a high level language is sequential, so each statement runs in the order in which it appears.
What is a statement in C++?
Answer
Statements are the instructions given to the computer to perform any kind of action. Statements form the smallest executable unit within a C++ program, and they are always terminated by a semicolon.
What is a compound statement?
Answer
A compound statement is a grouping of statements in which each individual statement ends with a semicolon. The group of statements is called a block, and it is enclosed in curly braces { }.
What is a null statement?
Answer
Writing only a semicolon indicates a null statement. It is used where syntax requires a statement but program logic needs none. It is generally used in for and while looping statements.
What is the syntax of the if statement?
Answer
if (condition) { statement(s); } Here, condition is a boolean expression. The statement or statements run only when the condition is true.
What happens in an if statement when the condition is false?
Answer
The statement or block inside the if is skipped, and control moves directly to the next statement after it.
What is the syntax of the if-else statement?
Answer
if (condition) { statement1; } else { statement 2; } statement 3; If the condition is true, statement1 runs. If it is false, statement2 runs. statement3 always executes after the if-else block.
+24 more flashcards
Practise AllFrequently Asked Questions
What are the important topics in Control Statements for NIOS Class 12 Computer Science?
How many flashcards are available for 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
Formula Sheet
The chapter's formulas in one place
Chapter Summary
Understand the chapter at a glance
Concept Maps
See how topics connect
Study Plan
Step-by-step plan for this chapter
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.