Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Data Structures Interview Questions and Answers

Test your skills through the online practice test: Data Structures Quiz Online Practice Test

Ques 46. How is any Data Structure application is classified among files?

A linked list application can be organized into a header file, source file and main application file. The first file is the header file that contains the definition of the NODE structure and the LinkedList class definition. The second file is a source code file containing the implementation of member functions of the LinkedList class. The last file is the application file that contains code that creates and uses the LinkedList class.

Is it helpful? Add Comment View Comments
 

Ques 47. Which file contains the definition of member functions?

Definitions of member functions for the Linked List class are contained in the LinkedList.cpp file.

Is it helpful? Add Comment View Comments
 

Ques 48. What are the major data structures used in the following areas : RDBMS, Network data model & Hierarchical data model.

1. RDBMS Array (i.e. Array of structures)
2. Network data model Graph
3. Hierarchical data model Trees.

Is it helpful? Add Comment View Comments
 

Ques 49. Difference between calloc and malloc ?

malloc: allocate n bytes
calloc: allocate m times n bytes initialized to 0

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

©2024 WithoutBook