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

Are the variables argc and argv are always local to main?

558


Which is the best website to learn c programming?

567


What is 02d in c?

620


What is %d called in c?

746


Write a code of a general series where the next element is the sum of last k terms.

578






What is string length in c?

594


What is an endless loop?

788


What is calloc() function?

612


How do you sort filenames in a directory?

694


How reliable are floating-point comparisons?

615


Tell me about low level programming languages.

630


Why is c called "mother" language?

845


code for quick sort?

1602


Write a program to print factorial of given number without using recursion?

555


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

1519