Vous êtes sur la page 1sur 8

# EJERCICIOS

1.
a = 10
b = 20
c=5
a = a + 3=13
b = b + 4 a =11
c = a + b + c =29
a = a + c =42
b=4
c = c + 3 - b + 2=30
Qu valores quedan almacenados en las variables a, b y c ? A=13 B=4 C=30
2.
a=5
b = 18
c = 15
d = 25
a = a + 10 =15
b = b + 5 c =8
c = c + 4 + b =27
d = d + b + a =58
a = a + 1 =59
b = b + c =35
c = b + c =62
d = b + b =70
Qu valores quedan almacenados en las variables a, b, c y d ? A=59 B=35 C=62 D=70
3.
a=9
b=6
a = a + 4 =13
b = b + 2 =8
a = a + 10 =23
b = b 25 = -17
a = a 20 =3
b = b + 5 =22
a=a+4=7
b = b + 2 =24
a = a + 10 =17
b = b 10 =14
Qu valores quedan almacenados en las variables a y b ? A=17 B=14

4.
a = 18
b = 18
c = 18
d = 18
a = a + b =36
b = a b =18
c = a + b = 54
d = a b =18
a = a b =18
b = a + b =36
c = a b =18
d = a + b=54
Qu valores quedan almacenados en las variables a, b, c y d ? A=18 B=36 C=18 D=54
5.
a = 10
b=5
a = a 5 =5
b = b + 6 =11
a = a + 18 =23
b = b 23 = 12
a = a 21 =16
b = b - 5 =7
a = a 4 =12
b = b 2 =5
a = a + 10 = 22
b = b + 10 =15
Qu valores quedan almacenados en las variables a y b ? A=12 B=5 C=22 D=15
6.
a=8
b=7
c=5
d=8
a = a + b c + d =18
b = a + b c + d =28
c = a + b c + d =49
d = a + b c + d =5
a = a + b c + d =2
b = a + b c + d =11
c = a + b c + d =31
d = a + b c + d=10
Qu valores quedan almacenados en las variables a, b c y d ? A=2 B=11 C=31 D=10.

1.
a = 10
b = 20
c = 10
a = a + 15 =25
b = b + 12 =32
c = a * c =250
Qu valores quedan en las variables a, b y c ? A=25 B=32 C=250
2.
a=3
b=8
c=1
a=5
b=9
c=7
a = a + 1=6
b = b + 2=11
c = c + 3=10
Qu valores quedan en las variables a, b y c ? A=6 B=11 C=10
3.
a = 10
b=5
c = 10
a = a + b 5 =10
b = a + b 5 =10
c = a + b - 5=10
a = a + 5 * b / 2 =60
b = a + 5 * b / 2 =85
c = a + 5 * b / 2 =273
Qu valores quedan en las variables a, b y c ? A=60 B=85 C=273
4.
a=5
b=5
c=5
a = a + a =10
b = b + b =10
c = c + c =10
a = a + b + c =30
b = a + b + c =30
c = a + b + c =30

## Qu valores quedan en las variables a, b y c ? A=30 B=30 C=30

5.
a = 10
b = 10
c = 10
a = a + 5=15
b = a + 3=13
c = a + 2=12
a = b + 4=19
b = b + 5=18
c = c + 8=20
Qu valores quedan en las variables a, b y c ? A=19 B=18 C=20
6.
a = 10
b=1
c=4
a = a + c=14
b = a + c=14
c = a + c=14
a = c + 5=19
b = c + b=28
c = a + b + c=61
Qu valores quedan en las variables a, b y c ? A=19 B=28 C=61
7.
a=1
b=1
c=1
a = a + a=2
b = b + a=3
c = c + a=3
a = a + a=4
b = b + a=5
c = c + a=5
Qu valores quedan en las variables a, b y c ? A=4 B=5 C=5

8.
a = 10
b = 50
c = 30
a = a b=-40
b = b c=-10
c = c a=-10
a = a 1=39
b = b a=-10
c = c + a b=40
Qu valores quedan en las variables a, b y c ? A=39 B=10 C=40
9.
a=1
b=2
c=3
a = a + b=3
b = a b=1
c = a * b=3
a = a b=1
b = a + b=2
c = a * b=2
Qu valores quedan en las variables a, b y c ? A=1 B=2 C=2

10.
a=1
b=2
c=3
a = a + 2=3
b = a + 2 + b=7
c = a + 2 + c=8
a = a / 2=1.5
b = b / 2=3.5
c = c / 2=4
Qu valores quedan en las variables a, b y c ? A=1.5 B=3.5 C=4

11

x= a+b/c/a/b+c

12
X= (a+b)+ a/b/ c

13

X= a(a+b)/ a (a-b)

X=(a+b)/(a+b)+b/c/(a+b)/c+a

X=(a+b)+c/(a+b)/c

X=(a+b)+c/d*a / a+b*c/d

X=a+b/c+d/a

18

X=(a/b)+(b/c)/(b/a c/b)

19

x=(a/b+b/c)/(b/c)/(a/c)/b/c

20
X=(a+b)+c/d/c/d+a/b-c/a/b+c