Page 5 - MODUL PDKP'21
P. 5
Unit-Unit Standar dalam Program Pascal ............................................................. I-41
Unit Sistem ................................................................................................................. I-41
Unit Crt (Cathode Ray Tube
) ................................................................................ I-42
Unit Syutils ................................................................................................................ I-42
Unit LConvencoding .............................................................................................. I-42
Input I
dan Output ........................................................................................................... -42
Input .............................................................................................................................. -42
I
Output .......................................................................................................................... -42
I
Jenis-jenis Operator dalam Pascal ........................................................................... I-43
Operator Aritmatika ................................................................................................ I-43
Operator Perbandingan ......................................................................................... I-43
Contoh Kasus Program Sederhana ......................................................................... I-43
I
Contoh Penggunaan PASCAL N-IDE ...................................................................... -44
Contoh Penggunaan Flowdia Lite ........................................................................... -48
I
Modul 2 (Pengondisian, Looping, Decision, dan Compound)
Pendahuluan ............................................................................................................................. II-53
Uraian Materi ........................................................................................................................... II-53
Pengondisian ...................................................................................................................... II-53
Looping ................................................................................................................................. II-53
Conditional Loop .......................................................................................................... II-53
Counted Loop................................................................................................................ II-56
Nested Loop................................................................................................................... II-57
II-59
Decision .................................................................................................................................
Perintah IF .......................................................................................................................
II-59
II-61
Perintah Case .................................................................................................................
II-63
Compound ...........................................................................................................................
Modul 3(Array, Record, dan Pemrograman Modular)
Pendahuluan ........................................................................................................................... III-67
Uraian Materi ......................................................................................................................... III-67
Array
..................................................................................................................................... III-67
Record.................................................................................................................................. III-69
Statement Titik ............................................................................................................ III-69
Statement With Do .................................................................................................... III-72
III-74
Gabungan Array dan Record .......................................................................................
III-76
Pemrograman Modular .................................................................................................
Prosedur ......................................................................................................................... III-81
Fungsi ............................................................................................................................. III-90
Modul 4(Interface, File dan Kursor)
Pendahuluan ........................................................................................................................... IV-94
Uraian Materi ......................................................................................................................... IV-94
Interface
.............................................................................................................................. IV-94
Fungsi dalam Unit crt................................................................................................ IV-94
Fungsi dalam Unit LConvencoding...................................................................... IV-95
iii