Professional Documents
Culture Documents
BSIT – 201I
• Data structures are methods for efficiently accessing, storing, and organizing
data on a computer. Trees, graphs, linked lists, and arrays are a few examples.
3. When does it make sense to apply what I learn about data structures and
algorithm?
- Because they specify the nature of the data (such as integer, floating-point,
or boolean) and specify the kinds of operations that can be done on it, data
types are crucial. They aid in preventing programming errors and ensuring
data integrity.
- While data structures arrange several data items, data types indicate the
type of data. Large volumes of data must be efficiently stored, arranged, and
accessed using data structures. They offer methods for managing complicated
data, allowing for more advanced actions on data than would be possible with
just basic data types.
8. How do records and fields in a database depict the relationship between data
types and data structures?
11. Which is more important, the design of the data structure or the algorithm?
- Both hold equal significance. The effectiveness of algorithms that work with
a given data structure is directly impacted by the option made. On the other
hand, an algorithm's design might draw attention to a data structure's
advantages or disadvantages. Finding the best answer frequently necessitates
striking a healthy balance between developing an effective algorithm and
selecting the appropriate data format.
13. What is the minimum number of operations for any algorithm to perform a
certain function?
- The most effective algorithm for tackling the problem and its intrinsic
complexity define the minimal amount of operations. The goal of algorithm
analysis in theoretical computer science is to determine the lowest bounds on
problems (i.e., maximum efficiency).
MICO VILLANUEVA February 6,2024
BSIT – 201I
15. Does it mean that when all properties are present in an algorithm, it is already
the best algorithm?
- Not always. Even if an algorithm possesses all the desirable qualities (such as
simplicity, efficiency, and accuracy), it may still perform worse than another
approach for certain types of data or in particular contexts. As new algorithms
are created and application needs change, it is crucial to continuously evaluate
and compare existing methods.
16. Can algorithms designed for a certain DS work for another DS? Why?