Tema3_Seccion1_EstructuraDatos Flashcards

(62 cards)

1
Q

¿Cuales son las primitivas del tipo abstracto de datos Pila?

A
  • push
  • pop
  • top
  • isEmpty
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

¿Qué diferencia existen entre una estructura de datos y un tipo abstracto de datos?

A

El TAD es un modelo matemático (especificación), mientras que la estructura de datos es una implementación

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

¿Qué otros nombres recibe el tipo abstracto de datos “Array Asociativo” ?

A
  • Mapa o Correspondencia
  • Diccionario
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

¿Qué poblema o deficiencia nos encontramos en una tabla Hash a la hora de ir registrando nuestros pares (clave,valor) ?

A

Que pueden dar colisiones, es decir, que para dos claves diferentes (debido a la funcion hash) estas se situen en la misma posicion dentro de la tabla.

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

¿En que consiste un monticulo max-heap?

A

En una estructura de datos de tipo arbol en la cual el valor de un nodo es mayor que todos los que tiene por debajo (max-heap)

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

¿Qué es el grado de un nodo dentro de un arbol?

A

El numero de hijos directos que tiene ese nodo

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

¿Que es la profundidad de un nodo?

A

Numero de aristas desde la raiz a ese nodo

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

¿Que es la altura de un nodo?

A

La trayectoria más larga desde ese nodo a una hoja

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

¿Que tipo de recorrido en un arbol es el llamado Postorden?

A

Un recorrido en profundidad en el que cual primero se visita el subarbol Izquierdo, luego el subarbol Derecho y por ultimo la Raiz (IDR)

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

Nombre dos tipos de arboles binarios

A
  • ABB (Arbol binario de busqueda)
  • Arbol de Fibonacci
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
56
57