click below
click below
Normal Size Small Size show me how
Midterm DSA
| Question | Answer |
|---|---|
| set of instruction within a certain order | algorithm |
| it is the way of how we organize data and represents logical relationship between individual elements | data structure |
| A ________ is when an algorithm and data structure work together | program |
| int float character and/or boolean are under what type of classification of data | primitive data types |
| they are derived from your int float character and/or boolean data types | non-primitive data types |
| this is the type of your derived data type wherein the structure must be the same data type | homogenous |
| this is the type of your derived data type wherein the structure doesn't care if they are the same or different data type | heterogenous |
| this structure affects your overall design whether its structural or functional aspects of your program | data structure |
| ALGORTHM + DATA STRUCTURE | program |
| this is composed of your byte, short, long, and/or int | 4 |
| data types | integer |
| this is composed of your float, double | 2 |
| this is composed of your char data type | 8 |
| this is composed of your bool data type | 8 |
| data type sizes | int float char bool |