P. 1
Makalah Pascal

Makalah Pascal

4.85

|Views: 9,048|Likes:
Dipublikasikan oleh irpan kusuma wijaya
tugas yang membosankan
tugas yang membosankan

More info:

Published by: irpan kusuma wijaya on Dec 16, 2008
Hak Cipta:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

04/09/2014

pdf

text

original

Pemprograman dengan Bahasa Pascal

Dengan Contoh-Contoh Program, Output,
Latihan dan Penyelesaian

Disusun Oleh :

Nama

: Irpan Kusuma Wijaya

NIM

: 200822018
Fakultas: Teknologi Industri
Jurusan

: Teknik Informatika

INSTITUT SAINS DAN TEKNOLOGI AL-KAMAL
JAKARTA

dayak_timur@yahoo.com

DAFTAR ISI

HALAMAN JUDUL .............................................................................................

DAFTAR ISI .......................................................................................................

BAB I Mengenal Pascal

A.

Perkembangan
Pascal .....................................................................

B.

Struktur Program
Pascal ..................................................................

C.

Penulisan Program
Pascal ...............................................................

D.

Judul
Program ..................................................................................

E.

Bagian
Deklarasi ..............................................................................

1.

Deklarasi
Konstanta .....................................................................

2.

Deklarasi
Variabel ........................................................................

3.

Deklarasi
tipe ...............................................................................

4.

Deklarasi
Label ............................................................................

F.

Cara Mengorerasikan Turbo
Pascal ................................................

BAB II Elemen-Element Program Pascal
A.Kata-Kata Cadangan .......................................................................
B.Pengenal (Identifier) ........................................................................
C.Tipe Data .........................................................................................
D.Tanda Operasi ................................................................................
E.Komentar Program ..........................................................................

BAB III Input dan Output

Program Output ...................................................................................
Program Input .......................................................................................
Tampilan Terformat ..............................................................................
Pengaturan Letak di Layar dengan Prosedur Gotoxy ..........................
Pengaturan Letak di Layar dengan Prosedur Delay ............................

BAB IV Perulangan

1.Perulangan For ...............................................................................
a.Perulangan For Positif ...............................................................
b.Perulangan For Negatif ..............................................................
c. Perulangan For Bersarang .........................................................
2.Pengulangan While Do ...................................................................

1

2

3
3
3
3
3
3
4
4
4
4

5
5
5
6
6

7
8
11
14
15

22
22
25
26
29
30

45
45
47
48

PEMPROGRAMAN PASCAL2

dayak_timur@yahoo.com

3.Perulangan Repeat Until .................................................................

BAB V Penyeleksian Kondisi

1.Pendahuluan ...................................................................................
2.Statemen If .... Then ........................................................................
3.Statemen If .... Then ..... Else ..........................................................
4.Statemen Case .... of ......................................................................

BAB I
Mengenal Pascal

You're Reading a Free Preview

Mengunduh
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->