what is importance of data sturture in a programming
language?
Answers were Sorted based on User's Feedback
Answer / zubeir
Data structure is nothing but a way to organize and
manipulate any given set of data in a specific and reusable
format/structure hence simplifying the manipulation of data.
Some of the commonly and frequently used data structures
are Stack, Queue, List, Set, e.t.c. But this list is not
limited to what we see here, rather we can invent our own
as long as there is a definite structure and better
efficiency by using it than work with raw data.
Is This Answer Correct ? | 55 Yes | 15 No |
Answer / rajesh prasad sarkar
Data sturcture is the logical representation and
organization of data in the main memroy.Which is used to
organize data in such a way that the insertion
,deletion,searhing i.e manipulation of data is done with
minimal complexity , and that gives a efficiet performance
of our computing.
Is This Answer Correct ? | 34 Yes | 6 No |
Answer / dd
Data Structure is logical memory representation of
storage.In electronic terms insted of gate complications
storage is given in specific structure to store in Bit
format.With the identififcation and type.
Is This Answer Correct ? | 35 Yes | 19 No |
Answer / disha
Data structure is an organisation of data in which data can
be organised in many different ways
... logical
... mathematical
Is This Answer Correct ? | 27 Yes | 12 No |
Answer / bilal rehman
well data structure is basically a trade off between memory and speed. you have to sacrifice one thing for the efficiency of your program.
Data structures plays an important role in programming language, lets say you guys definitely use google or youtube or any social websites, in these websites if the proper data structure wouldn't have been implemented then the data you are trying to search would take you ages...
the thing i just learned from my teacher is that it changes the way of thinking of a programmer, it shortens up your difficult tasks and make it less complex..!!
Is This Answer Correct ? | 16 Yes | 1 No |
Answer / a. nahas
Regarding use of programming languages, Niclaus Wirth wrote
a book with title "Data Structure + Algorithm = Program".
Therefore one can consider a programming language
as "capabilities to describe data objects of some
structures PLUS cabpabilities to define algorithms. Also,
data structures are very important in the implementation of
programming languages.
Is This Answer Correct ? | 17 Yes | 5 No |
Answer / simrat
Data Structure is logical and mathematical model to store
data So there are basic benefits of data structures:
The memory space is properly used.It helps in data
protection and management.
When we use the data structures in a code then for any new
person it is easy to tell and make him understand the
code,because there is some prescribed method is used So it
enhance the code readability and code reusability.
Which is used to
organize data in such a way that the insertion
,deletion,searhing i.e manipulation of data is done with
minimal complexity , and that gives a efficiet performance
of our computing.
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / neha khurana
Data structures play a central role in modern computer
science. Data structure enables an efficient storage of
data for an easy access. It enables to represent the
inherent relationship of the data in the real world. It
enables an efficient processing of data. It helps in data
protection and management.
Is This Answer Correct ? | 17 Yes | 7 No |
Answer / vitts
which is provides the mechanism of storing the data in
different ways. this optimizes searching and memory
usage. for example when searching is to be faster
datastructure of type linear type is used. if memory
utilization is more importance then lists data structure
used
Is This Answer Correct ? | 17 Yes | 8 No |
Answer / sumit singh
Logical representation and organization of data in the main
memory in other words it is a logical memory representation
of a storage.
Is This Answer Correct ? | 8 Yes | 1 No |
Explain the register storage classes in c++.
Write some differences between an external iterator and an internal iterator?
Is c the same as c++?
How will you call C functions from C ++ and vice-versa?
0 Answers Agilent, Tavant Technologies, Thomson Reuters, Verifone,
What is lazy initialization in c++?
What is your strongest programming language (Java, ASP, C, C++, VB, HTML,C#, etc.)?
24 Answers Infosys, Microsoft, TCS,
Differences between private, protected and public and give examples.
How does c++ structure differ from c++ class?
can any one help to find a specific string between html tags which is changed to a sting.. weather.html looks (for location) is <location>somewhere</location> #include <iostream> #include <fstream> #include <string> using namespace std; string find_field(string myPage,string); int main (void) { string page, line, location, temperature; ifstream inputFile("weather.xml"); while(getline(inputFile, line)) { page.append(line); line.erase(); } // Now page is a string that contains the whole xml page // Here you need to write something that finds and // extracts location and temperature from the XML // data in the string page and stores them in // the strings location and temperature respectively location=find_field(page,"location"); temperature=find_field(page,"temp_c"); cout << "Location: "<<location << endl; cout << "Temperature: " << temperature << endl; system("pause"); } string find_field(string myPage,string find_string){ int temp=myPage.find(find_string); if(temp!=string::npos) { cout << "Match found at " << temp << endl; } return "found?"; } ///
What are vtable and vptr?
What do you know about near, far and huge pointer?
How do you add an element to a set in c++?