Latest Entries »

tugas baspro..

1. flowchart program “case of”

case of

2. algoritma program faktorial

  1. Mulai
  2. Masukkan nilai n
  3. Hitung factorial n dengan pencacahan dari atas kebawah yaitu n!= n down to 1 do
  4. Tampilkan nilai n!
  5. selesai

 

“if..then..else”

Algoritma

  1. Mulai
  2. Masukkan kode {1…7}
  3. Jika  kode = 1 maka senin
  4. Jika kode = 2 maka selasa
  5. Jika kode = 3 maka rabu
  6. Jika kode = 4 maka kamis
  7. Jika kode = 5 maka jum’at
  8. Jika kode = 6 maka sabtu
  9. Jika kode = 7 maka minggu
  10. Nama hari
  11. Selesai

flowchart:

hasilnya:

Doc1

1. Bilangan Integer
Bilangan atau angka yang tidak memiliki titik desimal atau pecahan, dan biasa disebut bilangan bulat.
Tipe Data Ukuran Tempat Rentang Nilai
Byte 1 byte 0 s/d +255
Shortint 1 byte -28 s/d +127
integer 2 bytes -32768 s/d 32767
Word 2 bytes 0 s/d 65535
Longint 4 bytes 2147483648 s/d 2147483647
Contoh :
10, +225, -10,+25.
2. Bilangan real atau nyata merupakan jenis bilangan pecahan.
Contoh :
235.45, +13.99, -87.76
3. Tipe data ini digunakan untuk pengambilan keputusan dalam operasi logika. Terdiri dari true disimbolkan ‘T’ dan False yang disimbolkan ‘F’. Ketika kita ingin mendapatklan hasil yang valid/pasti, kita menggunakan tipe data boolean untuk memperoleh keputusan dalam suatu penyelesaian yang pasti.
Contoh :
Program tampil_boolen;
begin
writeln(ord(true));
writeln(ord(false));
end.
4. Char
Tipe data ini menyimpan karakter yang diketikkan dari keyboard, memiliki 266 macam yang terdapat dalam tabel ASCII (American Standard Code for Information Interchange).
Contoh :
‘a’ ‘B’ ‘+’,
5. String
String adalah tipe data bentukan yang merupakan deretan karakter yang membentuk satu kata atau satu kalimat, yang biasanya diapit oleh satu tanda kutip.
Contoh :
‘ABCDEF’

  1. Mulai
  2. Baca data tentang kewarganegaraan, apakah anda warga negara indonesia?
  3. Baca data mengenai umur dan status, karena pemilih manimal harus berumur 17 Tahun atau sudah menikah.
  4. jika semua persyaratan telah terpenuhi, Print hak pilih anda.
  5. Selesai

CARA MENANAK NASI

CARA MENANAK NASI

Cara Membuat Blog

Langkah 1: Daftar Google

Langkah 2: Daftar Blog

Langkah 3: Membuat Blog

Langkah 4: Blog Template

selesai,,,,

mudah kan

whether an interactive shells for Python language program that offers improved introspect compared with standard leather, extra leather syntax, highlight the code, and completion costs.

A number of popular articles in computer journalists have discussed the benefits of IPython, and he is a component SciPy package. He gave himself well for pemrototipean quickly and can often be seen together with Matplotlib for scientific and engineering jobs.

Another prominent feature is that IPython work with frames of the main GUI (Tkinter, GTK, Qt and WX) in one fashion rather than grouping errors into account development and search interactive GUIs. Python skin it only provides this standard with Tkinter. Skills have been recently added to the IPython to interactively manage clusters highly parallel compute using asynchronous callbacks status and / or classical MPI.

IPython can also be used as a replacement firing system, especially on Windows which have skin that is at least capable. Actions from IPython most familiar from Unix shells, but he gives the ability and flexibility to carry out compliance in Python live environment.

Hello world!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!