Tutorial 1 - Answered
Tutorial 1 - Answered
A. A type for objects whose behavior is defined by a set of values and a set of operations.
B. A way to hide low-level details with a simpler, higher-level idea.
C. A way to divide a system into components or modules.
D. A way to encapsulate data and operations on that data into a single unit.
A. Trees
B. Graphs
C. Arrays
D. Hash Tables
A. Insertion
B. Deletion
C. Comparison
D. Multiplication
Tutorial 1
1. Abstract data types enable us to separate how we use a data structure in a program from the
particular form of the data structure [1]. TRUE
3. Data structures are often implemented as objects, so the ability to effectively work with objects
and understanding object-oriented programming is an important skill to have [4]. TRUE
4. An array data structure is a data structure that is used to store data in a way that is efficient and
easy to access [5]. TRUE
5. Abstract data types are a way of encapsulating data and operations on that data into a single unit
[3]. TRUE
6. A dynamic data structures performs memory space allocation before the data structure is built. FALSE
7. Memory space for the dynamic data structure can grow and shrink at runtime. TRUE
8. Static data structures are the data structures whose size is declared and fixed at runtime and can
be changed later. FALSE
10. An array data structure is a static data structure that is used to store data in a way that is efficient
and easy to access. TRUE
References:
[1] https://web.mit.edu/6.005/www/fa15/classes/12-abstract-data-types/
[2] https://www.simplilearn.com/data-structure-interview-questions-and-answers-article
[3] https://www.geeksforgeeks.org/abstract-data-types/
[4] https://www.testgorilla.com/test-library/programming-skills-tests/java-coding-test-data-
structures/
[5] https://www.interviewbit.com/data-structure-interview-questions/
[6] https://data-flair.training/blogs/abstract-data-type-adt/