Practica Recuperación Estructura de Datos

Practica Recuperación Estructura de Datos

Assessment

Flashcard

Computers

4th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?