Advertisements
Advertisements
Question
Define control structure.
Advertisements
Solution
A program statement that causes a jump of control from one part of the program to another is called a control structure or control statement. As you have already learned in C++, these control statements are compound statements used to alter the control flow of the process or program depending on the state of the process.
APPEARS IN
RELATED QUESTIONS
How many important control structures are there in Python?
What is the output of the following snippet?
T=1
while T:
print(True)
break
Which amongst this is not a jump statement?
Which punctuation should be used in the blank?
if<condition>_
statement-block 1
else:
statement-block 2
List the control structures in Python.
Write a program to display.
A
A B
A B C
A B C D
A B C D E
Write the syntax of the while loop.
Write a detail note on for loop?
Write a detailed note on if..else..elif statement with suitable example.
Write a program to display a multiplication table for a given number.
