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

Explain the difference between strcpy() and memcpy() function?

584


What is action and transformation in spark?

589


Is it better to bitshift a value than to multiply by 2?

654


What is putchar() function?

631


Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

2236






FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1196


What does sizeof function do?

608


Does c have class?

608


What is the difference between #include

and #include “header file”?

544


What is f'n in math?

613


What is difference between class and structure?

564


What is meant by high-order and low-order bytes?

646


Can we compile a program without main() function?

628


Is anything faster than c?

577


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

638