Java_nhap_1
Java_nhap_1
STUDENT NAME:
.....................................................................................
STUDENT ID:
.....................................................................................
MOBILE NUMBER:
.....................................................................................
Summative Feedback:
Internal verification:
1. Define basic algorithms to carry out an operation and
outline the process of programming an application.
1.1 (P1) Define an algorithm and outline the process in building an application.
An algorithm is a well-defined sequential computational technique that accepts a value or a
collection of values as input and produces the output(s) needed to solve a problem. Or we can
say that an algorithm is said to be accurate if and only if it stops with the proper output for each
input instance.
Algorithms are used to solve problems or automate tasks in a systematic and efficient manner.
They are a set of instructions or rules that guide the computer or software in performing a
particular task or solving a problem.
Overall, algorithms are an essential tool for solving problems in a variety of fields, including
computer science, engineering, data analysis, finance, and many others.
An algorithm is independent of the language used. It tells the programmer the logic used to solve
the problem. So, it is a logical step-by-step procedure that acts as a blueprint for programmers.