• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 1 fuera de 4 páginas
Examen

Data Structures and Algorithms FINAL QUESTIONS AND ANSWERS

Document preview thumbnail
Vista previa 1 fuera de 4 páginas

Data Structures and Algorithms FINAL Stack - Answer- Organizes its entries according to the order in which they were added. Last In - First Out Binary Operator - Answer- When an operator has two operands ie: a + b Unary Operator - Answer- When an operator has one operand ie: -5 Infix Expression - Answer- When a binary operator is between expressions Prefix Expression - Answer- When the operator is before the expression. Postfix Expression - Answer- When the operator is after the expression Program Counter - Answer- When a program executes, a special location called the program counter references the current instruction. Activation Record/Frame - Answer- When a method is called, the programs run-time environment creates an objected called the activation record/frame Java Stack/Program Stack - Answer- At the time the program is called, the activation record is pushed onto a stack called the Java Stack or the Program Stack Queue - Answer- Organizes entries according to the order in which they were added. First in - First out. Double ended queue - Answer- A queue that allows you to add, remove, or retrieve entires at both sides (front and back) of the queue. Priority Queue - Answer- A queue that organizes objects according to their priorities. Tail Reference - Answer- An external reference to the last node in the chain. Makes it so you don't have to traverse chain to find last node if you only have reference to head of chain. Circular Array - Answer- When the queue reaches the end of the array, we can added entries to the queue at the beginning of the array where there are empty slots. Circular Linked Chain - Answer- When the last node references the first node so no node contains null in its next field. Linear Linked Chain - Answer- The last node would contain null. Doubly Linked Chain - Answer- When the nodes can reference the previous node as well as the next node in a chain.

Vista previa del contenido

Data Structures and Algorithms FINAL
Stack - Answer- Organizes its entries according to the order in which they were
added. Last In - First Out

Binary Operator - Answer- When an operator has two operands ie: a + b

Unary Operator - Answer- When an operator has one operand ie: -5

Infix Expression - Answer- When a binary operator is between expressions

Prefix Expression - Answer- When the operator is before the expression.

Postfix Expression - Answer- When the operator is after the expression

Program Counter - Answer- When a program executes, a special location called the
program counter references the current instruction.

Activation Record/Frame - Answer- When a method is called, the programs run-time
environment creates an objected called the activation record/frame

Java Stack/Program Stack - Answer- At the time the program is called, the activation
record is pushed onto a stack called the Java Stack or the Program Stack

Queue - Answer- Organizes entries according to the order in which they were added.
First in - First out.

Double ended queue - Answer- A queue that allows you to add, remove, or retrieve
entires at both sides (front and back) of the queue.

Priority Queue - Answer- A queue that organizes objects according to their priorities.

Tail Reference - Answer- An external reference to the last node in the chain. Makes
it so you don't have to traverse chain to find last node if you only have reference to
head of chain.

Circular Array - Answer- When the queue reaches the end of the array, we can
added entries to the queue at the beginning of the array where there are empty slots.

Circular Linked Chain - Answer- When the last node references the first node so no
node contains null in its next field.

Linear Linked Chain - Answer- The last node would contain null.

Doubly Linked Chain - Answer- When the nodes can reference the previous node as
well as the next node in a chain.

Información del documento

Subido en
18 de agosto de 2024
Número de páginas
4
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$9.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Freshy
3.6
(11)
Vendido
64
Seguidores
4
Artículos
6965
Última venta
2 semanas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes