LISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara

Size: px
Start display at page:

Download "LISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara"

Transcription

1 A-1 LISTING PROGRAM mainform.vb Imports System.IO Public Class mainform Private Sub mainform_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load enkripsirb.checked = True browsebtn.enabled = False targettxt.enabled = False Private Sub enkripsirb_checkedchanged(byval sender As System.Object, ByVal e As System.EventArgs) Handles enkripsirb.checkedchanged If enkripsirb.checked Then ekeytxt.enabled = True dkeytxt.enabled = False generatersabtn.enabled = True ykeytxt.enabled = True xkeytxt.enabled = False gkeytxt.enabled = True pkeytxt.enabled = True generateelgamalbtn.enabled = True If sourcetxt.text <> "" Then Dim fdir, fname, fext As String fdir = Path.GetDirectoryName(sourceTxt.Text) fname = Path.GetFileNameWithoutExtension(sourceTxt.Text) fext = Path.GetExtension(sourceTxt.Text) targettxt.text = fdir & "\" & fname & "-encrypt" & Date.Now.ToString("dd-MMM-yyyy, hh mm ss") Private Sub dekripsirb_checkedchanged(byval sender As System.Object, ByVal e As System.EventArgs) Handles dekripsirb.checkedchanged If dekripsirb.checked Then ekeytxt.enabled = False dkeytxt.enabled = True generatersabtn.enabled = False ykeytxt.enabled = False xkeytxt.enabled = True gkeytxt.enabled = False pkeytxt.enabled = True generateelgamalbtn.enabled = False If sourcetxt.text <> "" Then Dim fdir, fname, fext As String fdir = Path.GetDirectoryName(sourceTxt.Text) fname = Path.GetFileNameWithoutExtension(sourceTxt.Text) fext = Path.GetExtension(sourceTxt.Text) targettxt.text = fdir & "\" & fname & "-encrypt" & Date.Now.ToString("dd-MMM-yyyy, hh mm ss") & fext

2 A-2 Private Sub openbtn_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles openbtn.click OpenFileDialog.Title = "Pilih File Citra..." OpenFileDialog.Filter = "JPEG *.jpg BMP *.bmp" OpenFileDialog.ShowDialog() Private Sub prosesbtn_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles prosesbtn.click If enkripsirb.checked Then If (ekeytxt.text <> "") And (nkeytxt.text <> "") And (ykeytxt.text <> "") And (gkeytxt.text <> "") And (pkeytxt.text <> "") And (sourcetxt.text <> "") Then If File.Exists(sourceTxt.Text) Then Dim source As New Bitmap(sourceTxt.Text) Dim target As Bitmap ProgressBar.Maximum = source.width * source.height MsgBox("Proses Enkripsi Algoritma RSA") source = encryptrsa(source, ekeytxt.text, nkeytxt.text) ProgressBar.Maximum = source.width * source.height MsgBox("Proses Enkripsi Algoritma Elgamal") target = encryptelgamal(source, ykeytxt.text, gkeytxt.text, pkeytxt.text) target.save(targettxt.text) targetpb.image = target browsebtn.enabled = True MsgBox("File tidak ditemukan") MsgBox("File atau Kunci Belum Lengkap") If dekripsirb.checked Then If (dkeytxt.text <> "") And (nkeytxt.text <> "") And (xkeytxt.text <> "") And (pkeytxt.text <> "") And (sourcetxt.text <> "") Then If File.Exists(sourceTxt.Text) Then Dim source As New Bitmap(sourceTxt.Text) Dim target As Bitmap ProgressBar.Maximum = source.width * source.height \ 2 MsgBox("Proses Dekripsi Algoritma Elgamal") source = decryptelgamal(source, xkeytxt.text, pkeytxt.text) ProgressBar.Maximum = source.width * source.height \ 2 MsgBox("Proses Dekripsi Algoritma RSA") target = decryptrsa(source, dkeytxt.text, nkeytxt.text) target.save(targettxt.text) targetpb.image = target browsebtn.enabled = True MsgBox("File tidak ditemukan") MsgBox("File atau Kunci Belum Lengkap") Private Sub OpenFileDialog_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog.FileOk

3 A-3 If OpenFileDialog.FileName <> "" Then Dim fdir, fname, fext As String sourcepb.imagelocation = OpenFileDialog.FileName fdir = Path.GetDirectoryName(OpenFileDialog.FileName) fname = Path.GetFileNameWithoutExtension(OpenFileDialog.FileName) fext = Path.GetExtension(OpenFileDialog.FileName) sourcetxt.text = fdir & "\" & fname & fext If enkripsirb.checked Then targettxt.text = fdir & "\" & fname & "-encrypt" & Date.Now.ToString("dd-MMM-yyyy, hh mm ss") & fext If dekripsirb.checked Then targettxt.text = fdir & "\" & fname & "-encrypt" & Date.Now.ToString("dd-MMM-yyyy, hh mm ss") & fext Private Sub generatersabtn_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles generatersabtn.click Me.Enabled = False genrsaform.show() Private Sub generateelgamalbtn_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles generateelgamalbtn.click Me.Enabled = False genelgamalform.show() Private Sub browsebtn_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles browsebtn.click Dim Folder_Path As String = "C:\" If targettxt.text <> "" Then Folder_Path = targettxt.text Folder_Path = Path.GetDirectoryName(Folder_Path) If Directory.Exists(Folder_Path) Then Process.Start("explorer.exe", Folder_Path) End Class genelgamalform.vb Imports System.Numerics Public Class genelgamalform Private Function isprime(byval p As Integer) As Boolean Dim s, n, i As BigInteger Dim prime As Boolean prime = False i = 1 If p = 2 Then s = 0 s = 4 n = BigInteger.Pow(2, p) - 1 Do While (i <= p) s = (BigInteger.Multiply(s, s) - 2) Mod n If s.equals(0) Then

