Sunday, 15 March 2015

Yang mana Width yang mana Height

PENGERTIAN

Height (H) adalah tinggi; yang keatas dan kebawah / vertikal.
Weight (VV) adalah lebar; yang ke kiridan ke kanan / horizontal.

NOTASI

Notasi width dan height biasanya ditulis: width x height.
Contoh:
800x600 --> 800 pixel ke kanan, 600 pixel keatas, dengan total jumlah pixel 480000 pixel.

Jadi, melebar dulu baru memanjang. Kebalikan dari Biologi tubuh manusia; memanjang dulu baru melebar; pertumbuhan primer dulu baru pertumbuhan sekunder.

RASIO (RATIO)

Rasio atau perbandingan antara width dan height atau width / height adalah:
Normal screen aspect ratio = 4/3
Wide screen aspect ratio = 16 x 9 dan 16 x 10



Assembly
1. Access all the functions/registers of ATMega328
2. Working with the program counter and the stack
3. No predefined data types
4. working directly with address or pointers

Directive:
1. Define global variables
2. Create data
3. Specify address
4. Determine what header files tobe included
Contoh:
.set untuk mendefenisikan variabel.
.equ untuk constants.

Symbols: names for values or addresses

Syntax specific addressing modes

Numerical values:
1.Decimal
2. Biner
3. Hex

Comments

Assembly code forms
Everyline of code should be one of the following
1. [label:] directive [operands] [comment]
2. [label:] instruction [operands] [Comment]
3. comment
4. Empty line

OPERANDS
1. can be a labels
2. variables defined by the .set directive
3. constants defined by the .equ directive
4. integer constants:
- Decimal: 10, 255
- Hex : 0x0a, or $0a
- Binary : 0b00001010
5. Program counter (PC)

Saturday, 14 March 2015

MML (Music Macro Language)

1. Tone
Tone antara lain : C, D, E, F, G, A, B
Contoh:
C untuk do
D untuk re
E untuk mi
F untuk fa
G untuk sol
A untuk la
B untuk si

2. Semitone (Kres atau mol)
C+ untuk C kres
D+ untuk D kres
E+ untuk E kres


3.  Durasi atau length
Macam-macam durasi yang digunakan dalam MML antara lain: 1/1, 1/2, 1/4, 1/16, 1/32. 1/64
Contoh:
C4 berarti nada C 1/4 ketuk
C2 berarti nada C 1/2 atau "setengah" ketuk
C1 berarti nada C 1/1 atau "1 ketuk"

4. Oktaf
Oktaf standard oktaf ke-4.

Simple Assembly

mov ax, 1234 ; store the decimal number 1234 in ax
mov cx, 0x234 ; store the hex number 0x234 in cx
mov dx, 't' ; store the ASCII code for letter 't' in dx
mov bx, ax ; copy the value of ax into bx, so now bx == 1234


Komponen microsoft excel

Apa saja komponen microsoft excel?
1. Worksheet
2. Sheet
3. Cell

Bagaimana mereferensikan suatu worksheet dari worksheet lain?

Mysql Tutorial3: Use

1. Kamu bisa gunakan MySQL sebagai database bagi aplikasi yang berbasis web contoh: kamu bisa menggunakan MySQL sebagai database backend bagi PHP.

2. Kamu bisa gunakan MySQL sebagai backend dari Microsoft Office. Contoh: kamu bisa mengkoneksikan MySQL dengan microsoft office excel serta access. Tapi kamu harus menginstal software connector dulu ke dalam PC.


Kenapa memilih phpMyAdmin dalam mengelola database MySQL?



MySQL Intermezzo

Verb in MySQL
1. View (melihat) data, keyword select
2. Insert (memasukkan / menyisipkan) data, keyword insert
3. Updating (memperbaharui / memodifikasi) data, keyword update
4. Delete (menghapus) data, keyword: delete
5. Search (mencari) data, keyword: select
6. Advance searching, keyword: select
7. Count (menghitung jumlah) data, keyword select count(*)

Total keyword that used in verb of MySQL: select, insert, update, delete, select count(*) = 5 keywords.

Pada database
1. Create (membuat) database, keyword: create
2. Menggunakan database, keyword: use

Pada tabel
1. Create (membuat) tabel, keyword: create
2.
3. Describe (menjelaskan) apa saja parameter-parameter dari suatu tabel, keyword:

Think sebuah database, kemudian:
What -  nilai apa yang kita mau cari.
How - bagaimana kita dapat mendapatkannya.
Why  - Untuk apa kita mencarinya / kenapa kita mencarinya?