Saltar al contenido

Implementación de ADT usando arrays

Introducido
Material
Lección de video para este tema Abrir la página de video
17:29

Tipos y estructuras de datos

Cada valor que guarda tu programa necesita un tipo de dato —y elegir el correcto importa. Digamos que guardas si un artículo está en stock. Podrías escribir la palabra sí…

Narración en inglés · subtítulos en inglés y 中文 que puedes cambiar

En esta lección

Videolección
Vocabulario
English Significado
stack/stæk/A last-in, first-out data structure in which items are added and removed at the same end.
memory/ˈmeməri/The part of a computer that holds data and programs currently in use.
array/əˈreɪ/An indexed collection of elements arranged in one or more dimensions.
cells/selz/Small parts of memory that each store a bit of data.
queue/kjuː/A data structure in which items are normally removed in the order they were added.
linked list/lɪŋkt lɪst/A sequence of nodes connected by references or pointers; the nodes need not occupy adjacent memory locations.
integer variablesNamed storage places that hold whole numbers and can change during a program.
Push/pʊʃ/The operation that adds an item to the top of a stack.
dequeue/diːˈkjuː/To remove the next item from the front of a queue.
pointers/ˈpɔɪntəz/A value that identifies a memory location or refers to another stored object.
declarationsStatements that give variables their names and data types, and arrays their bounds.
overflow/ˌəʊvəˈfləʊ/
Pop()The operation that removes and returns the item at the top of a stack.
underflow/ˌʌndəˈfləʊ/desbordamiento inferior
initialise/ɪˈnɪʃəlaɪz/Give a variable or data structure its starting value before it is used.
elements/ˈelɪmənts/Individual items in a collection or data structure.
type/taɪp/A category of data that determines what values it can hold.
constant/ˈkɒnstənt/A named or literal value that does not change during the relevant part of a program.
top-of-stack pointerAn integer that gives the position of the item at the top of a stack.
Enqueue/enˈkjuː/The operation that adds an item to the rear of a queue.
circular array/ˈsɜːkjʊlə əˈreɪ/array circular
circular queue/ˈsɜːkjʊlə kjuː/A queue implemented with storage whose end connects logically back to its start, reusing freed positions.
count/kaʊnt/A number that records how many items are currently in the queue.
index/ˈɪndeks/A whole number that identifies the position of an item in an array.
algorithm/ˈælɡərɪθəm/A finite sequence of precise steps for solving a problem or carrying out a task.
rear pointerA value that identifies the rear position used when adding to a queue.
node recordsGroups of fields that store linked list data and the positions of following nodes.
free list/friː lɪst/lista libre
null pointer/nʌl ˈpɔɪntə/A special value that shows the pointer does not refer to a node.
parallel arrayAn array whose positions match those of another array to hold related information.
record fieldA named part of a record that holds one piece of information.
start pointerAn integer that gives the position of the first node in a linked list.
free-list pointerAn integer that gives the position of the first unused slot in a free list.
pointer arithmetic/ˈpɔɪntə əˈrɪθmətɪk/Calculations that change pointer values to track positions in an array.
ADTA description of data and its allowed operations, separate from how it is stored.
Siguiente →

Material

IGCSE, A-Level & AP