Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Kevyn Porras
26.325.755
Horario de la Tarde
II. Evaluar las siguientes expresiones algorítmicas expresadas en pseudo, indicar el orden de
evaluación y el resultado
1. 1 mod 2
2. 4 – 40 div 5
R1: 14.0 / 4.0 3.5 + 5.09 - 14.0 / 4.0 3.5 + 5.09 - 14.0 / 4.0
R2: 3.5 + 5.09 3.5 + 5.09 – R1 3.5 + 5.09 – 3.5
R3: R2 – R1 R2 – R1 8,59 – 3,5
R3 5,09
III. Evaluar las siguientes expresiones algorítmicas expresadas en C, indicar el orden de evaluación y
el resultado
4. !(x<5)&&!(y>=7); para x = 3, y = 6
IV. Escribir las siguientes expresiones matemáticas como expresiones algorítmicas expresadas en C
( )
8. 3𝑦 + : 3y + (5(x + 1)+ y)/(x+1)
9. + 2𝑦: (3x/2)/(7z+1)
V. Evaluar las siguientes expresiones:
11. 70 - 5 mod 3 * 4 + 9
R1: 45- 7 4 > 5 or not(45 = 7) and 7 + 3 < 5 – 2 4 > 5 or not(45 = 7) and 7 + 3 < 5 – 2
R2: not R1 4 > 5 or not R1 and 7 + 3 < 5 – 2 4 > 5 or not False and 7 + 3 < 5 – 2
R3: 7+3 4 > 5 or R2 and 7 + 3 < 5 – 2 4 > 5 or True and 7 + 3 < 5 – 2
R4: 5-2 4 > 5 or R2 and R3 < 5 – 2 4 > 5 or True and 10 < 5 – 2
R5: 4 > 5 4 > 5 or R2 and R3 < R4 4 > 5 or True and 10 < 3
R6: R3< R4 R5 or R2 and R3< R4 False or True and 10< 3
R7: R2 and R6 R5 or R2 and R6 False or True and False
R8: R5 or R7 R5 or R7 False or False
R8 False