4 A-4 prime = True Exit Do i = i + 1 Loop Return prime Private Sub generateprime(byval max As Integer) Dim exponent As Integer ProgressBar.Maximum = max If max > 1000 Then Dim result As Integer = MessageBox.Show("Mencari Bilangan Prima > 1000 membutuhkan waktu yang lama, Lanjutkan?", " Peringatan", MessageBoxButtons.YesNo) If result = DialogResult.No Then Exit Sub Dim v As Integer = 1 For exponent = 257 To max If isprime(exponent) Then ListBox_p.Items.Add(exponent) ListBox_p.Refresh() ProgressBar.Value = v v = v + 1 Next Private Sub genprimebtn_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles genprimebtn.click Me.Enabled = False generateprime(cint(batasnilaitxt.text)) Me.Enabled = True ListBox_p.Enabled = True Private Sub genelgamalform_formclosed(byval sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed If ListBox_p.SelectedItem <> 0 Or gtxt.text <> "" Or xtxt.text <> "" Or ytxt.text <> "" Then mainform.pkeytxt.text = ListBox_p.SelectedItem.ToString mainform.gkeytxt.text = gtxt.text mainform.xkeytxt.text = xtxt.text mainform.ykeytxt.text = ytxt.text mainform.enabled = True Private Sub keybtn_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles keybtn.click Dim p As Integer = ListBox_p.SelectedItem Dim rnd As New Random Dim g, x, y As BigInteger If ListBox_p.SelectedItem = 0 Then MsgBox("Pilih nilai p") Exit Sub

5 A-5 g = rnd.next(2, p - 1) x = g Do While (x = g) x = rnd.next(1, p - 1) Loop y = BigInteger.ModPow(g, x, p) gtxt.text = g.tostring xtxt.text = x.tostring ytxt.text = y.tostring ListBox_p.Enabled = False End Class genrsaform.vb Imports System.Numerics Public Class genrsaform Private Function isprime(byval p As Integer) As Boolean Dim s, n, i As BigInteger Dim prime As Boolean prime = False i = 1 If p = 2 Then s = 0 s = 4 n = BigInteger.Pow(2, p) - 1 Do While (i <= p) s = (BigInteger.Multiply(s, s) - 2) Mod n If s.equals(0) Then prime = True Exit Do i = i + 1 Loop Return prime Private Sub generateprime(byval max As Integer) Dim exponent As Integer ProgressBar.Maximum = max - 1 If max > 1000 Then Dim result As Integer = MessageBox.Show("Mencari Bilangan Prima > 1000 membutuhkan waktu yang lama, Lanjutkan?", " Peringatan", MessageBoxButtons.YesNo) If result = DialogResult.No Then Exit Sub Dim v As Integer = 1 For exponent = 2 To max If isprime(exponent) Then ListBox_p.Items.Add(exponent) ListBox_q.Items.Add(exponent) ListBox_p.Refresh() ListBox_q.Refresh() ProgressBar.Value = v v = v + 1

6 A-6 Next Private Function gcd(byval x As Integer, ByVal y As Integer) As Integer If x Mod y = 0 Then Return y Return gcd(y, x Mod y) Private Sub genprimebtn_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles genprimebtn.click ListBox_p.Items.Clear() ListBox_q.Items.Clear() ListBox_e.Items.Clear() Me.Enabled = False generateprime(cint(batasnilaitxt.text)) Me.Enabled = True ListBox_p.Enabled = True ListBox_q.Enabled = True Private Sub eprosesbtn_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles eprosesbtn.click Dim p As Integer = ListBox_p.SelectedItem Dim q As Integer = ListBox_q.SelectedItem ListBox_e.Items.Clear() Dim n, t As Integer If ListBox_p.SelectedItem = 0 Or ListBox_q.SelectedItem = 0 Then MsgBox("Pilih nilai p dan q") Exit Sub If p = q Then MsgBox("nilai p sama dengan q") Exit Sub Me.Enabled = False n = p * q t = (p - 1) * (q - 1) If n < 256 Then MsgBox("Untuk mengurangi error, n > 255") Dim v As Integer = 1 ProgressBar.Maximum = t - 1 For i As Integer = 2 To t - 1 If (gcd(i, t) = 1) Then If isprime(i) And i <> p And i <> q Then ListBox_e.Items.Add(i) ProgressBar.Value = v v = v + 1 Next i n1txt.text = n n2txt.text = n Me.Enabled = True

7 A-7 Private Sub dprosesbtn_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles dprosesbtn.click Dim p As Integer = ListBox_p.SelectedItem Dim q As Integer = ListBox_q.SelectedItem Dim ekey As Integer = ListBox_e.SelectedItem If ListBox_e.SelectedItem = 0 Then MsgBox("Pilih nilai e") Exit Sub Me.Enabled = False Dim t As Integer = (p - 1) * (q - 1) Dim dkey As Double Dim k As Integer = 1 ProgressBar.Maximum = ekey Do While (Not dkey.equals(cint(dkey)) Or dkey < 1) dkey = (1 + (k * t)) / ekey k = k + 1 ProgressBar.Value = k Mod ekey Loop etxt.text = ekey dtxt.text = CInt(dkey) Me.Enabled = True Private Sub genrsaform_formclosed(byval sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed If etxt.text <> "" Or dtxt.text <> "" Or n1txt.text <> "" Then mainform.ekeytxt.text = etxt.text mainform.dkeytxt.text = dtxt.text mainform.nkeytxt.text = n1txt.text mainform.enabled = True End Class Elgamal.vb Imports System.Numerics Module Elgamal Public Function encryptelgamal(byval img As Bitmap, ByVal y As Integer, ByVal g As Integer, ByVal p As Integer) As Bitmap Dim result As New Bitmap(img.Width * 2, img.height * 2) Dim rnd As New Random Dim k As Integer = rnd.next(1, p - 2) Dim i1, i2, j1, j2 As Integer j1 = 0 j2 = 1 Dim yk As BigInteger = BigInteger.Pow(y, k) For j As Integer = 0 To img.height - 1 i1 = 0 i2 = 1

8 A-8 For i As Integer = 0 To img.width - 1 Dim rc, gc, bc As Byte Dim er1, er2, eg1, eg2, eb1, eb2 As Integer Dim er11, er12, er21, er22, eg11, eg12, eg21, eg22, eb11, eb12, eb21, eb22 As Byte Dim b16 As String rc = img.getpixel(i, j).r gc = img.getpixel(i, j).g bc = img.getpixel(i, j).b er1 = BigInteger.ModPow(g, k, p) er2 = BigInteger.Multiply(yk, rc) Mod p eg1 = BigInteger.ModPow(g, k, p) eg2 = BigInteger.Multiply(yk, gc) Mod p eb1 = BigInteger.ModPow(g, k, p) eb2 = BigInteger.Multiply(yk, bc) Mod p b16 = Convert.ToString(er1, 2).PadLeft(16, "0"c) er11 = Convert.ToByte(Mid(b16, 1, 8), 2) er12 = Convert.ToByte(Mid(b16, 9, 8), 2) b16 = Convert.ToString(er2, 2).PadLeft(16, "0"c) er21 = Convert.ToByte(Mid(b16, 1, 8), 2) er22 = Convert.ToByte(Mid(b16, 9, 8), 2) b16 = Convert.ToString(eg1, 2).PadLeft(16, "0"c) eg11 = Convert.ToByte(Mid(b16, 1, 8), 2) eg12 = Convert.ToByte(Mid(b16, 9, 8), 2) b16 = Convert.ToString(eg2, 2).PadLeft(16, "0"c) eg21 = Convert.ToByte(Mid(b16, 1, 8), 2) eg22 = Convert.ToByte(Mid(b16, 9, 8), 2) b16 = Convert.ToString(eb1, 2).PadLeft(16, "0"c) eb11 = Convert.ToByte(Mid(b16, 1, 8), 2) eb12 = Convert.ToByte(Mid(b16, 9, 8), 2) b16 = Convert.ToString(eb2, 2).PadLeft(16, "0"c) eb21 = Convert.ToByte(Mid(b16, 1, 8), 2) eb22 = Convert.ToByte(Mid(b16, 9, 8), 2) If er11 > 255 Or eg11 > 255 Or eb11 > 255 Then MsgBox("Nilai RGB 1 Melebihi Nilai Maksimum") If er12 > 255 Or eg12 > 255 Or eb12 > 255 Then MsgBox("Nilai RGB 2 Melebihi Nilai Maksimum") If er21 > 255 Or eg21 > 255 Or eb21 > 255 Then MsgBox("Nilai RGB 3 Melebihi Nilai Maksimum") If er22 > 255 Or eg22 > 255 Or eb22 > 255 Then MsgBox("Nilai RGB 4 Melebihi Nilai Maksimum") result.setpixel(i1, j1, Color.FromArgb(er11, eg11, eb11)) result.setpixel(i2, j1, Color.FromArgb(er21, eg21, eb21)) result.setpixel(i1, j2, Color.FromArgb(er12, eg12, eb12)) result.setpixel(i2, j2, Color.FromArgb(er22, eg22, eb22)) mainform.progressbar.value = mainform.progressbar.value + 1 mainform.persenlbl.text = Format((mainForm.ProgressBar.Value / mainform.progressbar.maximum) * 100, "0.00") & " %" mainform.persenlbl.refresh() i1 = i1 + 2 i2 = i2 + 2 Next i j1 = j1 + 2 j2 = j2 + 2

9 A-9 mainform.targetpb.refresh() Next j Public Function decryptelgamal(byval img As Bitmap, ByVal x As Integer, ByVal p As Integer) As Bitmap Dim result As New Bitmap(img.Width \ 2, img.height \ 2) Dim i1, i2, j1, j2 As Integer j1 = 0 j2 = 1 For j As Integer = 0 To (img.height \ 2) - 1 i1 = 0 i2 = 1 For i As Integer = 0 To (img.width \ 2) - 1 Dim rc, gc, bc As Integer Dim er1, er2, eg1, eg2, eb1, eb2 As BigInteger Dim er11, er12, er21, er22, eg11, eg12, eg21, eg22, eb11, eb12, eb21, eb22 As Byte Dim rx, gx, bx As BigInteger Dim b16a, b16b As String er11 = img.getpixel(i1, j1).r er12 = img.getpixel(i1, j2).r er21 = img.getpixel(i2, j1).r er22 = img.getpixel(i2, j2).r eg11 = img.getpixel(i1, j1).g eg12 = img.getpixel(i1, j2).g eg21 = img.getpixel(i2, j1).g eg22 = img.getpixel(i2, j2).g eb11 = img.getpixel(i1, j1).b eb12 = img.getpixel(i1, j2).b eb21 = img.getpixel(i2, j1).b eb22 = img.getpixel(i2, j2).b b16a = Convert.ToString(er11, 2).PadLeft(8, "0"c) b16b = Convert.ToString(er12, 2).PadLeft(8, "0"c) er1 = Convert.ToInt16(b16a & b16b, 2) b16a = Convert.ToString(er21, 2).PadLeft(8, "0"c) b16b = Convert.ToString(er22, 2).PadLeft(8, "0"c) er2 = Convert.ToInt16(b16a & b16b, 2) b16a = Convert.ToString(eg11, 2).PadLeft(8, "0"c) b16b = Convert.ToString(eg12, 2).PadLeft(8, "0"c) eg1 = Convert.ToInt16(b16a & b16b, 2) b16a = Convert.ToString(eg21, 2).PadLeft(8, "0"c) b16b = Convert.ToString(eg22, 2).PadLeft(8, "0"c) eg2 = Convert.ToInt16(b16a & b16b, 2) b16a = Convert.ToString(eb11, 2).PadLeft(8, "0"c) b16b = Convert.ToString(eb12, 2).PadLeft(8, "0"c) eb1 = Convert.ToInt16(b16a & b16b, 2) b16a = Convert.ToString(eb21, 2).PadLeft(8, "0"c) b16b = Convert.ToString(eb22, 2).PadLeft(8, "0"c) eb2 = Convert.ToInt16(b16a & b16b, 2) rx = BigInteger.Pow(er1, p x) gx = BigInteger.Pow(eg1, p x) bx = BigInteger.Pow(eb1, p x)

10 A-10 rc = er2 * rx Mod p gc = eg2 * gx Mod p bc = eb2 * bx Mod p If rc > 255 Or gc > 255 Or bc > 255 Then MsgBox("Nilai RGB Melebihi Nilai Maksimum : R = " & rc & " G = " & gc & " B = " & bc) result.setpixel(i, j, Color.FromArgb(rc, gc, bc)) mainform.progressbar.value = mainform.progressbar.value + 1 mainform.persenlbl.text = Format((mainForm.ProgressBar.Value / mainform.progressbar.maximum) * 100, "0.00") & " %" mainform.persenlbl.refresh() i1 = i1 + 2 i2 = i2 + 2 Next i j1 = j1 + 2 j2 = j2 + 2 mainform.targetpb.refresh() Next j End Module RSA.vb Imports System.Numerics Module RSA Public Function encryptrsa(byval img As Bitmap, ByVal e As Integer, ByVal n As Integer) As Bitmap Dim result As New Bitmap(img.Width, img.height * 2) Dim j1 As Integer = 0 Dim j2 As Integer = 1 For j As Integer = 0 To img.height - 1 For i As Integer = 0 To img.width - 1 Dim r, g, b, er1, er2, eg1, eg2, eb1, eb2 As Byte Dim er, eg, eb As Integer Dim b16 As String r = img.getpixel(i, j).r g = img.getpixel(i, j).g b = img.getpixel(i, j).b er = BigInteger.ModPow(r, e, n) eg = BigInteger.ModPow(g, e, n) eb = BigInteger.ModPow(b, e, n) b16 = Convert.ToString(er, 2).PadLeft(16, "0"c) er1 = Convert.ToByte(Mid(b16, 1, 8), 2) er2 = Convert.ToByte(Mid(b16, 9, 8), 2) b16 = Convert.ToString(eg, 2).PadLeft(16, "0"c) eg1 = Convert.ToByte(Mid(b16, 1, 8), 2)

11 A-11 eg2 = Convert.ToByte(Mid(b16, 9, 8), 2) b16 = Convert.ToString(eb, 2).PadLeft(16, "0"c) eb1 = Convert.ToByte(Mid(b16, 1, 8), 2) eb2 = Convert.ToByte(Mid(b16, 9, 8), 2) If er1 > 255 Or eg1 > 255 Or eb1 > 255 Then MsgBox("Nilai RGB Melebihi Nilai Maksimum : R = " & er1 & " G = " & eg1 & " B = " & eb1) If er2 > 255 Or eg2 > 255 Or eb2 > 255 Then MsgBox("Nilai RGB 2 Melebihi Nilai Maksimum : R = " & er2 & " G = " & eg2 & " B = " & eb2) result.setpixel(i, j1, Color.FromArgb(er1, eg1, eb1)) result.setpixel(i, j2, Color.FromArgb(er2, eg2, eb2)) mainform.progressbar.value = mainform.progressbar.value + 1 mainform.persenlbl.text = Format((mainForm.ProgressBar.Value / mainform.progressbar.maximum) * 100, "0.00") & " %" mainform.persenlbl.refresh() Next i j1 = j1 + 2 j2 = j2 + 2 mainform.targetpb.refresh() Next j Public Function decryptrsa(byval img As Bitmap, ByVal d As Integer, ByVal n As Integer) As Bitmap Dim result As New Bitmap(img.Width, img.height \ 2) Dim j1 As Integer = 0 Dim j2 As Integer = 1 For j As Integer = 0 To (img.height \ 2) - 1 For i As Integer = 0 To (img.width) - 1 Dim er1, eg1, eb1, er2, eg2, eb2 As Byte Dim dr, dg, db, er, eg, eb As Integer Dim b16a, b16b As String er1 = img.getpixel(i, j1).r er2 = img.getpixel(i, j2).r eg1 = img.getpixel(i, j1).g eg2 = img.getpixel(i, j2).g eb1 = img.getpixel(i, j1).b eb2 = img.getpixel(i, j2).b b16a = Convert.ToString(er1, 2).PadLeft(8, "0"c) b16b = Convert.ToString(er2, 2).PadLeft(8, "0"c) er = Convert.ToInt16(b16a & b16b, 2) b16a = Convert.ToString(eg1, 2).PadLeft(8, "0"c) b16b = Convert.ToString(eg2, 2).PadLeft(8, "0"c) eg = Convert.ToInt16(b16a & b16b, 2) b16a = Convert.ToString(eb1, 2).PadLeft(8, "0"c) b16b = Convert.ToString(eb2, 2).PadLeft(8, "0"c) eb = Convert.ToInt16(b16a & b16b, 2) dr = BigInteger.ModPow(er, d, n) dg = BigInteger.ModPow(eg, d, n) db = BigInteger.ModPow(eb, d, n)

12 A-12 If dr > 255 Or dg > 255 Or db > 255 Then MsgBox("Nilai RGB Melebihi Nilai Maksimum : R = " & dr & " G = " & dg & " B = " & db) result.setpixel(i, j, Color.FromArgb(dr, dg, db)) mainform.progressbar.value = mainform.progressbar.value + 1 mainform.persenlbl.text = Format((mainForm.ProgressBar.Value / mainform.progressbar.maximum) * 100, "0.00") & " %" mainform.persenlbl.refresh() Next i j1 = j1 + 2 j2 = j2 + 2 mainform.targetpb.refresh() Next j End Module

13 A-13 CURRICULUM VITAE Nama Alamat Sekarang Alamat Orang Tua : Ahmad Ihsan : Jl. Bunga Kantil IV No. 77 Padang Bulan, Medan : Jl. Bunga Kantil IV No. 77 Padang Bulan, Medan Tempat/Tgl Lahir : Medan/ 18 Januari 1989 Telp/Hp : ahmadihsan18@yahoo.co.id Riwayat Pendidikan SD Negeri Medan dari Tahun 1995 s/d Tahun 2001 SMP Swasta Dharma Pancasila Medan dari Tahun 2001 s/d Tahun 2004 SMA Negeri 2 Medan dari Tahun 2004 s/d Tahun 2007 dari Tahun 2008 s/d Tahun 2015 Keahlian/Kursus yang diikuti 1. Mampu mengoperasikan aplikasi dasar pada komputer 2. Mampu membangun jaringan internet 3. Mampu mengoperasikan aplikasi Photoshop 4. Mampu mengakses sistem operasi Windows 5. Pengalaman menjadi pengajar jaringan computer di SMK Raksana 6. Pengalaman menjadi teknisi computer

LISTING PROGRAM. a = b; b = c; c = a + b; } fibs.reverse(); for (int i = 0; i < fibs.count; i++) { if (n >= fibs[i]) { n = n - fibs[i];

LISTING PROGRAM. a = b; b = c; c = a + b; } fibs.reverse(); for (int i = 0; i < fibs.count; i++) { if (n >= fibs[i]) { n = n - fibs[i]; A-1 A LISTING PROGRAM 1. Fibonacci Code //membuat fungsi Fibonacci Code public static String GetFibonacciCode(int n) { StringBuilder fib = new StringBuilder("1"); int a, b, c; List fibs = new List();

More information

LISTING PROGRAM. 1. Module SkripsiUmri.py. import sys, operator, codecs, time. class Timer(object): def init (self): self.t1= time.

LISTING PROGRAM. 1. Module SkripsiUmri.py. import sys, operator, codecs, time. class Timer(object): def init (self): self.t1= time. A1 LISTING PROGRAM 1. Module SkripsiUmri.py import sys, operator, codecs, time class Timer(object): def init (self): self.t1= time.time() def getelapsedltime(self): # gets total elapsed from class initialsation

More information

'The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid("8b a5-46bb-a6a9-87b4949d1f4c")>

'The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid(8b a5-46bb-a6a9-87b4949d1f4c)> LAMPIRAN A : LISTING PROGRAM Imports System Imports System.Reflection Imports System.Runtime.InteropServices ' General Information about an assembly is controlled through the following ' set of attributes.

More information

LISTING PROGRAM. private void filetoolstripmenuitem_click(object sender, EventArgs e) { this.hide(); Form2 fr = new Form2(); fr.

LISTING PROGRAM. private void filetoolstripmenuitem_click(object sender, EventArgs e) { this.hide(); Form2 fr = new Form2(); fr. Kode Program Form Home namespace SkripsiLagi public partial class Form9 : Form public Form9() LISTING PROGRAM private void filetoolstripmenuitem_click(object sender, EventArgs e) Form2 fr = new Form2();

More information

A-1 LISTING PROGRAM. 1. Form1.cs. Universitas Sumatera Utara

A-1 LISTING PROGRAM. 1. Form1.cs. Universitas Sumatera Utara A-1 LISTING PROGRAM 1. Form1.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IronPython.Hosting; using Microsoft.Scripting;

More information

LAMPIRAN LISTING PROGRAM

LAMPIRAN LISTING PROGRAM A1 LAMPIRAN LISTING PROGRAM Prototype.m function varargout = prototype(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @prototype_openingfcn,...

More information

LAMPIRAN A: Listing Program

LAMPIRAN A: Listing Program 67 1. Form Menu Utama LAMPIRAN A: Listing Program Public Class MScreen Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Hide() Form1.Show()

More information

Listing Progam. Universitas Sumatera Utara

Listing Progam. Universitas Sumatera Utara 60 Listing Progam Listing Program Tabel Index

More information

LAMPIRAN A : LISTING PROGRAM

LAMPIRAN A : LISTING PROGRAM LAMPIRAN A : LISTING PROGRAM 1. Form Utama (Cover) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text;

More information

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = Label1.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = Label1. 練習問題 1-1 Label1 Label1.Text = Label1.Text + 2 練習問題 1-2 Button2 Label1 Label1.Text = Label1.Text+ 2 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

More information

LISTING PROGRAM. % UIWAIT makes pertama wait for user response (see UIRESUME) % uiwait(handles.figure1);

LISTING PROGRAM. % UIWAIT makes pertama wait for user response (see UIRESUME) % uiwait(handles.figure1); LISTING PROGRAM FORM PERTAMA : function varargout = pertama(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @pertama_openingfcn,...

More information

LISTING PROGRAM. % Edit the above text to modify the response to help cover. % Last Modified by GUIDE v Jun :24:43

LISTING PROGRAM. % Edit the above text to modify the response to help cover. % Last Modified by GUIDE v Jun :24:43 A1 LISTING PROGRAM 1. Form Cover function varargout = cover(varargin) COVER MATLAB code for cover.fig COVER, by itself, creates a new COVER or raises the existing singleton*. H = COVER returns the handle

More information

LAMPIRAN A : LISTING PROGRAM

LAMPIRAN A : LISTING PROGRAM 46 LAMPIRAN A : LISTING PROGRAM 1. Mainform /* * Created by SharpDevelop. * User: User7 * Date: 28/09/2015 * Time: 9:38 * * To change this template use Tools Options Coding Edit Standard Headers. */ using

More information

LAMPIRAN DAFTAR PUBLIKASI ILMIAH PENULIS. No Judul Nama Seminar Tempat Tahun 1 Pemanfaatan Fuzzy Logic Dalam menakar Prestasi

LAMPIRAN DAFTAR PUBLIKASI ILMIAH PENULIS. No Judul Nama Seminar Tempat Tahun 1 Pemanfaatan Fuzzy Logic Dalam menakar Prestasi LAMPIRAN DAFTAR PUBLIKASI ILMIAH PENULIS No Judul Nama Seminar Tempat Tahun 1 Pemanfaatan Fuzzy Logic Dalam menakar Prestasi Konferensi Nasional Pengembangan Siswa Sesuai Standar Teknologi Informasi Kompetensi

More information

Software for Auto-Generating Electrode Block Order Sheet: Study Case in Mold Machining Workshop

Software for Auto-Generating Electrode Block Order Sheet: Study Case in Mold Machining Workshop Journal of Mechanical Engineering and Mechatronics Submitted : 2016-10-03 ISSN: 2527-6212, Vol. 1 No. 2, pp. 106-117 Accepted : 2016-10-07 2016 Pres Univ Press Publication, Indonesia Software for Auto-Generating

More information

PROGRAMMING ASSIGNMENT: MOVIE QUIZ

PROGRAMMING ASSIGNMENT: MOVIE QUIZ PROGRAMMING ASSIGNMENT: MOVIE QUIZ For this assignment you will be responsible for creating a Movie Quiz application that tests the user s of movies. Your program will require two arrays: one that stores

More information

QR Code as Private Key on El Gamal Algorithm

QR Code as Private Key on El Gamal Algorithm QR Code as Private Key on El Gamal Algorithm Ridho Akbarisanto - 13511005 Program Studi Teknik Informatika Sekolah Teknik Elektro dan Informatika Bandung, Indonesia ridho.akbarisanto@yahoo.com Abstract

More information

VB FUNCTIONS AND OPERATORS

VB FUNCTIONS AND OPERATORS VB FUNCTIONS AND OPERATORS In der to compute inputs from users and generate results, we need to use various mathematical operats. In Visual Basic, other than the addition (+) and subtraction (-), the symbols

More information

LAMPIRAN A LISTING PROGRAM

LAMPIRAN A LISTING PROGRAM A-1 LAMPIRAN A LISTING PROGRAM FUNGSI public void StopWatchStart() stopwatch.reset(); stopwatch.start(); Cursor.Current = Cursors.WaitCursor; txtlog.text = ""; public void StopWatchStop(string Title) stopwatch.stop();

More information

Learning VB.Net. Tutorial 19 Classes and Inheritance

Learning VB.Net. Tutorial 19 Classes and Inheritance Learning VB.Net Tutorial 19 Classes and Inheritance Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you

More information

A-1 LAMPIRAN A LISTING PROGRAM. Kode Program Form Main: Universitas Sumatera Utara

A-1 LAMPIRAN A LISTING PROGRAM. Kode Program Form Main: Universitas Sumatera Utara A-1 LAMPIRAN A A LISTING PROGRAM Kode Program Form Main: #Region Project Attributes #ApplicationLabel: Samuel Panjaitan #VersionCode: 1 #VersionName: #SupportedOrientations: portrait #CanInstallToExternalStorage:

More information

Form Connection. Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel

Form Connection. Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel Form Connection Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel Public Class connection '------------------------------------------------ Dim myport As Array

More information

Lampiran 2 MASTER TABEL

Lampiran 2 MASTER TABEL 64 Lampiran 2 MASTER TABEL No. No. Responden Umur Pendidikan Pekerjaan Paritas Kanker 1 427363 35 S1 PNS 4 Tidak 2 504024 36 SMA IRT 4 Tidak 3 500316 35 SMA IRT 5 Tidak 4 504014 35 SMA PNS 1 Tidak 5 447158

More information

LISTING PROGRAM. if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); else gui_mainfcn(gui_state, varargin{:}); end

LISTING PROGRAM. if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); else gui_mainfcn(gui_state, varargin{:}); end A-1 LISTING PROGRAM 1. Form Cover function varargout = cover(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @cover_openingfcn,...

More information

Else. End If End Sub End Class. PDF created with pdffactory trial version

Else. End If End Sub End Class. PDF created with pdffactory trial version Dim a, b, r, m As Single Randomize() a = Fix(Rnd() * 13) b = Fix(Rnd() * 13) Label1.Text = a Label3.Text = b TextBox1.Clear() TextBox1.Focus() Private Sub Button2_Click(ByVal sender As System.Object, ByVal

More information

LAMPIRAN LISTING PROGRAM

LAMPIRAN LISTING PROGRAM LAMPIRAN LISTING PROGRAM Imports System Imports System.IO Imports System.Math Public Class frmutama Dim dicari As DirectoryInfo Dim flpath As String, srcpath As String Dim asnode As Double, dsnode As Double,

More information

COMBINING TABLES. Akademi Audit Negara. CAATs ASAS ACL / 1

COMBINING TABLES. Akademi Audit Negara. CAATs ASAS ACL / 1 COMBINING TABLES CAATs ASAS ACL / 1 OBJEKTIF MODUL Mempelajari kaedah menggabung dan menghubungkan dua atau lebih table bagi mencapai objektif Audit. Mempelajari kaedah menggunakan maklumat yang sedia

More information

Private Sub MenuUtamaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.ShowDialog() End Sub

Private Sub MenuUtamaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.ShowDialog() End Sub LISTING PROGRAM Menu_Utama.vb Public Class FrmUtama Private Sub DataMovieToolStripMenuItem_Click(ByVal sender As DataMovieToolStripMenuItem.Click FrmMovie.ShowDialog() Private Sub DataPeminjamToolStripMenuItem_Click(ByVal

More information

End Sub. Sub Kunci() Dim i As Integer For i = 0 To 4 Txtfield(i).Locked = True Next i grddatagrid.enabled = False End Sub

End Sub. Sub Kunci() Dim i As Integer For i = 0 To 4 Txtfield(i).Locked = True Next i grddatagrid.enabled = False End Sub Source Aplikasi Sistem Informasi Akademik GENERAL Dim db As Connection Dim WithEvents adoprimaryrs1 As Recordset Dim WithEvents adoprimaryrs2 As Recordset Dim WithEvents rscaridata As Recordset Dim cekid

More information

Revision for Final Examination (Second Semester) Grade 9

Revision for Final Examination (Second Semester) Grade 9 Revision for Final Examination (Second Semester) Grade 9 Name: Date: Part 1: Answer the questions given below based on your knowledge about Visual Basic 2008: Question 1 What is the benefit of using Visual

More information

C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions

C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions Between the comments included with the code and the code itself, you shouldn t have any problems understanding what

More information

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals VARIABLES WHAT IS A VARIABLE? A variable is a storage location in the computer s memory, used for holding information while the program is running. The information that is stored in a variable may change,

More information

LAMPIRAN A. LISTING PROGRAM

LAMPIRAN A. LISTING PROGRAM 78 LAMPIRAN A. LISTING PROGRAM Form Login.vb Imports MySql Imports MySql.Data Imports MySql.Data.MySqlClient Public Class FormLogIn Private Sub BtnLoginClick(ByVal sender As System.Object, ByVal e As System.EventArgs)

More information

DRAWING AND MOVING IMAGES

DRAWING AND MOVING IMAGES DRAWING AND MOVING IMAGES Moving images and shapes in a Visual Basic application simply requires the user of a Timer that changes the x- and y-positions every time the Timer ticks. In our first example,

More information

VISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485)

VISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485) 5 Pages VISUAL BASIC PROGRAMMING (44) Technical Task KEY Regional 2013 TOTAL POINTS (485) Graders: Please double-check and verify all scores! Property of Business Professionals of America. May be reproduced

More information

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Polymorphism Objectives After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Definition Polymorphism provides the ability

More information

To enter the number in decimals Label 1 To show total. Text:...

To enter the number in decimals Label 1 To show total. Text:... Visual Basic tutorial - currency converter We will use visual studio to create a currency converter where we can convert a UK currency pound to other currencies. This is the interface for the application.

More information

Learning VB.Net. Tutorial 10 Collections

Learning VB.Net. Tutorial 10 Collections Learning VB.Net Tutorial 10 Collections Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it.

More information

PANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS

PANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS Classroom Reservation User Manual (HEA) PANDUAN PENGGUNA (PENTADBIR SYSTEM/SYSTEM ADMINISTRATOR) (INFOTECH, BPPF DAN POLIS Table of Contents CLASSROOM RESERVATION MANAGEMENT SYSTEM - APLIKASI... 2 Apa

More information

ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11

ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11 ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11 PENILAIAN & KULIAH Kuliah Tugasan Ujian Teori Ujian Amali Isi kandungan 4.8 Menunjukkan asas pengiraan o Subnet Mask o

More information

IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants

IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants These notes are available on the IMS1906 Web site http://www.sims.monash.edu.au Tutorial Sheet 4/Week 5 Please

More information

Mr.Khaled Anwar ( )

Mr.Khaled Anwar ( ) The Rnd() function generates random numbers. Every time Rnd() is executed, it returns a different random fraction (greater than or equal to 0 and less than 1). If you end execution and run the program

More information

S.2 Computer Literacy Question-Answer Book

S.2 Computer Literacy Question-Answer Book S.2 C.L. Half-yearly Examination (2012-13) 1 12-13 S.2 C.L. Question- Answer Book Hong Kong Taoist Association Tang Hin Memorial Secondary School 2012-2013 Half-yearly Examination S.2 Computer Literacy

More information

โปรแกรมช วยทดสอบหม อแปลงกระแส

โปรแกรมช วยทดสอบหม อแปลงกระแส โปรแกรมช วยทดสอบหม อแปลงกระแส 1.เมน ของโปรแกรม ภาพท 1 หน าเมน ของโปรแกรม Public Class frmmain Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

More information

LISTING PROGRAM. namespace vigenere_des { public partial class MainPage : PhoneApplicationPage { public MainPage() { InitializeComponent(); }

LISTING PROGRAM. namespace vigenere_des { public partial class MainPage : PhoneApplicationPage { public MainPage() { InitializeComponent(); } 59 LISTING PROGRAM Form Utama : using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation;

More information

PERU BAHAN PERKHIDMATAN KREDIT DAN PERBANKAN ARAHAN KERJA UNIT KOMPUTER. Tatacara Proses AGM03. BPKP/KJAK-104 Bilangan Semakan : 0 Tarikh :

PERU BAHAN PERKHIDMATAN KREDIT DAN PERBANKAN ARAHAN KERJA UNIT KOMPUTER. Tatacara Proses AGM03. BPKP/KJAK-104 Bilangan Semakan : 0 Tarikh : ARAHAN KERJA UNIT KOMPUTER Tatacara Proses AGM03 BPKP/KJAK-104 Bilangan Semakan : 0 Tarikh : 30.09.13 Disediakan oleh :- Disahkan oleh ;- Pengurus PERU BAHAN Ubahan Muka surat Tarikh Keterangan Diluluskan

More information

LISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent()

LISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent() A-1 LISTING PROGRAM Form Mainform /* * Created by SharpDevelop. * User: Roni Anggara * Date: 5/17/2016 * Time: 8:52 PM * * To change this template use Tools Options Coding Edit Standard Headers. */ using

More information

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS Intended Learning Objectives Able to build a simple Visual Basic Application. 2 The Sub Statement Private Sub ControlName_eventName(ByVal sender As System.Object,

More information

INFORMATION SYSTEM OF LIBRARY AT PONDOK PESANTREN DARUL IHSAN MUHAMMADIYAH SRAGEN

INFORMATION SYSTEM OF LIBRARY AT PONDOK PESANTREN DARUL IHSAN MUHAMMADIYAH SRAGEN INFORMATION SYSTEM OF LIBRARY AT PONDOK PESANTREN DARUL IHSAN MUHAMMADIYAH SRAGEN PUBLIKASI ILMIAH This Final Project is Compiled as a Condition to Complete Bachelor Degree Program at Department of Informatics

More information

DAFTAR PUSTAKA. Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England

DAFTAR PUSTAKA. Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England DAFTAR PUSTAKA Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England Elib.unikom.ac.id, SQL Server, 27 April 2014. Jogiyanto. 2005. Analisis & Desain Sistem Informasi : Pendekatan

More information

Lab 3 The High-Low Game

Lab 3 The High-Low Game Lab 3 The High-Low Game LAB GOALS To develop a simple windows-based game named High-Low using VB.Net. You will use: Buttons, Textboxes, Labels, Dim, integer, arithmetic operations, conditionals [if-then-else],

More information

1. Create your First VB.Net Program Hello World

1. Create your First VB.Net Program Hello World 1. Create your First VB.Net Program Hello World 1. Open Microsoft Visual Studio and start a new project by select File New Project. 2. Select Windows Forms Application and name it as HelloWorld. Copyright

More information

Form Adapter Example. DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date :

Form Adapter Example. DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date : Form Adapter Example DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date : 2009-06-19 Form_Adapter.doc DRAFT page 1 Table of Contents Creating Form_Adapter.vb... 2 Adding the

More information

PERKHIDMATAN KREDIT DAN PERBANKAN PROSEDUR UNIT KOMPUTER. Proses Backup ( Windows) BPKP/KlOK-118 Bilangan Semakan : Q Tarikh :

PERKHIDMATAN KREDIT DAN PERBANKAN PROSEDUR UNIT KOMPUTER. Proses Backup ( Windows) BPKP/KlOK-118 Bilangan Semakan : Q Tarikh : PERKHDMATAN KREDT DAN PERBANKAN PROSEDUR UNT KOMPUTER Proses Backup ( Windows) BPKP/KlOK-118 Bilangan Semakan : Q Tarikh : 30.09.13 Disediakan oleh :- Disahkan oleh :- Pengurus P PERU BAHAN Ubahan Muka

More information

LAMPIRAN. Private Sub FrmSkinDetect_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load IndikatorHandle(False) End Sub

LAMPIRAN. Private Sub FrmSkinDetect_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load IndikatorHandle(False) End Sub 92 LAMPIRAN List Program FDeteksiWajah.vb Imports System.ComponentModel Public Class FDeteksiWajah Private CGen As ClGeneral Dim CWajah As ClDeteksi Dim CShape As New ClShapeA Dim tprogress As Integer

More information

Tutorial, Source code, Request Program Visual Basic

Tutorial, Source code, Request Program Visual Basic Tutorial, Source code, Request Program Visual Basic Oleh : Moh. A Azis Membuat Form Data Barang Program Persediaan Barang Form Data Barang digunakan untuk menyimpan data barang dan memberikan info mengenai

More information

PANDUAN PENGGUNA (PENSYARAH)

PANDUAN PENGGUNA (PENSYARAH) Classroom Reservation User Manual (HEA) PANDUAN PENGGUNA (PENSYARAH) Table of Contents CLASSROOM RESERVATION MANAGEMENT SYSTEM - APLIKASI... 2 Apa itu CRMS?... 2 CRMS Feature Summary... 3 CRMS LOGIN...

More information

LAMPIRAN A LISTINGPROGRAM

LAMPIRAN A LISTINGPROGRAM LAMPIRAN A LISTINGPROGRAM 1. Form Utama (myprogram.fig) function varargout = myprogram(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn',

More information

LISTING CODE A-1. Indo_to_jawa_Fragments.java. package studio.arti.kamusjawaindonesia;

LISTING CODE A-1. Indo_to_jawa_Fragments.java. package studio.arti.kamusjawaindonesia; LISTING CODE A-1 Indo_to_jawa_Fragments.java package studio.arti.kamusjawaindonesia; import android.content.dialoginterface; import android.database.cursor; import android.database.sqlite.sqlitedatabase;

More information

CALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration. MIS 15 Introduction to Business Programming. Programming Assignment 3 (P3)

CALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration. MIS 15 Introduction to Business Programming. Programming Assignment 3 (P3) CALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration MIS 15 Introduction to Business Programming Programming Assignment 3 (P3) Points: 50 Due Date: Tuesday, May 10 The purpose of

More information

Pengenalan Sistem Maklumat Dalam Pendidikan

Pengenalan Sistem Maklumat Dalam Pendidikan Pengenalan Sistem Maklumat Dalam Pendidikan 1 RELATIONSHIP & QUERY DALAM MICROSOFT ACCESS Kandungan Definisi Relationship (Hubungan) Jenis Relationship Membina Relationship Definisi Query dan Fungsi Query

More information

The Implementation of Alert System for LAN Network Monitoring Using the Dude Based

The Implementation of Alert System for LAN Network Monitoring Using the Dude Based IOP Conference Series: Materials Science and Engineering PAPER OPEN ACCESS The Implementation of Alert System for LAN Network Monitoring Using the Dude Based Email To cite this article: E A Z Hamidi et

More information

Universitas Sumatera Utara

Universitas Sumatera Utara Option Explicit DefLng A-Z '--------------------------------------------------------------------------------------------- #Const Test = False '---------------------------------------------------------------------------------------------

More information

How to Validate DataGridView Input

How to Validate DataGridView Input How to Validate DataGridView Input This example explains how to use DR.net to set validation criteria for a DataGridView control on a Visual Studio.NET form. Why You Should Use This To add extensible and

More information

Tutorial 03 understanding controls : buttons, text boxes

Tutorial 03 understanding controls : buttons, text boxes Learning VB.Net Tutorial 03 understanding controls : buttons, text boxes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple

More information

Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init

Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init Option Strict On Imports System.Drawing.Imaging Imports System.Drawing Imports System Imports System.Collections Imports System.Configuration Imports System.Data Imports System.IO Imports System.Web Imports

More information

Panduan Pengguna Autodesk Education Community

Panduan Pengguna Autodesk Education Community Panduan Pengguna Autodesk Education Community ISI KANDUNGAN 1. Mendaftar Akaun Autodesk Education bagi Pelajar, Kakitangan dan Institusi Akademik...1 2. Muat Turun Perisian dan Lesen Autodesk Education

More information

A Complete Tutorial for Beginners LIEW VOON KIONG

A Complete Tutorial for Beginners LIEW VOON KIONG I A Complete Tutorial for Beginners LIEW VOON KIONG Disclaimer II Visual Basic 2008 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been

More information

Déclaration du module

Déclaration du module Déclaration du module Imports System.IO Module ModuleStagiaires Public Structure Stagiaire Private m_code As Long Private m_nom As String Private m_prenom As String Public Property code() As Long Get Return

More information

LISTING PROGRAM. 1. Form Login. Private Sub BATAL_Click() End End Sub

LISTING PROGRAM. 1. Form Login. Private Sub BATAL_Click() End End Sub LISTING PROGRAM 1. Form Login Private Sub BATAL_Click() End Sub Bersih() USERNAME.Text = "" PASSWORD.Text = "" Private Sub Form_Load() Bersih Private Sub OK_Click() Sql = "select*from tbl_login where username='"

More information

LISTING PROGRAM. void KOMPRESIToolStripMenuItemClick(object sender, EventArgs e) { Kompresi k = new Kompresi(); k.show(); this.

LISTING PROGRAM. void KOMPRESIToolStripMenuItemClick(object sender, EventArgs e) { Kompresi k = new Kompresi(); k.show(); this. A - 1 LISTING PROGRAM 1. Form Menu Utama using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace KompresiCitra / / Description of MainForm.

More information

LISTING PROGRAM. 1. Tampilan Awal. 2. Menu Login. Public Class Awal

LISTING PROGRAM. 1. Tampilan Awal. 2. Menu Login. Public Class Awal LISTING PROGRAM 1. Tampilan Awal Public Class Awal Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ProgressBar1.Increment(10) If ProgressBar1.Value

More information

Chapter Ten String Manipulation and Menus

Chapter Ten String Manipulation and Menus Microsoft Visual Basic 2015: Reloaded Sixth Edition Chapter Ten String Manipulation and Menus Objectives After studying this chapter, you should be able to: Determine the number of characters in a string

More information

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources This application demonstrates how a DataGridView control can be

More information

Panduan Menggunakan Autoresponder FreeAutobot.com

Panduan Menggunakan Autoresponder FreeAutobot.com Panduan Menggunakan Autoresponder FreeAutobot.com Dengan memperolehi e-book ini, anda mempunyai kebenaran untuk memberi secara percuma kepada pelanggan anda atau tawarkan sebagai bonus kepada pembelian

More information

IMPLEMENTATION AND PERFORMANCE ANALYSIS OF IDENTITY- BASED AUTHENTICATION IN WIRELESS SENSOR NETWORKS MIR ALI REZAZADEH BAEE

IMPLEMENTATION AND PERFORMANCE ANALYSIS OF IDENTITY- BASED AUTHENTICATION IN WIRELESS SENSOR NETWORKS MIR ALI REZAZADEH BAEE IMPLEMENTATION AND PERFORMANCE ANALYSIS OF IDENTITY- BASED AUTHENTICATION IN WIRELESS SENSOR NETWORKS MIR ALI REZAZADEH BAEE A thesis submitted in fulfilment of the requirements for the award of the degree

More information

My first game. 'function which adds objects with bug tag to bugarray array. Saturday, November 23, :06 AM

My first game. 'function which adds objects with bug tag to bugarray array. Saturday, November 23, :06 AM My first game Saturday, November 23, 2013 5:06 AM Public Class Form1 Dim moveright As Boolean = False Dim moveup As Boolean = False Dim moveleft As Boolean = False Dim movedown As Boolean = False Dim score

More information

DO NOT COPY AMIT PHOTOSTUDIO

DO NOT COPY AMIT PHOTOSTUDIO AMIT PHOTOSTUDIO These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA) All rights

More information

Herefordshire College of Technology Centre Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3)

Herefordshire College of Technology Centre Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3) Student: Candidate Number: Assessor: Len Shand Herefordshire College of Technology Centre 24150 Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3) Course: Unit: Title:

More information

PENDAFTARAN KURSUS SEMESTER 1 (DEP/DEE) SESI DIS 2017

PENDAFTARAN KURSUS SEMESTER 1 (DEP/DEE) SESI DIS 2017 PENDAFTARAN SEMESTER (DEP/DEE) SESI DIS 07 - SEMASA Compulsory DUB0 Compulsory DUE0 Compulsory **DRB000 0 4 Common Core DUW0 5 Common Core DBM0 6 Common Core DBS0 7 Discipline Core DET0 8 Discipline Core

More information

PENGELUARAN PERAKUAN KEKOMPETENAN DAN PERAKUAN KECEKAPAN BARU MENGIKUT STCW 1978, SEPERTI PINDAAN

PENGELUARAN PERAKUAN KEKOMPETENAN DAN PERAKUAN KECEKAPAN BARU MENGIKUT STCW 1978, SEPERTI PINDAAN NOTIS PERKAPALAN MALAYSIA MALAYSIA SHIPPING NOTICE JABATAN LAUT MALAYSIA Marine Department of Malaysia Ibu Pejabat Laut, Peti Surat 12, 42007 Pelabuhan Klang. Tel: 03-33467777 Fax: 03-3168 5289, 3165 2882

More information

DOKUMEN TIDAK TERKAWAL

DOKUMEN TIDAK TERKAWAL Halaman: 1/12 Tujuan : Arahan kerja ini adalah untuk menerangkan tatacara pendaftaran ID Pengguna di dalam Sistem Kewangan SAGA (Standard Accounting for Government Agencies) Universiti Putra Malaysia bagi

More information

Send to: MM Irfan Subakti CC to Muhammad Ryanda Nugraha M with the. IF184401_DAA(F)_MID_NRP_Name.

Send to: MM Irfan Subakti CC to Muhammad Ryanda Nugraha M with the. IF184401_DAA(F)_MID_NRP_Name. IF184401 Design & Analysis of Algorithms (F) Midterm Exam Starting date: 9 March 2019 Deadline: 16 March 2019, 23:59 WIB. Exam type: Open Send to: MM Irfan Subakti CC to Muhammad Ryanda

More information

The New Brew-CQ Synchronous Sockets and Threading

The New Brew-CQ Synchronous Sockets and Threading The New Brew-CQ Synchronous Sockets and Threading Server Topology: The Brew-CQ server is an application written in the new.net compilers from Microsoft. The language of choice is Visual Basic. The purpose

More information

JABATAN KIMIA Kategori Arahan Kerja

JABATAN KIMIA Kategori Arahan Kerja Mukasurat: 1 daripada 13 1. TUJUAN Tujuan prosedur ini dtubuhkan adalah untuk memberikan arahan yang jelas bagi langkah atau tatacara bagaimana menjalankan analisis sampel menggunakan peralatan Gas Chromatography

More information

Visitor Management System

Visitor Management System WWW.VALLINME.COM Visitor Management System Ver 1.0 Mohd Noor Azam 18-03-2015 [Type the abstract of the document here. The abstract is typically a short summary of the contents of the document. Type the

More information

Registration of Supplier (ROS) TM Supplier Registration Renewal via SUS Portal (Pembaharuan Pendaftaran Pembekal TM melalui SUS Portal)

Registration of Supplier (ROS) TM Supplier Registration Renewal via SUS Portal (Pembaharuan Pendaftaran Pembekal TM melalui SUS Portal) TM SUPPLIER REGISTRATION RENEWAL VIA SUPPLIER SELF-SERVICE (SUS) PORTAL USER GUIDE PEMBAHARUAN PENDAFTARAN PEMBEKAL TM MELALUI SUPPLIER SELF-SERVICE (SUS) PORTAL PANDUAN PENGGUNA Getting Started Step by

More information

Blum-Blum-Shub cryptosystem and generator. Blum-Blum-Shub cryptosystem and generator

Blum-Blum-Shub cryptosystem and generator. Blum-Blum-Shub cryptosystem and generator BBS encryption scheme A prime p is called a Blum prime if p mod 4 = 3. ALGORITHM Alice, the recipient, makes her BBS key as follows: BBS encryption scheme A prime p is called a Blum prime if p mod 4 =

More information

[40 marks] [40 marks] Answer all questions. Jawab semua soalan.

[40 marks] [40 marks] Answer all questions. Jawab semua soalan. SULIT 05/ [40 marks] [40 marks] Answer all questions. Jawab semua soalan.. State the digit value of 4 in the number 74 59. Nyatakan nilai digit bagi 4 dalam nombor 74 59. [ mark ] [ markah ]. Diagram shows

More information

LISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent() call. //

LISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent() call. // 1. MainForm.cs using System.Collections.Generic; using System.Drawing; LISTING PROGRAM / / Description of MainForm. / public partial class MainForm : Form public MainForm() The InitializeComponent()

More information

Manual Pengguna. PCN Online Service Fulfillment System

Manual Pengguna. PCN Online Service Fulfillment System System 1 Subjek Muka Surat 1) CARTA ALIR SISTEM 2 2) PERMOHONAN OLEH AGENSI 3 3) PENGESAHAN PERMOHONAN OLEH MAMPU 8 4) LAMPIRAN 13 2 Carta alir sistem 3 PERMOHONAN OLEH AGENSI 4 Membuat permohonan baru

More information

MICROSOFT EXCEL. Membina Hamparan Elektronik Fungsi Hamparan Elektronik

MICROSOFT EXCEL. Membina Hamparan Elektronik Fungsi Hamparan Elektronik MICROSOFT EXCEL Membina Hamparan Elektronik Fungsi Hamparan Elektronik Microsoft Excel 2010 Kandungan Penggunaan Asas Excel Memformat Sel, Lembaran dan Buku Kerja (Work Book) Penggunaan Asas Excel Fail

More information

Private Sub Cours_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Private Sub Cours_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Public Class Cours Private nc As Integer Private Sub Cours_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO : cette ligne de code charge les données dans la table

More information

LAMPIRAN A-2 : LAPORAN PENJUALAN DOKUMEN KELUARAN

LAMPIRAN A-2 : LAPORAN PENJUALAN DOKUMEN KELUARAN LAMPIRAN A-2 : LAPORAN PENJUALAN DOKUMEN KELUARAN LAMPIRAN A-1 : NOTA DOKUMEN KELUARAN LAMPIRAN B MASUKAN SISTEM BERJALAN LAMPIRAN B-1 : DATA BARANG DOKUMEN MASUKAN LAMPIRAN B-2 : DATA PELANGGAN DOKUMEN

More information

Decision Structures. Start. Do I have a test in morning? Study for test. Watch TV tonight. Stop

Decision Structures. Start. Do I have a test in morning? Study for test. Watch TV tonight. Stop Decision Structures In the programs created thus far, Visual Basic reads and processes each of the procedure instructions in turn, one after the other. This is known as sequential processing or as the

More information

Learning VB.Net. Tutorial 16 Modules

Learning VB.Net. Tutorial 16 Modules Learning VB.Net Tutorial 16 Modules Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If

More information

Year 12 : Visual Basic Tutorial.

Year 12 : Visual Basic Tutorial. Year 12 : Visual Basic Tutorial. STUDY THIS Input and Output (Text Boxes) The three stages of a computer process Input Processing Output Data is usually input using TextBoxes. [1] Create a new Windows

More information

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result.

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Simple Calculator In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Let s get started First create a new Visual Basic

More information

Algoritma dan Struktur Data Leon Andretti Abdillah. 08 Control Flow Statements Selection by Using Switch and Case

Algoritma dan Struktur Data Leon Andretti Abdillah. 08 Control Flow Statements Selection by Using Switch and Case Algoritma dan Struktur Data Leon Andretti Abdillah 08 Control Flow Statements Selection by Using Switch and Case Introduction The if statement allows you to select one of two sections of code to execute

More information

LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA

LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA Langkah-langkah penggunaan Software Algoritma Genetika Job Shop : 1. Buka program Algoritma Genetika Job Shop 2. Masukkan data-data yang dibutuhkan

More information