Unit 1:
Programming
Fundamentals of Algorithms in Programming
Contents
Define an algorithm...............................................................................................................................1
The steps taken from writing code to execution...................................................................................2
The process of building an app including the potential challenges that may face during development
...............................................................................................................................................................3
The requirement phase.....................................................................................................................3
The Design Phase...............................................................................................................................3
Implementation phase.......................................................................................................................4
Testing Phase.....................................................................................................................................4
Deployment Phase.............................................................................................................................4
Maintenance Phase...........................................................................................................................5
[8].........................................................................................................................................................5
References.............................................................................................................................................5
, A232549
Define an algorithm
Algorithm is a step-by-step process of command that is implemented by code for
solving a problem, performing a task, or achieving a specific objective. It is a set of
instructions that tells a computer on what to do to achieve a result. Additionally,
algorithm is a set of instruction, while code is the implementation of those
instructions using programming languages.
Bubble sort is a sorting algorithm that works by arranging numbers or elements in
the correct order by repeating the steps in a list and swapping them if they are in the
wrong order. It passes through the list is repeated until no swaps are needed, which
means the list is sorted. Bubble Sort gets its name because smaller elements
"bubble" to the top of the list, while larger elements "sink" to the bottom. [1]
[2]
1|Page
Programming
Fundamentals of Algorithms in Programming
Contents
Define an algorithm...............................................................................................................................1
The steps taken from writing code to execution...................................................................................2
The process of building an app including the potential challenges that may face during development
...............................................................................................................................................................3
The requirement phase.....................................................................................................................3
The Design Phase...............................................................................................................................3
Implementation phase.......................................................................................................................4
Testing Phase.....................................................................................................................................4
Deployment Phase.............................................................................................................................4
Maintenance Phase...........................................................................................................................5
[8].........................................................................................................................................................5
References.............................................................................................................................................5
, A232549
Define an algorithm
Algorithm is a step-by-step process of command that is implemented by code for
solving a problem, performing a task, or achieving a specific objective. It is a set of
instructions that tells a computer on what to do to achieve a result. Additionally,
algorithm is a set of instruction, while code is the implementation of those
instructions using programming languages.
Bubble sort is a sorting algorithm that works by arranging numbers or elements in
the correct order by repeating the steps in a list and swapping them if they are in the
wrong order. It passes through the list is repeated until no swaps are needed, which
means the list is sorted. Bubble Sort gets its name because smaller elements
"bubble" to the top of the list, while larger elements "sink" to the bottom. [1]
[2]
1|Page