Parcial 3 Flashcards

1
Q

Tipos Ciclos

A

Contador
Centinela
Infinito

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Tipos Ciclos Contadores

A

Creciente

Decreciente

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CCC

A

1 a n
k = 1
k <= n
k = k + 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

CCD

A

n a 1
k = n
k >= 1
k = k - 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

n

A

Número de veces que se ejecutará el ciclo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

k

A

vcc

Indica cuándo se terminará el ciclo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

acum

A

Acumula valor específico a lo largo del ciclo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

acum sumatorias

A

acum = 0

acum + expresión

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

acum multiplicatorias

A

acum = 1

acum * expresión

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

k <= n (W)

A

k > n (R)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

k >= n (W)

A

k < n (R)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

k == n (W)

A

k != n (R)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

k > n (W)

A

k <= n (R)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

k < n (W)

A

k >= n (R)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

k != n (W)

A

k == n (R)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Ciclo Centinela

A

Ejecuta hasta que el usuario decide
Inicializa vcc antes ciclo
Incluye vcc dentro ciclo

17
Q

Condición Ciclo Centinela

A

while ( vcc != 0 )