Nrp    : 19588/P
Name    : Rangga P.S
Tugas Mata Kuliah Praktikum Pemrograman Bahasa Komputer
Semester Genap periode tahun 2017
STTAL
Address : bejo.subagyo@gmail.com

Task

Preliminary,

۞  What is ALGORITHM...?

          An algorithm is an effective method that can be expressed within a finite amount of space and time and in a well-defined formal language for calculating a function. Starting from an initial state and initial input (perhaps empty), the instructions describe a computation that, when executed, proceeds through a finite number of well-defined successive states, eventually producing "output" and terminating at a final ending state. The transition from one state to the next is not necessarily deterministic; some algorithms, known as randomized algorithms, incorporate random input.


          The concept of algorithm has existed for centuries; however, a partial formalization of what would become the modern algorithm began with attempts to solve the Entscheidungsproblem (the "decision problem") posed by David Hilbert in 1928. Subsequent formalizations were framed as attempts to define "effective calculability" or "effective method”





۞  Example :

1. Go to Class Algorithm :
a. Start.
b. Leave messing room.
c. Walk straight to soccer field.
d. After passing the soccer field turn left enter the Soewarso building.
e. Go up to the 2nd floor.
f. The electronics class is at number 2 on the left.
g. Finish.

2. Algoritma menghitung luas persegi panjang :

a. Mulai.
b. Baca panjang dan lebar.
c. Tuliskan panjang.
d. Tuliskan lebar.
e. Luas = Panjang x Lebar
f. Tulis hasil perkalian panjang dan lebar.
g. Selesai.

Comments

Popular Posts