Question: EXERCISES EXERCISE 1: LINKED LIST AND ARRAY 1. Determine whether each of the following statements are TRUE or FALSE. a. The field link, in a

 EXERCISES EXERCISE 1: LINKED LIST AND ARRAY 1. Determine whether each

EXERCISES EXERCISE 1: LINKED LIST AND ARRAY 1. Determine whether each of the following statements are TRUE or FALSE. a. The field link, in a singly linked list implemented using pointer, normally is used to keep the data for the next node in the list. b. The nodes in a singly linked list implemented using pointer can only be accessed linearly. c. When a new node is going to be inserted in front of a linear linked list, the field link of the new node must be assigned with the address of the node pointed by header d. One of the advantages of the list implemented using array is that we can increase or decrease the size of the array during the execution of the program. In order to traverse all the nodes in a linked list, an external pointer must be used to access all the nodes starting from header node. The delete node operation can be implemented on an empty list. & The add node operation can be applied to an empty list implemented using pointer and array h. In a linked list implemented using pointer, the last node in the list can be identified when the link of the node contain NULL value. i. The class declaration below, declares node in doubly linked list. class aNode { float volume, int length, width; aNode *next; aNode *previous; )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!