0% found this document useful (0 votes)
10 views

Data Structures and Algorithms Lab Prelim Answers

Uploaded by

Kenneth Maylos
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Data Structures and Algorithms Lab Prelim Answers

Uploaded by

Kenneth Maylos
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

UGRD-ITE6201 Data Structures and

Algorithms
1. Home
2. My courses
3. UGRD-ITE6201-2313T
4. PRELIM EXAMINATION
5. Prelim Lab Exam

Started on Sunday, 15 October 2023, 6:33 PM


State Finished
Completed on Sunday, 15 October 2023, 6:35 PM
Time taken 1 min 47 secs
Marks 10.00/10.00
Grade 100.00 out of 100.00
Question 1
Correct
Mark 1.00 out of 1.00

Flag question
Question text
Which is the pointer associated with the stack?
Select one:

a.
TOP

b.
REAR

c.
FIRST

d.
FRONT
Feedback
Your answer is correct.
Question 2
Correct
Mark 1.00 out of 1.00

Flag question
Question text
Stack follows the strategy of ________________.
Select one:

a.
LIFO

b.
RANDOM

c.
LRU

d.
FIFO
Feedback
Your answer is correct.
Question 3
Correct
Mark 1.00 out of 1.00

Flag question
Question text
In the linked representation of the stack, __________ pointer behaves as the top pointer variable
of stack.
Select one:

a.
Stop
b.
Begin

c.
Start

d.
Avail
Feedback
Your answer is correct.
Question 4
Correct
Mark 1.00 out of 1.00

Flag question
Question text
This is the term used to delete an element from the stack.
Select one:

a.
Pump

b.
Pull

c.
Push

d.
Pop
Feedback
Your answer is correct.
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The dummy header in linked list contains ____________________.
Select one:

a.
first record of the actual data

b.
pointer to the last record of the actual data

c.
last record of the actual data

d.
middle record of the actual data
Feedback
Your answer is correct.
Question 6
Correct
Mark 1.00 out of 1.00

Flag question
Question text
In a linked list, the ____________ contains the address of next element in the list.
Select one:

a.
Info field

b.
Link field
c.
Start field

d.
Next element field
Feedback
Your answer is correct.
Question 7
Correct
Mark 1.00 out of 1.00

Flag question
Question text
In linked lists, there are no NULL links in ______________
Select one:

a.
circular linked list

b.
single linked list

c.
linked list

d.
linear doubly linked list
Feedback
Your answer is correct.
Question 8
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Value of first linked list index is _______________.
Select one:

a.
2

b.
0

c.
1

d.
-1
Feedback
Your answer is correct.
Question 9
Correct
Mark 1.00 out of 1.00

Flag question
Question text
This may take place only when there is some minimum amount or no space left in free storage
list.
Select one:

a.
Memory management

b.
Recycle bin
c.
Maintenance

d.
Garbage collection
Feedback
Your answer is correct.
Question 10
Correct
Mark 1.00 out of 1.00

Flag question
Question text
Each node in a linked list must contain at least ___________________.
Select one:

a.
Three fields

b.
Four fields

c.
Five fields

d.
Two fields
Feedback
Your answer is correct.

You might also like