31 Maret 2012

Laporan Pendahuluan 1 (shift 4-senin) 3 KB01

Laporan Pendahulauan 1 (Sistem tertanam) – 3 KB 01 Shift 4 Senin
1.       1. Jelaskan beserta penggunaanya dalam program untuk :
a.       DDRx
b.      PORTx
c.       Header
d.      Pengarah Pre-prosesor
e.      Pengarah Pustaka

2.       2. Jelaskan program dibawah ini per baris dan jelaskan outputnya :
     #include mega8535
     #include delay.h
     void main (void) 
     {
    DDRB=0xFF;
    PORTB=0xFF;
    while (1)
    {
    PORTB.0=0;
    delay_ms(500);
    PORTB.0=1;
    }
    }

3.       3. Buatlah program dengan ketentuan dibawah ini:
-          Jika ditekan switch Port C.1 maka LED akan menyala  dari Port B.0 s/d Port B.7
-          Jika ditekan switch PortC.2  maka LED akan menyala dari Port B.7 s/d Port B.0
read more “Laporan Pendahuluan 1 (shift 4-senin) 3 KB01”

21 Maret 2012

Pasive Sentence


Tugas Soffskill Bahasa Inggris Bisnis 2
b. Kalimat Pasif ( Pasive Sentence ) :
    1. I am surprised by the news
    2. The package is mailed By Brian
    3. Some letters are being copied by the secretary
    4. The window was broken by susi
    5. My shoes is being repaired by someone
    6. Brian Dendiatama has been helped by Dr. Ali    
    7. This room will be painted by someone
    8. Brian Dendiatama will be helped by the teacher  
    9. The book of English is brought by Desy Eka
  10. An exercise is did by brian in his boarding house  
read more “Pasive Sentence”

Active Sentence

Tugas Sofskill Bahasa Inggris Bisnis 2
a. Kalimat Aktif ( Active Sentence )
    1. The news surprises me
    2. Brian mails the package
    3. The secretary is copying some letters
    4. Susi broke the window
    5. Someone is repairing my shoes
    6. Dr. Ali has helped Brian Dendiatama
    7. Someone will paint this room
    8. The teacher will help Brian Dendiatama
    9. Desy Eka brings the book of English  
  10. Brian does an exercise  in his boarding house      
read more “Active Sentence”

09 Februari 2012

Tipe Data dalam Bahasa Pemrograman C

Banyak macam tipe – tipe data primitif dalam bahasa pemrograman yaitu

  • tipe data integer 
  • tipe data float 
  • tipe data char 
  • tipe data boolean


Dan setiap tipe data mempunyai range maximum dan minimum
  • tipe data byte : besar storagenya 8 bit (1byte), nilai minimalnya -128, nilai maximum 127 
  • tipe data short : besar storagenya 16 bit (2byte), atau lebih besar 2kali dari tipe data byte, nilai minimalnya -32768, nilai maksimalnya 3276 
  • tipe data integer (int) : besar storagenya 32 bit (4byte), atau lebih besar 4kali dari tipe data byte, nilai minimalnya -2147483648, nilai maksimalnya 2147483647 
  • tipe data boolean : digunakan untuk menentukan benar atau salah, tipe data ini hanya bernilai true or false atau sering disebut dalam binarinya (0 dan 1). 
  • tipe data long : besar storagenya 64 bit (8byte), nilai minimalnya -9223372036854775808, nilai maksimalnya 9223372036854775807 
  • tipe data float : besar storagenya 32 bit (4byte), nilai minimalnya ±3.4E-38, nilai maksimalnya ±3.4E+38 
  • tipe data double : besar storagenya 64 bit (8byte), nilai minimalnya ±1.7E-308, nilai maksimalnya ±1.7E+308 
  • tipe data char : tipe data ini mempunyai ukuran 16 bit atau setara dengan 65536 kode.
read more “Tipe Data dalam Bahasa Pemrograman C”

31 Maret 2012

Laporan Pendahuluan 1 (shift 4-senin) 3 KB01

Laporan Pendahulauan 1 (Sistem tertanam) – 3 KB 01 Shift 4 Senin
1.       1. Jelaskan beserta penggunaanya dalam program untuk :
a.       DDRx
b.      PORTx
c.       Header
d.      Pengarah Pre-prosesor
e.      Pengarah Pustaka

2.       2. Jelaskan program dibawah ini per baris dan jelaskan outputnya :
     #include mega8535
     #include delay.h
     void main (void) 
     {
    DDRB=0xFF;
    PORTB=0xFF;
    while (1)
    {
    PORTB.0=0;
    delay_ms(500);
    PORTB.0=1;
    }
    }

3.       3. Buatlah program dengan ketentuan dibawah ini:
-          Jika ditekan switch Port C.1 maka LED akan menyala  dari Port B.0 s/d Port B.7
-          Jika ditekan switch PortC.2  maka LED akan menyala dari Port B.7 s/d Port B.0

21 Maret 2012

Pasive Sentence


Tugas Soffskill Bahasa Inggris Bisnis 2
b. Kalimat Pasif ( Pasive Sentence ) :
    1. I am surprised by the news
    2. The package is mailed By Brian
    3. Some letters are being copied by the secretary
    4. The window was broken by susi
    5. My shoes is being repaired by someone
    6. Brian Dendiatama has been helped by Dr. Ali    
    7. This room will be painted by someone
    8. Brian Dendiatama will be helped by the teacher  
    9. The book of English is brought by Desy Eka
  10. An exercise is did by brian in his boarding house  

Active Sentence

Tugas Sofskill Bahasa Inggris Bisnis 2
a. Kalimat Aktif ( Active Sentence )
    1. The news surprises me
    2. Brian mails the package
    3. The secretary is copying some letters
    4. Susi broke the window
    5. Someone is repairing my shoes
    6. Dr. Ali has helped Brian Dendiatama
    7. Someone will paint this room
    8. The teacher will help Brian Dendiatama
    9. Desy Eka brings the book of English  
  10. Brian does an exercise  in his boarding house      

09 Februari 2012

Tipe Data dalam Bahasa Pemrograman C

Banyak macam tipe – tipe data primitif dalam bahasa pemrograman yaitu

  • tipe data integer 
  • tipe data float 
  • tipe data char 
  • tipe data boolean


Dan setiap tipe data mempunyai range maximum dan minimum
  • tipe data byte : besar storagenya 8 bit (1byte), nilai minimalnya -128, nilai maximum 127 
  • tipe data short : besar storagenya 16 bit (2byte), atau lebih besar 2kali dari tipe data byte, nilai minimalnya -32768, nilai maksimalnya 3276 
  • tipe data integer (int) : besar storagenya 32 bit (4byte), atau lebih besar 4kali dari tipe data byte, nilai minimalnya -2147483648, nilai maksimalnya 2147483647 
  • tipe data boolean : digunakan untuk menentukan benar atau salah, tipe data ini hanya bernilai true or false atau sering disebut dalam binarinya (0 dan 1). 
  • tipe data long : besar storagenya 64 bit (8byte), nilai minimalnya -9223372036854775808, nilai maksimalnya 9223372036854775807 
  • tipe data float : besar storagenya 32 bit (4byte), nilai minimalnya ±3.4E-38, nilai maksimalnya ±3.4E+38 
  • tipe data double : besar storagenya 64 bit (8byte), nilai minimalnya ±1.7E-308, nilai maksimalnya ±1.7E+308 
  • tipe data char : tipe data ini mempunyai ukuran 16 bit atau setara dengan 65536 kode.