Al 101 Faith Biag
Al 101 Faith Biag
BIAG
BSCS – 3B
a. WHAT IS ALGORITHM
- A data structures is a specific type of format used to arrange, process, retrieve, and
store data. There are a number of fundamental and sophisticated forms of data
structures, all of which are made to organize data for particular use. Users may easily
get the data they require and use it in the proper ways.
- Typically, an algorithm consist of a series of steps that, when combined, verify the
accomplishment of a particular task. In every part of our daily lives, as humans, we
do various acts using algorithms.
ACTIVITY 2 - BSCS 3B
FAITH BIAG
You might be asking why we pay such close attention to and analyze data structures so
thoroughly. We do this because we want software developers to be independent thinkers. If you
don't have a firm grasp of fundamental computer algorithms and data structures, you cannot be
competent developers and face the risk of becoming an amateur. One has a decent chance of
becoming a professional who performs in-depth analyses of issues and offers workable answers
if one has a solid grasp of data structures and algorithms and starts to think about how they
should be used appropriately. It is impossible to talk about how well algorithms and data
structures work without first defining the term "algorithm complexity," which we have already
covered in a number of ways. The mathematical definitions won't be applied here.
ACTIVITY 3 – BSCS 3B
FAITH BIAG
ACTIVITY – EXERCISES
Using System
Using System.collection.generic;
javaStudent.Add(“stela”,”Minerva”);
student.Add(“C#”,csharpStudents);
student.Add(“sql”,sqlStudents);
student.Add(“java”,JavaStudents);
exit(-1);
}
}
4. MultiKeyDictionary<TKey1,TKey2,TValue>Foo;
Foo.Add(Key1,Key2,Value);
Myvalue = Foo[key1];
//value = = MyValue
Foo.Remove(key2);
MyValue = Foo[key1]; //Invalid, Exception or null returned
ACTIVITY 4 BSCS -3B
FAITH BIAG
The Big O Notation method is a way to quantify how time-consuming an algorithm is. It
estimates how long an algorithm will take to execute as the input increases. It establishes
an algorithm's worst-case temporal complexity, to put it another way. In data structures,
the Big O Notation is used to express an algorithm's maximal runtime.
ACTIVITY 5 BSCS – 3B
FAITH BIAG
UNDERSTANDING IN SORTING
ACTIVITY 6 BSCS – 3B
FAITH BIAG
ACTIVITY 7 BSCS - 3B
FAITH BIAG
UNDERSTANDING IN RECURSIVE
Recursion within the function causes it to be called repeatedly. The recursive condition
causes repeated calls to the function to be made up until the base case is satisfied. The
function's basic case triggers the execution to halt when its condition is satisfied.
ACTIVITY 8 BSCS – 3B
FAITH BIAG
Numerical analysis heavily relies on the study of numerical methods, from their
theoretical development and comprehension to their practical implementation as reliable
and efficient computer programs.