|
INTERVIEW QUESTIONS
CONCEPTS AND ARCHITECTURE
DATA STRUCTURES
DETAILS
Question: Linked list C++ application is organized into three files.They are _____, ______ and _____
Answer: The answer is actually a linked list app CAN BE organized into a header file, source file and main application file. It can be organized in different ways also like declaration, definition can be combined into one source file linked with the main file. All functionality can be implemented in one source file. We also may have different header files for node class and the list class, separate source files implementing these classes and a main application file which uses these classes
|
|
|
Category |
Data Structures Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 6678 users |
Added on |
7/24/2011 |
Views |
70586 |
Rate it! |
|
|
Question:
Linked list C++ application is organized into three files.They are _____, ______ and _____
Answer:
The answer is actually a linked list app CAN BE organized into a header file, source file and main application file. It can be organized in different ways also like declaration, definition can be combined into one source file linked with the main file. All functionality can be implemented in one source file. We also may have different header files for node class and the list class, separate source files implementing these classes and a main application file which uses these classes Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Identify the error in the following example of the use of a displayNodesReverse() member function void displayNodesReverse(){ cout << "Nodes in reverse order:"; NODE* temp = back; while(temp != NULL) { cout << " " << temp->data; temp = temp->Next; }}
|
View Answer
|
|
The destructor is responsible for allocating all the memory that was allocated for the linked list.
|
View Answer
|
|
The destroyList() member function deletes the contents of the linked list and ________________
|
View Answer
|
|
The LinkedList constructor is a member function that is called when an instance of the LinkedList is removed
|
View Answer
|
|
The LinkedList class specification is defined in the source file
|
View Answer
|
|
What member function places a new node at the end of the linked list?
|
View Answer
|
|
A node can reference more than one data element
|
View Answer
|
|
A Linked list can grow and shrink in size dynamically at _______
|
View Answer
|
|
Link list does not have any advantage when compared to an Array
|
View Answer
|
|
A Node has ___ elements
|
View Answer
|
|
What is a linked list?
|
View Answer
|
|
Each entry in a linked list is called a _______
|
View Answer
|
|
Why is the isEmpty() member method called?
|
View Answer
|
|
The isFull() member method is called within the enqueue process to determine
|
View Answer
|
|
The dequeue process removes data from the front of the queue
|
View Answer
|
|
The _______ process places data at the back of the queue
|
View Answer
|
|
What is the relationship between a queue and its underlying array?
|
View Answer
|
|
Priority queue organizes items in a line where the first item is at the beginning of the line and the last item is at the back of the line.
|
View Answer
|
|
Data in a queue is accessible
|
View Answer
|
|
What is a queue ?
|
View Answer
|