Ejercicios con Operadores de Relación y Lógicos.
OPERADORES DE RELACIÓN Y LÓGICOS.
DADA LOS SIGUIENTES VARIABLES Y CONSTANTES RESOLVER LO SIGUIENTE:
X=1 Y=4 Z=10
1) X>3 AND Y=4 OR X+Y<=Z
1>3 AND 4=4 OR 1+4<=10
F AND V OR 5<=10
F OR V
V
2) X>3 AND (Y=4 OR X+Y<=Z)
1>3 AND (4=4 OR 1+4<=10)
F AND (V OR 5<=10)
F AND (V OR V)
F AND( V )
F AND V
F
DADA LOS SIGUIENTES VARIABLES Y CONSTANTES RESOLVER LO SIGUIENTE:
X=5 Y=7 Z=8 PI=3.1416 A=4 B=2
1) (X * Y = A/B OR (Z-Y) * X>B) = NOT ( X/B = A*Y ) AND "LIU"< > LION"
(5 * 7 = 4/2 OR (8-7) * 5 > 2 ) = NOT ( 5 / 2 = 4*7 ) AND "LIU" < > "LION"
(5 * 7 = 4/2 OR 1 * 5 > 2 ) = NOT ( 5 / 2 = 4*7 ) AND "LIU" < > "LION"
((5 * 7)= 4/2 OR 1 * 5 > 2 ) = NOT ( 5 / 2 = 4*7 ) AND "LIU" < > "LION"
( 35 = 4/2 OR 1 * 5 > 2 ) = NOT ( 5 / 2 = 4*7 ) AND "LIU" < > "LION"
( 35 = (4/2) OR 1 * 5 > 2 ) = NOT ( 5 / 2 = 4*7 ) AND "LIU" < > "LION"
( 35 = 2 OR 1 * 5 > 2 ) = NOT ( 5 / 2 = 4*7 ) AND "LIU" < > "LION"
( 35 = 2 OR (1 * 5)>2 ) = NOT ( 5 / 2 = 4*7 ) AND "LIU" < > "LION"
( 35 = 2 OR 5> 2 ) = NOT ( 5 / 2 = 4*7 ) AND "LIU" < > "LION"
F OR V = NOT ( 5 / 2 = 4*7 ) AND "LIU" < > "LION"
F OR V = NOT ( (5 / 2) = 4*7 ) AND "LIU" < > "LION"
F OR V = NOT ( 2 = 4*7 ) AND "LIU" < > "LION"
F OR V = NOT ( 2 = ( 4*7 )) AND "LIU" < > "LION"
F OR V = NOT ( 2 = 28 ) AND "LIU" < > "LION"
F OR V = NOT F AND V
F OR V = NOT F
F OR V = V
F OR V
V
1) ( Z/B MOD A = ( Z*Y > B OR (-X+PI +Z) <6 ) AND ( Z MOD X = NOT (X< > Y)))
( 8/2 MOD 4 = ( 8*7 > 2 OR (-5+3.1416+8)<6)AND ( 8 MOD 5 = NOT (5 < > 4)))
( 8/2 MOD 4 = ( 8*7 > 2 OR 6.1416 < 6) AND ( 8 MOD 5 = NOT (5 < > 4)))
( 8/2 MOD 4 = ( 8*7 > 2 OR 6.1416 < 6) AND ( 8 MOD 5 = NOT V ) )
( 8/2 MOD 4 = ( ( 8*7) > 2 OR 6.1416 < 6) AND ( 8 MOD 5 = NOT V ) )
( 8/2 MOD 4 = ( 56 > 2 OR 6.1416 < 6) AND ( (8 MOD 5) = NOT V ) )
( 8/2 MOD 4 = ( V OR F ) AND ( 3 = F ) )
( (8/2) MOD 4 = V AND F )
( 4 MOD 4 = V AND F )
0 = F
F
REGRESAR
( 8/2 MOD 4 = ( 8*7 > 2 OR 6.1416 < 6) AND ( 8 MOD 5 = NOT (5 < > 4)))
( 8/2 MOD 4 = ( 8*7 > 2 OR 6.1416 < 6) AND ( 8 MOD 5 = NOT V ) )
( 8/2 MOD 4 = ( ( 8*7) > 2 OR 6.1416 < 6) AND ( 8 MOD 5 = NOT V ) )
( 8/2 MOD 4 = ( 56 > 2 OR 6.1416 < 6) AND ( (8 MOD 5) = NOT V ) )
( 8/2 MOD 4 = ( V OR F ) AND ( 3 = F ) )
( (8/2) MOD 4 = V AND F )
( 4 MOD 4 = V AND F )
0 = F
F
REGRESAR
Ejercicios con Operadores de Relación y Lógicos.
Reviewed by Unknown
on
14:18:00
Rating:
No hay comentarios: