
Practica Recuperación Estructura de Datos
Flashcard
•
Computers
•
4th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

23 questions
Show all answers
1.
FLASHCARD QUESTION
Front
¿Qué estructura sigue una pila?
Back
LIFO
2.
FLASHCARD QUESTION
Front
¿Qué método se usa para agregar un elemento a una pila en Python usando listas?
Back
append()
3.
FLASHCARD QUESTION
Front
¿Qué método se usa para eliminar el elemento superior de una pila?
Back
pop()
4.
FLASHCARD QUESTION
Front
¿Cuál es el resultado de ejecutar stack.pop() si la pila está vacía?
Back
IndexError
5.
FLASHCARD QUESTION
Front
¿Cuál de las siguientes no es una operación básica de una pila? push, pop, peek, insert
Back
insert
6.
FLASHCARD QUESTION
Front
¿Cómo se implementa una pila en Python comúnmente?
Back
Con listas
7.
FLASHCARD QUESTION
Front
¿Qué devuelve la operación stack[-1]?
Back
El último elemento agregado
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?