ECE_Material exm 2011-2, Exams of Chemistry

ECE_Material exm 2011 ECE_Material exm 2011

Typology: Exams

2010/2011

Available from 01/08/2025

yacine-ouali
yacine-ouali 🇬🇧

91 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf3
pf4
pf5

Partial preview of the text

Download ECE_Material exm 2011-2 and more Exams Chemistry in PDF only on Docsity!

8 pts. 1. Which of the following statements about exit-condition loops is false? (a) One iteration through the loop is always performed. (b) They are less commonly used than entry-condition loops. The test for loop continuation is conducted prior to entering the loop. (d) In C, they can be implemented using the do-while loop structure. 10 pts. 2. Explain what the following function does. int func(int num) { return num <0 ? -num: nun; [Rekarns the absolute value of nusm. | TF num is less tran D, the. elg lest yvetivens — yu 5 thera ie “th vel, Kum. Tes fhe bel inction of absolute Volue.