ALGORITMA :

Algoritma adalah susunan tahap untuk menyelesaikan suatu masalah.
Penemu Algoirtma ialah Abu Abdullah Muhammad bin Musa al-Khwarizmi.
Algoritma bisa direpresentasikan dengan 2 cara :
Pseudocode Dan Flowchart.

Pseudocode : Algoritma Berbentuk Tulisan
Flowchart : Algoritma berbentuk Aliran ( Memiliki Start & End)

Pseudocode Bermanfaat untuk mendeskripsika bahasa sehari2 dan Flowchart dibuat karena gambar lebih menarik.
Pseudocode Keyword:
If,Else,Print,Set,Add,While,Etc.

Basic Operation
Input
Output
Compute
Store
Compare
Repetition

Input – Proses – Output

Contoh C standard Library:

<math.h> : Mathematical Functions
<stdio.h> : Input and Output
<stdlib.h : Utility Functions
<string.h> : String Functions
<time.h> : Time and Date Functions

Escape Sequences:

\a bell, alert, system beep
\b back space
\t horizontal tab
\n new line, line feed
\v vertical tab
\r carriage return
\’ single quote
\” double quote
\\ backslash
\xdd hexadecimal notation
\ddd octal notation

Leave a Reply