Está en la página 1de 1

Ejercicios para el Reporte de la Unidad II

Expresiones Algebraicas, relacionales y lógicas

Algebraicas
1. 𝑎2 + 𝑏 2 = 𝑐 2
2. 𝑎2 + 2𝑥𝑦 = 𝑐 2
3. √2𝑥 + 𝑦 2 x 3
𝑥𝑦−2𝑥
4. 𝑥 2 +1

5.

6.
7.

8.

9.

Relacionales
10. 15>3 AND 12<32
11. a=30, b=50 , c=100
a. result=a+b < c
12. c1=3, c2=1
a. r1=c1+1
b. r2=r1>c2
13. “Z1+1”=’Z1´+’1’
14. y=5, z=8
a. (y*2+z**2/3)>=(y**2 mod z)
15. ((140 mod 10 *2 ** 6)> (7+8*3**4)) >((15*2)=(55*2/4))
16. 1400 div 5 mod 2 * 3 >= 20

Lógicos
17. NOT FALSE AND NOT FALSE
18. NOT FALSE AND TRUE
19. (15>2) AND (10 <=10)
20. NOT (FALSE AND ((15*2)=(60*2/4)))
21. NOT (15>=7 ** 2) OR (43- 8 * 2 DIV 4 <> 3 * 2 DIV 2)
22. ( 15>=7*9 AND 8>3 AND 15>6) OR NOT (7*3<5+12*2 DIV 3 **2)

También podría gustarte