Podcast
Questions and Answers
In a stack data structure, which of the following statement(s) is/are NOT correct?
In a stack data structure, which of the following statement(s) is/are NOT correct?
- Top of the Stack always contain the new node
- Stack has a fixed size (correct)
- Null link is present in the last node at the bottom of the stack
- Stack follows FIFO principle
What is the purpose of GETNODE() and RETURNNODE() in a linked list?
What is the purpose of GETNODE() and RETURNNODE() in a linked list?
- Deletion and copying
- Copying and Insertion
- Insertion and Deletion (correct)
- Traversing and Deletion
Which type of queue is based on the First In First Out (FIFO) principle?
Which type of queue is based on the First In First Out (FIFO) principle?
- Stack
- Tree
- Queue (correct)
- Linked List
What does 'underflow' mean in the context of a stack?
What does 'underflow' mean in the context of a stack?
Which operation is used to delete an element from a Stack?
Which operation is used to delete an element from a Stack?
What data structure is needed to convert infix notation to postfix notation?
What data structure is needed to convert infix notation to postfix notation?
Expand LIFO.
Expand LIFO.
Which data structure follows the Last In First Out (LIFO) principle?
Which data structure follows the Last In First Out (LIFO) principle?
In general, what is the index of the first element in an array?
In general, what is the index of the first element in an array?
What are the advantages of arrays?
What are the advantages of arrays?
What is a collection of items stored at contiguous memory locations?
What is a collection of items stored at contiguous memory locations?
How do you access an element in an array?
How do you access an element in an array?
How is the memory allocated to store the elements in a one-dimensional array?
How is the memory allocated to store the elements in a one-dimensional array?
Which of the following creates a two-dimensional array with dimensions 2×2?
Which of the following creates a two-dimensional array with dimensions 2×2?
Which operation is used to visit every single node in a list from first to last?
Which operation is used to visit every single node in a list from first to last?
What is a two-dimensional array having the value of majority elements as null?
What is a two-dimensional array having the value of majority elements as null?