Skip to main content

Posts

Showing posts with the label Class 11th Chapter - 5 Flow of Control

ads1

Class 11th Chapter - 5 Flow of Control

  Class 11th Chapter - 5  Flow of Control TERM   Block :- A group of consecutive statements having some indentation level Body :- The block of statements in a compound statement that follows the header. Empty statement :- A statement that appears in the code but does nothing  Infinite Loop :- A loop that never ends. Endless loop: Iteration Statement :- Statement that allows a set of instructions to be performed repeatedly.  Looping Statement :- Iteration statement. Also called a loop. Nesting :- Some program-construct within another of same type of construct  Nested Loop :- A loop that contains another loop inside its body. Suite :- Block Answer the Following Question. 1. What is a statement ? What is the significance of an empty statement ?  SOLUTION. A statement is an instruction given to the computer to perform any kind of action. An empty statement is useful in situations where the code requires a statement but logic does not. To fill these two requirements simultaneously, empty st

ads2