3
,Unit 1
assignmen
t1
[Document subtitle]
Abdulaahi Khaliif Ali (40111526)
,Contents
Introduction...........................................................................................................................................3
Algorithms.............................................................................................................................................3
The importance of writing an algorithm before coding.........................................................................3
The different characteristics of an algorithm.........................................................................................3
What are flowcharts?............................................................................................................................4
Car Hire flowchart..................................................................................................................................4
HNC GRADE CALCULATOR FLOWCHART................................................................................................5
Object control flowchart........................................................................................................................5
The Distinction between the algorithm and the code...........................................................................6
Advantages and disadvantages of algorithms........................................................................................6
The processes in making an application applying algorithms................................................................7
Procedural, Objected Oriented, Event driven paradigms......................................................................8
The different characteristics........................................................................................................11
Service-Oriented..........................................................................................................................11
Time-Driven.................................................................................................................................11
Trigger Functions.........................................................................................................................12
Events..........................................................................................................................................12
Screenshots of the programmes..........................................................................................................12
Car hire daily calculation Screenshots.................................................................................................12
Object control Screenshots..................................................................................................................15
Other changes I have made to the moving object...............................................................................21
Bubble sort Screenshots......................................................................................................................23
HNC Grade calculator Screenshots......................................................................................................26
What pre-processors, compiler, linker, and interpreters do................................................................31
The steps for writing a code to implement a program........................................................................32
Common features that a developer has access to in an IDE................................................................34
Using the IDE for managing the development process of the program...............................................38
Examining the implementation of an algorithm in Visual Basic...........................................................42
Flowchart and codes for Car Hire program..........................................................................................42
Flowchart and codes for HNC grade calculator....................................................................................43
Flowchart and codes for object control...............................................................................................44
Evaluation of the source code.............................................................................................................45
.............................................................................................................................................................46
, Evaluation of the use of IDES when creating applications and with no IDE.........................................46
Writing the code in Visual Basic...........................................................................................................46
Writing the code in MS word...............................................................................................................47
Writing the code in Notepad...............................................................................................................48
References...........................................................................................................................................49
Introduction
In this assignment I will be describing what algorithms are and why are algorithms
important. Also, I am going to explain what procedural, object oriented, and event driven
paradigms are. I am going to be explaining their characteristics and then I am going to be
explaining their advantages and disadvantages.
Algorithms
An algorithm is a numerical interaction to tackle an issue utilizing a limited number of steps.
In the realm of PCs, an algorithm is the arrangement of guidelines that characterizes what
should be done as well as how to make it happen. Utilizing algorithms, a coder or someone
specialised in computer science can advise his machine to question information base A for
last month's marketing projections, contrast them with the earlier month and that very
month last year, and afterward show it in a reference diagram.
The importance of writing an algorithm before coding
They are utilized wherever in the field of software engineering. They are the underpinning of
the field. In software engineering, they are also a series of stages which permit a PC to play
out any errand, like calculating or sending off a rocket. At their establishment, the program
is the algorithm characterized in programming software that the machine comprehends.
Many disciplines need algorithmic thinking, or the capacity to frame unambiguous systems
to determine an issue.
Users should utilise algorithms and algorithmic reasoning constantly, regardless of whether
we are not educated about it. We can involve algorithmic thinking to break down issues and
develop arrangements in unmistakable stages. We should utilize coordinated logical
arranging abilities and the capacity to get a handle on and apply these algorithms prior to
carrying out it.
The different characteristics of an algorithm
Unambiguous – The algorithm can really be simple yet straightforward. Each of its phases,
as well as their information flows, should be obvious and result to just one conclusion.
Input - There must be 0 or even multiple well-defined variables in an algorithm.
,Unit 1
assignmen
t1
[Document subtitle]
Abdulaahi Khaliif Ali (40111526)
,Contents
Introduction...........................................................................................................................................3
Algorithms.............................................................................................................................................3
The importance of writing an algorithm before coding.........................................................................3
The different characteristics of an algorithm.........................................................................................3
What are flowcharts?............................................................................................................................4
Car Hire flowchart..................................................................................................................................4
HNC GRADE CALCULATOR FLOWCHART................................................................................................5
Object control flowchart........................................................................................................................5
The Distinction between the algorithm and the code...........................................................................6
Advantages and disadvantages of algorithms........................................................................................6
The processes in making an application applying algorithms................................................................7
Procedural, Objected Oriented, Event driven paradigms......................................................................8
The different characteristics........................................................................................................11
Service-Oriented..........................................................................................................................11
Time-Driven.................................................................................................................................11
Trigger Functions.........................................................................................................................12
Events..........................................................................................................................................12
Screenshots of the programmes..........................................................................................................12
Car hire daily calculation Screenshots.................................................................................................12
Object control Screenshots..................................................................................................................15
Other changes I have made to the moving object...............................................................................21
Bubble sort Screenshots......................................................................................................................23
HNC Grade calculator Screenshots......................................................................................................26
What pre-processors, compiler, linker, and interpreters do................................................................31
The steps for writing a code to implement a program........................................................................32
Common features that a developer has access to in an IDE................................................................34
Using the IDE for managing the development process of the program...............................................38
Examining the implementation of an algorithm in Visual Basic...........................................................42
Flowchart and codes for Car Hire program..........................................................................................42
Flowchart and codes for HNC grade calculator....................................................................................43
Flowchart and codes for object control...............................................................................................44
Evaluation of the source code.............................................................................................................45
.............................................................................................................................................................46
, Evaluation of the use of IDES when creating applications and with no IDE.........................................46
Writing the code in Visual Basic...........................................................................................................46
Writing the code in MS word...............................................................................................................47
Writing the code in Notepad...............................................................................................................48
References...........................................................................................................................................49
Introduction
In this assignment I will be describing what algorithms are and why are algorithms
important. Also, I am going to explain what procedural, object oriented, and event driven
paradigms are. I am going to be explaining their characteristics and then I am going to be
explaining their advantages and disadvantages.
Algorithms
An algorithm is a numerical interaction to tackle an issue utilizing a limited number of steps.
In the realm of PCs, an algorithm is the arrangement of guidelines that characterizes what
should be done as well as how to make it happen. Utilizing algorithms, a coder or someone
specialised in computer science can advise his machine to question information base A for
last month's marketing projections, contrast them with the earlier month and that very
month last year, and afterward show it in a reference diagram.
The importance of writing an algorithm before coding
They are utilized wherever in the field of software engineering. They are the underpinning of
the field. In software engineering, they are also a series of stages which permit a PC to play
out any errand, like calculating or sending off a rocket. At their establishment, the program
is the algorithm characterized in programming software that the machine comprehends.
Many disciplines need algorithmic thinking, or the capacity to frame unambiguous systems
to determine an issue.
Users should utilise algorithms and algorithmic reasoning constantly, regardless of whether
we are not educated about it. We can involve algorithmic thinking to break down issues and
develop arrangements in unmistakable stages. We should utilize coordinated logical
arranging abilities and the capacity to get a handle on and apply these algorithms prior to
carrying out it.
The different characteristics of an algorithm
Unambiguous – The algorithm can really be simple yet straightforward. Each of its phases,
as well as their information flows, should be obvious and result to just one conclusion.
Input - There must be 0 or even multiple well-defined variables in an algorithm.