data structures and algorithms: prelim quiz

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/36

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

37 Terms

1
New cards

dequeue

a linear list in which insertions and deletions are made to form either end of the structure

2
New cards

avail

which is the pointer associated with the availability list?

3
New cards

circular linked list

linear list in which the last node points to the first node

4
New cards

2

each node in singly linked list has … fields

5
New cards

circular linked list

linked lists, there are no NULL links in…

6
New cards

for the size of the structure and the data in the structure are constantly changing

linked lists are best suited …

7
New cards

small batches of records from a file

what is a run list?

8
New cards

underflow

situation when in a linked list START=NULL is

9
New cards

first record of the actual data

dummy header in linked list contains

10
New cards

list traversed in two directions

two way lists

11
New cards

0

value of first linked list index is …

12
New cards

singly linked list

linear list in which the pointer points only to the successive node

13
New cards

garbage collection

may take place only when there is some minimum amount or no space left in free storage list

14
New cards

link field

a linked list, the ____________ contains the address of next element in the list

15
New cards

two fields

each node in a linked list must contain at least

16
New cards

sentinel

indicates the end of the list

17
New cards

list

this refers to a linear collection of data items.

18
New cards

traversal

operation of processing each element in the list is known as …

19
New cards

traversal

the operation of processing each element in the list is known as …

20
New cards

two fields

each node in a linked list must contain at least …

21
New cards

circular linked list

in linked lists, there are no NULL links in …

22
New cards

circular linked list

linear list in which the last node points to the first node.

23
New cards

list

refers to a linear collection of data items

24
New cards

the new node is placed at the front of the linked list

what happens when you push a new node onto a stack?

25
New cards

top

a pointer variable which contains the location at the top element of the stack

26
New cards

infix to postfix, finding factorial, and tower of Hanoi

which of the following is an application of stack?

27
New cards

FIFO lists

which of the following names does not relate to stacks?

28
New cards

lifo

stack follows the strategy of …

29
New cards

bottom of the stack

linked representation of stack, the null pointer of the last node in the list signals …

30
New cards

FIFO, First In First Out

this form of access is used to add and remove nodes from a queue

31
New cards

reverse

the elements are removal from a stack in … order

32
New cards

back

new nodes are added to the ________ of the queue

33
New cards

FIFO, First In First Out

this form of access is used to add and remove nodes from a queue

34
New cards

LIFO

stack follows the strategy of …

35
New cards

push

the term used to insert an element into stack

36
New cards

all of these

which of the following is an application of stack?

37
New cards

push

this is the insertion operation in the stack