Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
P. 1
Makalah Pascal

Makalah Pascal

Ratings:

4.86

(14)
|Views: 8,689 |Likes:
Published by irpan kusuma wijaya
tugas yang membosankan
tugas yang membosankan

More info:

Published by: irpan kusuma wijaya on Dec 16, 2008
Copyright: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 PenyelesaianDisusun Oleh :Nama : Irpan Kusuma WijayaNIM: 200822018Fakultas: Teknologi IndustriJurusan: Teknik Informatika
INSTITUT SAINS DAN TEKNOLOGI AL-KAMALJAKARTA
 
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 PascalA.Kata-Kata Cadangan .......................................................................B.Pengenal (Identifier) ........................................................................C.Tipe Data .........................................................................................D.Tanda Operasi ................................................................................E.Komentar Program ..........................................................................BAB III Input dan OutputProgram Output ...................................................................................Program Input .......................................................................................Tampilan Terformat ..............................................................................Pengaturan Letak di Layar dengan Prosedur Gotoxy ..........................Pengaturan Letak di Layar dengan Prosedur Delay ............................BAB IV Perulangan1.Perulangan For ...............................................................................a.Perulangan For Positif ............................................................... b.Perulangan For Negatif ..............................................................
c.
Perulangan For Bersarang .........................................................2.Pengulangan While Do ...................................................................3.Perulangan Repeat Until .................................................................BAB V Penyeleksian Kondisi1.Pendahuluan ...................................................................................2.Statemen If .... Then ........................................................................3.Statemen If .... Then ..... Else ..........................................................4.Statemen Case .... of ......................................................................123333334444555667811141522222526293045454748
PEMPROGRAMAN PASCAL
2
 
dayak_timur@yahoo.com
BAB IMengenal Pascal
A.Perkembangan Pascal
Pascal adalah bahasa tingkat tinggi (high level language) yang orientasinya pada semuatujuan oleh Professor Niklaus Wirth, nama pascal diambil sebagai penghargaan terhadapBlaise Pascal, ahli matematik dan philosophi terkenal abad 17 dari Perancis. Kompiler Bahasa pascal pertama kali untuk komputer CDC 6000 (Control Data Corporation) untuk membantu mengajar program komputer secara sistematis, khususnya untuk pemprogramanterstruktur.
B.Struktur Program Pascal
Struktur program pascal terdiri dari :1.Judul Program2.Blok Programa.Bagian deklarasi
-
Deklarasi label
-
Definisi konstanta
-
Definisi tipe
-
Deklarasi variable
-
Deklarasi prosedur 
-
Deklarasi fungsi b.Bagian pernyataan
C.Penulisan Program Pascal
Contoh penulisan program yang bebas
BeginWriteln(‘Belajar Pascal’);Writeln(--------------‘);End.
Contoh penulisan yang tidak dianjurkan
BeginWriteln(‘Belajar Pascal’);Writeln(--------------‘);End.
Contoh penulisan program yang dianjurkan
BeginWriteln(‘Belajar Pascal’);Writeln(--------------‘);End.
D.Judul program
Judul program (bila ditulis) terletak pada awal program dan diakhiri dengan titik koma.
E.Bagian Deklarasi
1.Deklarasi KonstantaBerisi identifier yang berisi nilai-nilai konstanta.Contoh penulisannya:
Const
PEMPROGRAMAN PASCAL
3

Activity (147)

You've already reviewed this. Edit your review.
Ela Hardayani liked this
Rachman Kodu liked this
1 thousand reads
1 hundred reads
Erwin Sanjaya liked this
ayamuhayati liked this

You're Reading a Free Preview

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