Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1. 1. An array must be used in order to create a linked list (Points :

ID: 3565761 • Letter: Q

Question

Question 1.1. An array must be used in order to create a linked list (Points : 5)        True
       False Question 2.2. It takes only one node pointer to delete an element from a linked list (Points : 5)        True
       False Question 3.3. It is possible to create a dynamic array without using pointers. (Points : 5)        True
       False Question 4.4. A string array could be used to create a stack (Points : 5)        True
       False Question 5.5. Which header file is required to use arrays? (Points : 5)        iostream
       fstream
       vector
       None of the above Question 6.6. Which statement is used to traverse a linked list? (Points : 5)        *node++
       next->link
       next++
       next=next->link Question 7.7. A deque is a __________________ (Points : 5)        Sequence container
       Associative container
       Container adapter
       iterator Question 8.8. A linked list can be used to create a queue (Points : 5)        True
       False Question 9.9. An STL iterator is of type pointer (Points : 5)        True
       False Question 10.10. The stack is an example of a FIFO data structure (Points : 5)        True
       False Question 11.11. It is possible to create an array within a struct (Points : 5)        True
       False Question 12.12. Vectors can be used without the inclusion of a special header file (Points : 5)        True
       False Question 1.1. An array must be used in order to create a linked list (Points : 5)        True
       False

Explanation / Answer

1.1 False. It is used to avoid linked list and faster access.

2.2 False. It takes 2 node pointers. 1:Delete node,2:NextNode to point to previous node.

3.3 False. array has a data type while array of pointer doesn't.

4.4 True. It can store char or int values.

5.5 None of the above.

6.6 next = next->link

7.7 Sequence container.

8.8 True.

9.9 True.

10 False. It is LIFO.

11. Yes. struct is user defined data type.

12. False. vector.h is required.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote