Read the description of Daniela’s semester, then answer the…

Read the description of Daniela’s semester, then answer the following five questions. (5pts) Daniela es mi compañera de cuarto. Este semestre ella estudia cinco cursos. Los lunes, miércoles y viernes toma clases de administración de empresas, contabilidad y sociología. Los martes y jueves toma clases de geografía e historia. Daniela camina de la residencia estudiantil a la universidad y cena en la cafetería de la universidad porque sus clases terminan a las nueve de la noche. Los fines de semana (weekends) ella trabaja en la biblioteca. Le gusta bailar y escuchar la radio. ¿Cuántas clases toma Daniela?

Below is a MIPS assembly function called foo with some test…

Below is a MIPS assembly function called foo with some test code preceding it.         .data_a:     .word   2, 1, 3, 4, 0        .text        .globl  mainmain:   …       la      $a0,_a          # $a0 = &a;       li      $a1,3           # $a1 = 3;       jal     foo             # call foo;        …       jr      $ra             # return;foo:    li      $v0,-1        move    $t2,$zeroL1:     lw      $t1,0($a0)        beq     $t1,$zero,L3        beq     $t1,$a1,L2        addiu   $a0,$a0,4        addiu   $t2,$t2,1        j       L1L2:     move    $v0,$t2L3:     jr      $ra (a) Cut and past the assembly code of the function foo() in your answer and place meaningful comments by each of the assembly instructions.  This is required and will help you understand the function. (b) What is the value returned from foo() in $v0 when called from the test code? (c) In general, what does foo() do? (d) Is there any potential issue when this program is loaded to the memory and executes? If it does, describe the problem.