Pemrograman terstruktur
This presentation is the property of its rightful owner.
Sponsored Links
1 / 6

Pemrograman Terstruktur PowerPoint PPT Presentation


  • 82 Views
  • Uploaded on
  • Presentation posted in: General

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

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Pemrograman terstruktur

Pemrograman Terstruktur

Semester Genap Tahun 2011


Relasi database

Relasi Database

Char(7)

Char(3)

Num(6.2)

Char(7)

Char(3)

Char(30)

Char(20)

Char(1)


Relasi database1

Relasi Database

Char(7)

Char(3)

Num(6.2)

Char(7)

Char(3)

Char(30)

Char(20)

Char(1)


Variabel memori

Variabel memori

  • Scope

    • Public

    • Privat

  • Nama

    • Maks 10 karakter

    • Diawali dengan huruf, tanpa spasi

  • Contoh:

    • STORE nilai data TO namavarmem atau

    • Namavarmem=nilai data


Array

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>


Ekspresi dan operator

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,


  • Login