Documente Academic
Documente Profesional
Documente Cultură
Dashboard / My courses / BL-ITE-6201-LEC-1923T / Week 7 to 8: C++ Sorting and C++ Graphics / Midterms
c. Direct graph
d. Digraph
Clear my choice
Question 2 A pointer variable which contains the location at the top element of the stack.
Not yet
answered
Select one:
Marked out of
a. Last
1.00
b. End
c. Final
d. Top
Clear my choice
c. FIFO lists
d. LIFO lists
Clear my choice
Question 4 This may take place only when there is some minimum amount or no space left in free storage list.
Not yet
answered
Select one:
Marked out of
a. Garbage collection
1.00
b. Recycle bin
c. Maintenance
d. Memory management
Clear my choice
c. 0
d. -1
blended.amaesonline.com/abl-trimestral/mod/quiz/attempt.php?attempt=19237&cmid=3201 1/11
10/12/2019 Midterms
Clear my choice
Question 6 A linear list in which the last node points to the first node.
Not yet
answered
Select one:
Marked out of
a. none of these
1.00
b. doubly linked list
Clear my choice
c. all of these
d. infix to postfix
Clear my choice
c. Alternative
d. Hierarchical
Clear my choice
c. A tree graph
d. all of these
Clear my choice
c. predecessor node
d. successor node
Clear my choice
blended.amaesonline.com/abl-trimestral/mod/quiz/attempt.php?attempt=19237&cmid=3201 2/11
10/12/2019 Midterms
Clear my choice
c. lists
d. array
Clear my choice
Question 13 In linked representation of stack, ___________ fields hold the elements of the stack.
Not yet
answered
Select one:
Marked out of
a. TOP
1.00
b. LINK
c. INFO
d. NULL
Clear my choice
c. Front
Clear my choice
c. LIFO
d. FIFO
Clear my choice
blended.amaesonline.com/abl-trimestral/mod/quiz/attempt.php?attempt=19237&cmid=3201 3/11
10/12/2019 Midterms
c. LIFO
d. FIFO
Clear my choice
Question 17 ___________ sorting algorithm is frequently used when n is small, where n is the total number of elements.
Not yet
answered
Select one:
Marked out of
a. Insertion
1.00
b. Heap
c. Bubble
d. Quick
Clear my choice
c. rear
d. front
Clear my choice
c. O(n2)
d. O(n)
Clear my choice
d. linked list
Clear my choice
blended.amaesonline.com/abl-trimestral/mod/quiz/attempt.php?attempt=19237&cmid=3201 4/11
10/12/2019 Midterms
c. Saturated
d. Underflow
Clear my choice
c. Four fields
d. Two fields
Clear my choice
Question 23 This is the term used to delete an element from the stack.
Not yet
answered
Select one:
Marked out of
a. Pop
1.00
b. Pull
c. Pump
d. Push
Clear my choice
c. Dn = n log2n
d. Dn = log2n
Clear my choice
c. data structure
Clear my choice
blended.amaesonline.com/abl-trimestral/mod/quiz/attempt.php?attempt=19237&cmid=3201 5/11
10/12/2019 Midterms
Question 26 This form of access is used to add and remove nodes from a queue.
Not yet
answered
Select one:
Marked out of
a. FIFO, First In First Out
1.00
b. LIFO, Last In First Out
c. Both of these
d. None of these
Clear my choice
c. 3
d. 4
Clear my choice
Question 28 Which of the following is not the required condition for binary search algorithm?
Not yet
answered
Select one:
Marked out of
a. There should be the direct access to the middle element in any sub list.
1.00
b. There must be mechanism to delete and/or insert elements in list
Clear my choice
Question 29 In a linked list, the ____________ contains the address of next element in the list.
Not yet
answered
Select one:
Marked out of
a. Next element field
1.00
b. Link field
c. Info field
d. Start field
Clear my choice
Clear my choice
blended.amaesonline.com/abl-trimestral/mod/quiz/attempt.php?attempt=19237&cmid=3201 6/11
10/12/2019 Midterms
Question 31 The operation of processing each element in the list is known as ________________.
Not yet
answered
Select one:
Marked out of
a. inserting
1.00
b. traversal
c. sorting
d. merging
Clear my choice
Select one:
a. True, True
b. False, False
c. False, True
d. True, False
Clear my choice
Clear my choice
Clear my choice
Question 35 In linked representation of stack, the null pointer of the last node in the list signals _____________________.
Not yet
answered
Select one:
Marked out of
a. Beginning of the stack
1.00
b. Middle of the stack
Clear my choice
blended.amaesonline.com/abl-trimestral/mod/quiz/attempt.php?attempt=19237&cmid=3201 7/11
10/12/2019 Midterms
Clear my choice
Question 37 What happens when you push a new node onto a stack?
Not yet
answered
Select one:
Marked out of
a. No changes happen
1.00
b. The new node is placed at the back of the linked list
Clear my choice
d. Adjacent nodes
Clear my choice
c. O(n2)
d. O(n)
Clear my choice
Question 40 A linear list in which the pointer points only to the successive node.
Not yet
answered
Select one:
Marked out of
a. doubly linked list
1.00
b. none of these
Clear my choice
blended.amaesonline.com/abl-trimestral/mod/quiz/attempt.php?attempt=19237&cmid=3201 8/11
10/12/2019 Midterms
Question 41 Graph G is _____________ if for any pair u, v of nodes in G, there is a path from u to v or path from v to u.
Not yet
answered
Select one:
Marked out of
a. Unliterally connected
1.00
b. Directly connected
c. Literally connected
d. Widely connected
Clear my choice
c. REAR
d. TOP
Clear my choice
Question 43 _____________ order is the best possible for array sorting algorithm which sorts n item.
Not yet
answered
Select one:
Marked out of
a. O(n logn)
1.00
b. O(logn)
c. O(n+logn)
d. O(n2)
Clear my choice
c. top
d. push
Clear my choice
Question 45 This is a linear list in which insertions and deletions are made to form either end of the structure.
Not yet
answered
Select one:
Marked out of
a. Priority
1.00
b. Circular queue
c. Random of queue
d. Dequeue
Clear my choice
blended.amaesonline.com/abl-trimestral/mod/quiz/attempt.php?attempt=19237&cmid=3201 9/11
10/12/2019 Midterms
c. access
d. push
Clear my choice
c. Heap
d. Radix sort
Clear my choice
c. non-cycle graph
d. free graph
Clear my choice
Question 49 This is a binary tree whose every node has either zero or two children.
Not yet
answered
Select one:
Marked out of
a. binary search tree
1.00
b. extended binary tree
d. data structure
Clear my choice
Question 50 In the linked representation of the stack, __________ pointer behaves as the top pointer variable of stack.
Not yet
answered
Select one:
Marked out of
a. Avail
1.00
b. Begin
c. Start
d. Stop
Clear my choice
blended.amaesonline.com/abl-trimestral/mod/quiz/attempt.php?attempt=19237&cmid=3201 10/11
10/12/2019 Midterms
blended.amaesonline.com/abl-trimestral/mod/quiz/attempt.php?attempt=19237&cmid=3201 11/11