True / False For Flow of Control Class 11 Computer Science (CS), Informatics Practices (IP)


1. An if-else tests less number of conditions than two successive ifs.

2. A for loop is termed as a determinable loop.

3. The range() creates an iterable sequence.

4. The for loop can also tests a condition before executing the loop-body.

5. The range() function can only be used in for loops.

6. An if-elif-else statement is equivalent to a nested-if statement.

7. A for loop can contain another for loop in it.

8. The while loop is an exit controlled loop.

9. Only if statement can have an else clause.

10. A loop can also take an else clause.

11. The else clause of a loop gets executed only when a break statement terminates it.

12. An loop with an else clause executes its else clause only when the loop terminates normally.

13. A loop with an else clause cannot have a break statement.

14. A continue statement can replace a break statement.

15. For a for loop, an equivalent while loop can always be written.

16. For a while loop, an equivalent for loop can always be written.



Answer :-

1. True
2. True
3. True
4. False
5. False
6. True
7. True
8. False
9. False
10. True
11. False
12. True
13. False
14. False
15. True
16. False

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post