0% found this document useful (0 votes)
12 views3 pages

Cañete Discussion 1

The document discusses various types of data structures, categorizing them into linear and nonlinear, and highlights their operational complexities. It also explains algorithms, their classifications, and their impact on computing, including applications in data processing, artificial intelligence, and cybersecurity. Additionally, it addresses ethical considerations in algorithm design, emphasizing fairness and accountability.

Uploaded by

jcanete
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views3 pages

Cañete Discussion 1

The document discusses various types of data structures, categorizing them into linear and nonlinear, and highlights their operational complexities. It also explains algorithms, their classifications, and their impact on computing, including applications in data processing, artificial intelligence, and cybersecurity. Additionally, it addresses ethical considerations in algorithm design, emphasizing fairness and accountability.

Uploaded by

jcanete
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Technological Institute of the Philippines

938 Aurora Blvd. Cubao, Quezon City

GRADUATE PROGRAM
MCSCC 123-MSCS12G1 - Advanced Data Structures and Algorithms

Prelim Period

Name: Date:
Program/Section: Instructor: Asst. Prof. Karren V. de Lara
Activity Title: Algorithm Concepts

1. Identify and discuss the different type of data structures.

Data structures can be categorized into two main types: Linear and Non Linear
Data Structures. In linear data structures, the elements are arranged in sequence one
after the other. Since elements are arranged in particular order, they are easy to
implement. However, when the complexity of the program increases, the linear data
structures might not be the best choice because of operational complexities. Examples
include array, stack, queue, and linked list.
Unlike linear data structures, elements in nonlinear data structures are not in any
sequence. They are arranged in a hierarchical manner where one element will be
connected to one or more elements instead. Some of the popular and best examples of
nonlinear data structures are binary search trees and graphs.
Linear and nonlinear data structures can also be differentiated by their time
complexities and how the items are arranged in layer/s. With regards to the time
complexities, linear data structures’ time complexity increases with data size, while
nonlinear data structures’ time complexity remains the same. In addition, all items are
presented on a single layer in linear data structures, while in nonlinear data structures,
the data items are presented at different layers.

2. What is Algorithm? Explain the different types.

Algorithms are structured sets of instructions designed to solve specific problems


or perform particular tasks. This can be a simple process, such as a recipe to bake a
cake, or a complex series of operations used in machine learning to analyze large
datasets and make predictions. Algorithms can be classified into different types based
on their approach and methodology. Here are some of the most common types:

1. Brute Force Algorithm - in this algorithm, all possible solutions are systematically
checked to find the correct one. While easy to implement, brute force algorithms can be
inefficient for large data sets. Example: Linear Search, where an element is searched by
checking each item one by one. This algorithm is also considered as the simplest
approach to problem-solving.
2. Recursive Algorithm - This algorithm is purely based on recursion. In this, a problem is
solved by breaking it into subproblems of the same type and calling own self again until
the problem is solved. This includes some well known algorithms like Divide and
Conquer Algorithms and Greedy Algorithms.

3. Randomized Algorithm - In this algorithm, random numbers are utilized to decide the
expected outcome. These algorithms are particularly useful when deterministic solutions
are slow or infeasible. Some common problems that can be solved through the
Randomized Algorithm are Quicksort: In Quicksort we use the random number for
selecting the pivot.

4. Sorting Algorithm - this algorithm is used to sort data in ascending or descending


order. Some common problems that can be solved through the sorting Algorithm are
Bubble sort, insertion sort, merge sort, selection sort, and quick sort are examples of the
Sorting algorithm.

5. Searching Algorithm - This is used for searching the specific key in a particular sorted
or unsorted data. This is also an essential tool used to locate specific items within a
collection of data. These algorithms are designed to efficiently navigate through data
structures to find the desired information. Binary search or linear search are examples of
this algorithm.

6. Hashing Algorithm - This algorithm works the same as the Searching algorithm but it
contains an index with a key ID or a key-value pair. In hashing, we assign a key to
specific data. Some common problems can be solved through the Hashing Algorithm in
password verification.

3. How do algorithms impact different areas of computing?

Algorithms play a big role in different areas of computing by making tasks faster,
more efficient, and automated. In data processing, algorithms help sort, search, and
analyze large amounts of information quickly, which is important for businesses and
research. In artificial intelligence and machine learning, algorithms help computers learn
from data and make smart decisions.
In cybersecurity, encryption algorithms protect sensitive information from
hackers. Computer graphics use algorithms to create realistic images and animations in
video games and movies. In networking, algorithms help manage internet traffic,
ensuring smooth communication between devices. Even in everyday applications like
online shopping and social media, algorithms personalize content and improve user
experience. Without algorithms, computers would struggle to perform complex tasks
efficiently.
4. Can you provide an example of a well-known algorithm?

There are a lot of well-known and commonly used algorithms out there but I will
be choosing Dijkstra’s Algorithm which is used to find the shortest path between points
in a graph. This algorithm has so many real world applications like in GPS navigation
systems, network routing, and even in video games to help characters find the fastest
route.

5. What are the ethical considerations in algorithm design?

Ethical considerations in algorithm design are crucial as algorithms are


increasingly used in decision-making across various fields such as finance, healthcare,
and criminal justice. While algorithms promise efficiency and accuracy, they also raise
significant ethical concerns. These concerns revolve around fairness, accountability,
transparency, and the potential for bias in algorithmic decisions.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy