Quiz submission record for quiz2-2-1 at Tue Jun 29 19:11:52 2004: Your Answer for Question 1: C could function if it only had "if" and "goto" statements. The "while" statement is an "if" statement that has a "goto" clause to repeat the loop if a condition is satisfied. The "do while" statement is a modification on the "while" statement. The designers of C included them all probably to make C closer to lingual logic. People think in terms of their language such as "while , then I should ..." But C could certainly function without the "while" and "do while" statement. Your Answer for Question 2: C statements for making decisions: if, else, >, >=, <, <=, ==, !=, &&, ||, switch. (11 statements) MIPS statements for making decisions: beq (branch on equal), bne (branch on not equal), slt (set on less than), slti (set less than immediate), sltu (set less than unsigned), sltiu (set less than immediate undsigned), bgez (branch on greater than equal zero), bgtz (branch on greater than zero), blez (branch on less than equal zero), bltz (branch on less than zero), beqz (branch on equal zero), bge (branch on greater than equal), bgeu (branch on greater than equal unsigned), bgt (branch on greater than), bgtu(branch on greater than unsigned), ble (branch on less than equal), bltu (branch on less than unsigned), bnez (branch on not equal zero). (18 statements) The designers of MIPS wanted to have the least number of instructions possible to minimize circuitry in a processor and to increase the speed at which calculations could be done. Your Answer for Question 3: I found the MIPS code that corresponds to a C switch statement a bit hard to follow. Your unique submission ID is quiz2-2-1-cs61c-cj-1088561512-2469.