Quiz submission record for quiz2-2-1 at Wed Jun 30 09:30:33 2004: Your Answer for Question 1: In C, I think while and for loops can replace each other. In particular, the Do While loop is a bit differnt than while and for since DO While requires an extra checking. I think the designer for C implment several option of loop to accomondate different uses of loops and to provide more flexibility for programs to be written. Your Answer for Question 2: For C: if-else, if-else if, switch statement, Bitwise operator (&,|,^,~), relational/logic (>, >=, <, <=, == !=), conditional exp1 ? exp2 : exp3 For MIPS: bne, beq, slt, slti, sltu, sltiu The reason that MIPS has fewer insturctions is to keep things small and simple. By doing so, smaller instructions result faster calculation. Your Answer for Question 3: I think the reading was fun. However, I was a bit concerned with pointer stuffs represented in MIPS. But, it seems like we are learning pointer in MIPS in the lab now. On the other hand, I am also curious on how we can implement struct in MIPS.... Your unique submission ID is quiz2-2-1-cs61c-es-1088613033-3124.