Jumat, 30 November 2012

Bahan Siaran Radio (BlackBerry Messenger (BBM)).


BlackBerry Messenger (BBM)
BlackBerry Messenger or we can call BBM is an Internet-based instant messenger application included on BlackBerry devices that allows messaging between BlackBerry users. It was developed by the manufacturer of the BlackBerry, Research In Motion (RIM).
Messages sent via BlackBerry Messenger are sent over the Internet and use the BlackBerry PIN system, so communication is only possible between BlackBerry devices. BlackBerry allows users to add each other to their respective friends lists rather than using only numeric PIN identification or an email address associated with the user's BlackBerry.
The service communicates over the phone's Internet connection using the mobile phone network. A wireless LAN ("Wi-Fi") network connected to the Internet may also be used to send messages, however, most service providers will not allow sign-in to BlackBerry Messenger without the purchase of a BlackBerry data plan.
In addition to offering text-based instant messages, BlackBerry Messenger also allows users to send pictures, voicenotes (audio recordings), files, location on a map and a wide selection of emotion over the BlackBerry network.





 



Questions & Answer :
1.      Can you tell me what is BlackBerry Messenger ?
BlackBerry Messenger or we can call BBM is an proprietary Internet-based instant messenger application included on BlackBerry devices that allows messaging between BlackBerry users.

2.      Who is developed BlackBerry Messenger ?
It was developed by the manufacturer of the BlackBerry, Research In Motion (RIM).

3.      Can you tell me about the advantages of using BlackBerry messenger ?
In addition to offering text-based instant messages, BlackBerry Messenger also allows users to send pictures, voicenotes (audio recordings), files, location on a map and a wide selection of emoticons over the BlackBerry network.

4.      Can you explain to me how to add friend list  on BlackBerry Messenger contact ?
BlackBerry allows users to add each other to their respective friends lists rather than using only numeric PIN identification or an email address associated with the user's BlackBerry.

5.       Please tell me wht is the factor why we can’t use our BlackBerry Messenger or send message ?
Maybe you must pay some debit provider on your provider, before you can use BlackBerry Messenger or send message.







Laporan Akhir Pratikum 10 (Program Array C++)


Program Array C++
#include<conio.h>
#include<iostream.h>
void main()
{
clrscr ();
int a[9]={1,2,3,4,5,6,7,8,9};
int b[9]={1,2,3,4,5,6,7};
int c[9]={10,20,30,40,50,60,70,80};
int j;
cout <<endl;
for (j=0; j<9; j++)
{
cout <<"A["<<j<<"]="<<a[j]<<"B["<<j<<"]="<<b[j]<<"C["<<j<<"]="<<c[j]<<endl;
}
getch();
}




Hasil Output program diatas :










#include<conio.h>
Adalah pengarah praprosesor yang ada di program C++. File-file yang berakhiran dengan .h disebut file header (deklarasi), seperti fungsi, variabel dan lainnya. Baris #include <iostream.h> harus disertakan pada program yang terlibat dalam obyek cout. Tanpa adanya baris tersebut akan terjadi kesalahan sewaktu program dikompilasi.
#include<iostream.h>
Adalah library dari program C++ kegunaan library untuk memasukkan fungsi clrscr, getch, dll.
void main()
untuk menyatakan dalam fungsi tersebut tidak punya nilai balik. Tanda () digunakan untuk mengapit argumen fungsi, yaitu nilai-nilai yang akan dilewatkan ke fungsi. Pada fungsi void main() di bawah, tidak memiliki argumen yang diberikan. Jadi tidak ada entri di dalam () itu..
clrscr (); untuk membersihkan layar pada saat hasil program di bagian hasil Output program.
int a[9]={1,2,3,4,5,6,7,8,9};
menunjukkan bahwa program array dengan jumlah 9 elemen yang terdiri dari 1, 2, 3, 4, 5,6,7,8,9 dan memiliki tipe data yaitu integer.
int b[9]={ ]={1,2,3,4,5,6,7};
menunjukkan bahwa program array dengan jumlah 5 elemen yang terdiri dari 1, 2,3,4,5,6,7 dan bernilai 0 elemen yang tidak didefinisikan, serta tipe data integer.
int c[9]={10, 20, 30,40,50,60,70,80 };
menunjukkan bahwa program array dengan jumlah 5 elemen yang terdiri dari 10, 20, 30,40,50,60,70,80 dan bernilai 0 elemen yang tidak didefinisikan, serta tipe data integer.
int j; menunjukkan variabel j memiliki tipe data yaitu integer.
cout<<endl;
Pengenal cout merupakan sebuah obyek yang ada didalam program C++. Obyek ini disediakan oleh program  C++ untuk mengarahkan data program ke standard output. Tanda “<<” merupakan operator yang disebut operator penyisipan. Operator akan memerintahkan operand atau di sebut data yang terletak di kanannya dan obyek yang terletak di sebelah kiri. Endl pemindahan kursor ke baris bagian bawahnya.
for (j=0; j<9; j++)
suatu kondisi dimana variabel j berinisialisasi 0 dengan berkondisi bahwa variabel j lebih kecil dari pada 9, apabila bena maka program akan memproses dengan rumus j++ yang artinya j = j + 1
cout<<”A["<<j<<"]=”<<a[j]<<”B["<<j<<"]=”<<b[j]<<”C["<<j<<"]=”<<c[j]<<endl;
Program akan mencetak A[ dengan perulangan pada bagian j ]= jadi nilai dari array yang berada pada perulangan j tadi akan mencetak B[dengan perulangan pada bagian j ]= jadi nilai dari array yang berada pada perulangan j tadi akan mencetak C[dengan perulangan pada bagian j ]= jadi nilai dari array yang berada pada perulangan j sampai perulangan terusmenerus sampai tidak terpenuhi lagi.
getch(); digunakan untuk memeriksa (mengeksekusi) kembali program yang akan di cetak sebagai mana yang telah ditetapkan oleh program C++.

Laporan Akhir Pratikum 10 (Program Array Pascal)


Program Array Pascal

Program akses_array;
Uses crt;
Const max = 10;
Var
a: array [1..max] of char;
c: char;
i: integer;
Begin
Clrscr;
c:= '0';
i:= 1;
While (i <= max) do begin
A [i] := c;
Inc (c);
Inc (i);
End;
For i := 1 to max do begin
Write (a[i]);
End;
Readkey;
End.




Hasil Output program diatas :

Minggu, 25 November 2012

Laporan Akhir Pratikum 8 (Program Prosedur C++)


PROSEDUR C++
#Include <conio.h>
#Include <iostream.h>
Void penjualan (float a, float b, float c)
{
Float total, temp ;
Temp = b * c ;
Total = temp - (a * temp) ;
Cout << "Harga Kotor Pembelian BlackBerry 8520       : " << temp << endl ;
Cout << "Harga Bersih Pembelian BlackBerry 8520      : " << total << endl;
}
Void main()
{
Float diskon, harga, jumlah ;
Float total, temp ;
Cout << "  PROGRAM HITUNG HARGA BARANG HENDEPONE  " << endl ;
Cout << "#########################################" << endl << endl    ;
Cout << "Masukkan Harga  Pembelian BlackBerry 8520   : " ; cin >> harga    ;
Cout << "Masukkan Jumlah Pembelian BlackBerry 8520   : " ; cin >> jumlah ;
Cout << "Masukkan Diskon Pembelian BlackBerry 8520   : " ; cin >> diskon  ;
Cout << "                                                                             \n" ;
Penjualan(diskon, harga, jumlah) ;
Getch();
}

Hasil dari listing di atas !