1 / 6

Pemrograman Terstruktur

Pemrograman Terstruktur. Semester Genap Tahun 2011. Relasi Database. Char(7). Char(3). Num(6.2). Char(7). Char(3). Char(30). Char(20). Char(1). Relasi Database. Char(7). Char(3). Num(6.2). Char(7). Char(3). Char(30). Char(20). Char(1). Variabel memori. Scope Public Privat

hazel
Download Presentation

Pemrograman Terstruktur

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pemrograman Terstruktur Semester Genap Tahun 2011

  2. Relasi Database Char(7) Char(3) Num(6.2) Char(7) Char(3) Char(30) Char(20) Char(1)

  3. Relasi Database Char(7) Char(3) Num(6.2) Char(7) Char(3) Char(30) Char(20) Char(1)

  4. Variabel memori • Scope • Public • Privat • Nama • Maks 10 karakter • Diawali dengan huruf, tanpa spasi • Contoh: • STORE nilai data TO namavarmem atau • Namavarmem=nilai data

  5. Array • Nama_array(jumlah_baris [,jumlah_kolom]) • Barang(3), Barang(3,2) • Dimension nama_array(jumlah_baris[,jumlah_kolom]) • Declare nama_array(jumlah_baris[,jumlah_kolom]) • Dimension barang(2), kotak(2,3) • Mengisi data • barang(1)=“Buku” atau STORE “Putih” TO kotak(1,1) • Display memory like <nama_array>

  6. Ekspresi dan Operator • Ekspresi • Angka, data karakter, field, variabel memori, fungsi ddan elemen array • Operator • Matematik, relasi, logika, karakter • Fungsi • Pengolah data karakter: • Len, upper, lower, left, right, substr, islower, isupper, dll • Pengolah data numerik: • Abs, int, round, avg, max, min, sum, std • Pengolah data tanggal: • Day, month, year • Konversi tipe data: • Val, str, ctod, dtoc,

More Related