Difference between data structure and data base.

Answer Posted / mahrukh

Explaining in a simple language : Database is the collection of various in a formatted manner , like a table , which helps in storing large amount of information having common attributes or simply common headings . . . For eg : The attendance register of a class can be considered as a database which the information about all the students are stored in table format under the attributes like name , roll number , absent or present . . .

Data Structure is the way of arranging information in a database so that it becomes easy to access information whenever needed . Example : Consider an attendance register of a class which is not proper . i.e , the pages are not arranged according to a proper sequence . If you arrange it in a sequence ( either date-wise or in any other sequence ) , you form a data structure which has a particular sequence of accessing the details of the register . . .

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can stdout be forced to print somewhere other than the screen?

625


What is the use of getchar() function?

630


What is the difference between int main and void main in c?

591


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1673


Can we access the array using a pointer in c language?

561






Give the rules for variable declaration?

676


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1138


Explain the difference between structs and unions in c?

574


what will be maximum number of comparisons when number of elements are given?

1410


What are all different types of pointers in c?

577


What is the difference between a free-standing and a hosted environment?

640


What are dangling pointers in c?

639


Simplify the program segment if X = B then C ← true else C ← false

2583


What does calloc stand for?

651


Are the variables argc and argv are local to main?

789