Professional Documents
Culture Documents
Activity 1
Activity 1
Activity 1
• Data Structures- is a method or format that we use for organizing data in a computer
program
• Collections- an objects that groups a multiple similar data types in one unit.
In programming, a collection is a class used to represent a set of similar
data type items as a single unit. ( Technopedia (n.d.) Retrieved from
https://www.techopedia.com/definition/25317/collection )
A collection — sometimes called a container — is simply an object that
groups multiple elements into a single unit. Collections are used to store,
retrieve, manipulate, and communicate aggregate data.
(Bookbird (n.d.) Retrieved from
https://www.bookbird.co.uk/articles.php?cat=199#cat=199&page=1 )
Example: When you collect asets of make up that has a same brand.
• Linked-List- is a tool that can be used to connect each other via link.
A linked list is a linear data structure, in which the elements are not
stored at contiguous memory locations. ( Geeksforgeeks ( n.d.) Retrieved
from https://www.geeksforgeeks.org/data-structures/linked-list/ ).
A linked list is a sequence of data structures, which are connected
together via links ( Tutorials Point (n.d.) Retrieved from
https://www.tutorialspoint.com/data_structures_algorithms/linked_list_
program_in_c.htm ).
Example: Train.
• Stacks- an object that being arrange properly. It follows LIFO or FILO policy.
• Queues- an object that are being arrange properly just like stacks. It follows FIFO policy.