This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: types:- 1. Answers, which mentioned all the scenarios namely: Short-circuit operators, nested Conditional expressions and complex statements like “for” loop followed by an explanatory example got full credits of 5 marks. Considerable percentage of class has got this completely correct. 2. Answers, which captured all the scenarios but lacked an example, received 4 or 4.5 marks (based on explanation). The answers which gave an example but missed one scenario also fall in this category. 3. Answers, like “ single statement can be broken into several blocks ” or “complex predicates can require division into separate basic blocks” without any further details and examples have received 3 or 2 (based on explanation). Answers which mentioned that the number of basic blocks cannot exceed the number of program statements have not received any credit....
View Full Document
- Spring '08
- Software engineering, Control flow, Imperative programming, basic blocks