Skip to main content
Chapter 14 of 29
Flashcards

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?"

121 questions32 flashcards12 formulas & key relations5 concepts

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.

32 Flashcards·
Introduction to control statementsStatementsCompound statementNull statementif statementif-else statement
Card 1Introduction to control statements

What are control flow statements?

Answer

Control flow statements specify the order of execution of statements in a program.

Card 2Introduction to control statements

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.

Card 3Statements

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.

Card 4Compound statement

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 { }.

Card 5Null statement

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.

Card 6if statement

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.

Card 7if statement

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.

Card 8if-else statement

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 All

Frequently Asked Questions

What are the important topics in Control Statements for NIOS Class 12 Computer Science?
Key topics in Control Statements include Statements and Blocks, Conditional Statements, Loop Constructs, Jump Statements and Exit. Study these first, then practise questions on each for the NIOS Class 12 board exam.
How many flashcards are available for Control Statements?
There are 32 flashcards for Control Statements covering key definitions, facts and ideas. A few sample cards are shown on this page.
How should I revise Control Statements for the NIOS Class 12 board exam?
Learn the core ideas first, then work through the 121 practice questions on Control Statements. Revise definitions regularly and use flashcards for quick recall before the exam.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

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.