Posts

Showing posts with the label Flowchart and Algorithm

Flowchart and Algorithm - VIII - interactive Worksheet

Loading…

Chapter 4: Control Flow - Python

Chapter 4: Control Flow Chapter 4: Control Flow Fill in the Blanks 1. The if statement in Python is used for ________ . Answer: decision-making 2. The ________ statement executes a block of code when the condition in the if statement is false. Answer: else 3. The elif statement allows checking of ________ conditions. Answer: multiple 4. A for loop iterates over a ________ . Answer: sequence 5. The while loop executes as long as the ________ remains true. Answer: condition 6. An else block in a loop executes when the loop is ________ . Answer: exhausted 7. A loop can be exited early using the ________ statement. Answer: break True or False 1. The if statement is used f...

Revision Class VIII-Flowchart and Algorithm

Image
    3. Flowchart and Algorithm   Std - VIII ========================================================================= ------------------------------------------------------------------------------- Answer the following: 1. Define the term flowchart. Answer: A flowchart is a pictorial representation of steps or an algorithm used for solving a particular pro 2. What is an Algorithm? Answer: Algorithm is a set of sequential steps to solve any logical or a mathematical problem. An algorithm language is written in a simple language. 3. What is the use of Input / Output box? Answer: Input / Output box is used for accepting input or giving output of the program. 4. When do we use the Process box? Answer: Process box is used for writing the processing instructions and doing calculations. 5. What do we use of the Decision box? Answer: Decision box is used for checking or applying any condition in the program. 6. What is an algorithm? Answer:  An algorithm is a set of...