Practica Recuperación Estructura de Datos

Practica Recuperación Estructura de Datos

Assessment

Flashcard

Computers

4th Grade

Practice Problem

Hard

Created by

Wayground 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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?