Presentation is loading. Please wait.

Presentation is loading. Please wait.

Desarrollo de Software I. PROBLEMA NÚMERO 2 PROBLEMA NÚMERO 3  5*(5+(6-2)+1)  5*(5+4+1)  5*(9+1)  5*10  Resp: 50  7-6/3+2*3/2-4/2  7-2+2*3/2-4/2.

Similar presentations


Presentation on theme: "Desarrollo de Software I. PROBLEMA NÚMERO 2 PROBLEMA NÚMERO 3  5*(5+(6-2)+1)  5*(5+4+1)  5*(9+1)  5*10  Resp: 50  7-6/3+2*3/2-4/2  7-2+2*3/2-4/2."— Presentation transcript:

1 Desarrollo de Software I

2 PROBLEMA NÚMERO 2 PROBLEMA NÚMERO 3  5*(5+(6-2)+1)  5*(5+4+1)  5*(9+1)  5*10  Resp: 50  7-6/3+2*3/2-4/2  7-2+2*3/2-4/2  7-2+6/2-4/2  7-2+3-4/2  7-2+3-2  5+3-2  8-2  Resp: 6

3 PPROBLEMA 7 PPROBLEMA 8 (PI * X * X > Y) or (2 * PI * X <= Z) (3.141592*1*1>4)or(2*3.141592*1<=10) (3.141592*1>4)or(2*3.141592*1<=10) (3.141592>4)or(2*3.141592*1<=10) (Falso)or(6.283184*1<=10) (Falso)or(6.283184<=10) Falso or Cierto Cierto -3 * X + 2 * Y – 1/2 * Z == 5 -3*1+2*4-1/2*10==5 -3+2*4-1/2*10==5 -3+8-1/2*10==5 -3+8-0*10==5 -3+8-0==5 5-0==5 5==5

4 9. x= 7+3 * 6 /2 -1 x= 7+18/2 -1 x= 7+18/2 -1 x= 7+9-1 x= 7+9-1 x= 16-1 x= 16-1 x= 15 x= 15 10. x=2%2+2*2-2/2 x=0+2*2-2/2 x=0+2*2-2/2 x=0+4-2/2 x=0+4-2/2 x=0+4-1 x=0+4-1 x=4-1 x=4-1 x=3 x=3

5  X>3 AND Y=4 OR X+Y <=Z 1>3 AND 4=4 OR 1+4 <=10 1>3 AND 4=4 OR 5 <= 10 FALSO AND 4=4 OR 5<=10 FALSO AND CIERTO OR 5<=10 FALSO AND CIERTO OR CIERTO FALSO OR CIERTO CIERTO

6  Valor de x=1, y=4, z=10 x>3 and (y=4 or x+y<=z) 1>3 and (4=4 or 1+4<=10) 1>3 and (4=4 or 5<=10) Falso and (Cierto or 5<=10) Falso and (Cierto or Cierto) Falso and Cierto Falso


Download ppt "Desarrollo de Software I. PROBLEMA NÚMERO 2 PROBLEMA NÚMERO 3  5*(5+(6-2)+1)  5*(5+4+1)  5*(9+1)  5*10  Resp: 50  7-6/3+2*3/2-4/2  7-2+2*3/2-4/2."

Similar presentations


Ads by Google