Quis Pertemuan 4

1. Pertanyaan :

Tugas/Soal

alamat awal index berada di 0111 ( H) X[3][2]

ukuran memory type data long integer = 4

Jumlah Elemen Per Baris (N) = 4

Secara Baris Per Baris (Row Major Oder / RMO)

@M[i][j] = @M[0][0] + {(i – 1) * N + (j – 1)} * L

Jumlah Elemen Per Kolom (K) = 5

Secara Kolom Per Kolom (Coloumn Major Oder / CMO)

@M[i][j] = @M[0][0] + {(j – 1) * K + (i – 1)} * L

2. Status :

Tercapai (100%).

3. Keterangan :

Saya sudah menyelesaikan tugas ini.

4. Bukti :

Secara baris per baris

@M[i][j] = @M[0][0] + {( i – 1) * N + ( j – 1 )} * L

kkkkkkk= 0111(H) + {( 3 – 1 ) * 4 + ( 2 – 1)} * 4

kkkkkkk= 0111(H) + 36(D)                        36(D) = 24(H)

kkkkkkk= 0111(H) + 24(H)

kkkkkkk= 0135(H)

Secara elemen per kolom

@M[i][j] = @M[0][0] + {( j – 1 ) * K + ( i – 1 )} * L

kkkkkkk= 0111(H) + {( 2 – 1 ) * 5 + ( 3 – 1 )} * 4

kkkkkkk= 0111(H) + 28(D)                        28(D) = 1C(H)

kkkkkkk= 0111(H) + 1C(H)

kkkkkkk= 012D(H)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s