Informatica
Which of the following statements are true and which are false?
List is a data structure that allows insert and erase operations anywhere and iteration in both directions.
Dictionary represents a collection of keys and values.
Queue is a LIFO structure.
Stack is a FIFO structure.
Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza
Informatica
What are the main characteristics of a stack?
Insertion and deletion of items take place at one end called top of the stack.
The first element added to the stack will be the first one to be removed.
The last element added to the stack will be the first one to be removed.
It is a collection of elements each identified by an index.
Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza
Informatica
The terms push and pop are related to
queue
stack
list
dictionary
Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza
Informatica
Which of the following are common methods used with Python data structures?
append
backup
remove
sort
Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza