Back 

Programming constructs questions

Q1. State the three programming constructs.
Q2. Give an example of the sequence construct.
Q3. Give an example of the selection construct.
Q4. Give an example of the iterative construct.
Q5. What is meant by a nested construct?
Q6. Give an example of a nested IF construct.
Q7. Give an example of a nested FOR construct.
Q8. What is the difference between how a FOR, WHILE and REPEAT construct works?
Q9. What is meant by an infinite loop?
Q10. How do you avoid an infinite loop in a WHILE construct? 

Back