ExamPlay Light Logo
Είσοδος

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 5 - No. 44)

What is the difference between a pre-condition and post-condition loop?
Pre-condition loops check the condition first, post-condition loops check at the end.
Post-condition loops check the condition first, pre-condition loops check at the end.
They're the same thing
One is used in a FOR loop, the other in a WHILE loop

Εξήγηση

Pre-condition loops evaluate the condition before the loop body executes. Post-condition loops evaluate it after.

Σχόλια (0)

Είσοδος για σχόλιο
Διαφήμιση
BrainBehindX Inc Logo
©2026; Τροφοδοτείται από BrainBehindX Inc