Professional Documents
Culture Documents
INDUCTION
PROGRAM
LESSON OBJECTIVE
Algorithms play an imperative role in
computer science.
They are at the heart of what our
devices actually do. And this isn’t a new
concept. Since the development of
mathematics itself, algorithms have
been needed to help us complete tasks
more efficiently
This lesson will help you master some
of the basic terminology and
understand a bit more about what,
why, how, and when of algorithms.
LET’S BEGIN
WHAT IS AN ALGORITHM?
• A sequence of instructions.
• A procedure or formula for solving a
problem.
• Often used for calculation, data
processing and programming
• Algorithms can be expressed in any
language.
WHAT IS AN ALGORITHM?
• An algorithm is a step-by-step
process designed to achieve some
outcome.
• Computers are the greatest
machines ever developed for doing
step-by-step processes.
• Algorithms are important to
computer science, but they aren't
exclusively part of computer
science.
WHAT IS AN ALGORITHM?
• Well-defined computational
procedure that takes some value, or
set of values, as input and produces
some value, or set of values as
output.”
• Road maps for accomplishing a
given, well-defined task.
• Example, a simple function for
adding two numbers is an
algorithm.
FIRST COMPUTER
ALGORITHM
• You may not have heard of Ada
Lovelace but she had a huge bearing
on everything that you do.
• She wrote algorithm for the
Analytical Engine to compute
Bernoulli numbers.
• This is widely regarded as the first
published algorithm written for a
computer, and it's for this reason that
Ada Lovelace is often cited as our first
ever computer programmer.
IMPORTANCE OF
ALGORITHMS
• Algorithms are very important in
computer Science.
• The best chosen algorithm makes
sure computer will do the given task
at best possible manner.
• In cases where efficiency matter a
proper algorithm is really vital to be
used.
• An algorithm is important in
optimizing a computer program
according to the available resources.
GOOD ALGORITHM
A good algorithm is –
• Precise – It knows the exact and
correct steps to execute.
• Unique – The input for the current
instructions comes only from the
preceding instruction.
• Finite – The algorithm ends giving
the result after the execution of a
finite number of instructions.
• Generality – The algorithm holds
good to set of inputs and not strictly
one input.
Could You Think Of An Example Of An Algorithm From
Your Life??
CLASS ACTIVITY
MAKING A PEANUT
BUTTER AND JELLY
SANDWICH
ACTIVITY OBJECTIVE
• This activity will introduce
students to several computer
science concepts.
• Students will learn the necessity
for thoroughness while
programming and will be
introduced to the often strange
results of literalism.
• Students are introduced to the
concept of debugging through
iterative attempts to program a
computer to make a peanut butter
and jelly sandwich.
ACTIVITY OBJECTIVE
• The overarching theme being
introduced is that computers do
what they are told and nothing
more.
• The ability to read between the
lines and determine what was
meant rather than what was said
is a skill computers lack.
INGREDIENTS
• 2 Loaves of Bread (sliced)
• Several knives
• 1 Jar Peanut Butter
• 1 Jar Jelly
• Lined Paper
• Pencils
3. Algorithms, https://brilliant.org/wiki/algorithm/
4. Algorithm Fundamentals,
https://brilliant.org/courses/computer-science-algorithms/