Wednesday, 25 February 2015

Peristiwa (Event)

Jenis peristiwa berdasarkan jenis waktu:
1. Peristiwa masa lampau
2. Peristiwa masa sekarang / hari ini  / 24 jam
3. Peristiwa masa depan


Ada berapa banyak sih jenis peristiwa? Jenis peristiwa sebanyak jumlah kata kerja yang dibuat/diciptakan oleh manusia.
Contoh:
memukul - peristiwa pemukulan
mengangkat - peristiwa pengangkatan
mengesahkan - peristiwa pengesahan
merampok - peristiwa perampokan
membengkokan - peristiwa pembengkokan
mengangkangi - peristiwa pengangkangan
menggeser - peristiwa penggeseran
memindahkan - peristiwa pemindahan
dan seterusnya

Setiap peristiwa pasti ada subyek (pelaku) dan obyek (orang yang menerima perlakuan), karena
Array
Declare, construct,

Modifier
Access modifier: default, public, protected, private.
Non-access modifier: final, abstract, strictfp.

Inheritance
in java, class can be derived from classes.
Superclass: deriving, induk, class yang diambil.
Subclass: derived, anak, class yang mewarisi.

Polymorphism
Inheritance
Encapsulation
Abstraction
Classes
Objects
Instance
Method
Message Parsing



Next Project: Word recognition

Kecerdasan kalimat

Buatlah kalimat dengan kata kerja / Verbs berikut:
1. Mewariskan
2. Menimbun

It looks simple, but it will change your life.


Kecerdasan emosional

Kenalilah jenis perasaan-perasaan berikut dan tentukan hal-hal yang menimbulkannya:
1. Anxiety (cemas)
2. Inferios (merasa rendah diri)
3. Superior (merasa lebih jago)
4. Merasa jijik dengan dirinya sendiri.
4. Tidak bisa diandalkan
5. Kurang ramah


Kecerdasan angka
1. Berapakah hasil 12 dibagi 3?

2.

3.

4.

5.

Kecerdasan gambar
1. Tanpa pilihan
2. Dengan pilihan ganda

Class and object

Object inherit class.

1. Open console editor
2. Do import
system.net.sockets
system.text
used for conversion between bytes and strings


So do the following code:
1. Dim client as net.sockets.tcpclient
2. Dim stream as networkstream = Nothing

You just created a new tcp client, and a stream for when the connection is made so we can send and receive information between the client and the server.

3. Make a connection attempt
For this you need a server and the IP address and port of the server.
This time your computer is also a server.


Tuesday, 24 February 2015

useful windows command-line

1. mstsc
2/ control panel commandline
   Control panel tool             Command
   -----------------------------------------------------------------
   Accessibility Options          control access.cpl
   Add New Hardware               control sysdm.cpl add new hardware
   Add/Remove Programs            control appwiz.cpl
   Date/Time Properties           control timedate.cpl
   Display Properties             control desk.cpl
   FindFast                       control findfast.cpl
   Fonts Folder                   control fonts
   Internet Properties            control inetcpl.cpl
   Joystick Properties            control joy.cpl
   Keyboard Properties            control main.cpl keyboard
   Microsoft Exchange             control mlcfg32.cpl
      (or Windows Messaging)
   Microsoft Mail Post Office     control wgpocpl.cpl
   Modem Properties               control modem.cpl
   Mouse Properties               control main.cpl
   Multimedia Properties          control mmsys.cpl
   Network Properties             control netcpl.cpl
                                  NOTE: In Windows NT 4.0, Network
                                  properties is Ncpa.cpl, not Netcpl.cpl
   Password Properties            control password.cpl
   PC Card                        control main.cpl pc card (PCMCIA)
   Power Management (Windows 95)  control main.cpl power
   Power Management (Windows 98)  control powercfg.cpl
   Printers Folder                control printers
   Regional Settings              control intl.cpl
   Scanners and Cameras           control sticpl.cpl
   Sound Properties               control mmsys.cpl sounds
   System Properties              control sysdm.cpl
    

Try.. Catch ..

If an operation of writing a file is fail, what do you next.