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

Size: px
Start display at page:

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

Transcription

1 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 self.delta=time.time()-self.t1 return '{0:.3f'.format(self.delta) def tobin(x): return "{0:b".format(x) def getfrequence(string): karakter = [] for elemen in string: if elemen not in karakter: karakter.append(elemen) frekuensi = [] for elemen in karakter: hitung = 0 for e in string: if e == elemen: hitung += 1 frekuensi.append(hitung) pairing = [] for i in range(len(karakter)): pairing.append((karakter[i], frekuensi[i])) pairing.sort(key=operator.itemgetter(1), reverse=true) return karakter, frekuensi, pairing def levensteincode(n): nbin = tobin(n) kiri = nbin[0] kanan = nbin[1:] i = 1 M = len(kanan) C = kanan while(m!= 0): nbin = tobin(m) kiri = nbin[0] kanan = nbin[1:] kanan = '0' C = kanan + C M = len(kanan)

2 A2 i += 1 C = '0' + C for x in range(i): C = '1' + C return C def generatorkodelevenstein(jumlahvariasi): LCode = [] for i in range(1, jumlahvariasi+1): LCode.append(levensteinCode(i)) return LCode def levenstein(pairing): lenlcode = len(pairing) LCode = generatorkodelevenstein(lenlcode) sortedchar = [] for i in range(len(pairing)): sortedchar.append(pairing[i][0]) return LCode, sortedchar def readtxt(path): f = codecs.open(path, 'r', encoding = 'UTF-8') data = f.read() return data #print("\ngagal membaca file.") return False def readtxt2(path): '''if (".txt" not in path): path += ".txt"''' f = open(path, 'r') data = f.read() return data #print("\ngagal membaca file.") return False def encodelevenstein(pesan): measure = Timer() karakter, frekuensi, pairing = getfrequence(pesan) LCode, sortedchar = levenstein(pairing) #LCode = LCode[:7] #print(lcode) encoding = [] for e in Pesan: i = sortedchar.index(e) encoding.append(lcode[i]) kode = ''.join(encoding) i = 0 while len(kode) % 7!= 0: kode = kode + '0' i += 1 if i!= 0:

3 A3 bitflag = tobin(i) while len(bitflag) % 7!= 0: bitflag = '0' + bitflag kode = kode + bitflag else: kode = kode + ' ' charkompresi = '' awal = 0 for i in range(7, len(kode)+1, 7): charkompresi += chr(int(kode[awal:i],2)) awal = i elapsedtime = measure.getelapsedltime() return sortedchar, charkompresi, elapsedtime def tulishasilencode(path, encode, listkarakter): # encode = char hasil kompresi # listkarakter = karakter yang sudah tersusun encode = "#*#" + encode for i in range(len(listkarakter)-1, -1, -1): encode = listkarakter[i] + encode with codecs.open(path, "w", encoding = "utf-8") as file: file.write(encode) file.close() #print(path) return len(encode) #print("kesalahan: hasil encode tidak dapat disimpan.") return False def decodelevenstein(karakter, charkompresi): measure = Timer() LCode = generatorkodelevenstein(len(karakter)) biner = '' for e in charkompresi: e = tobin(ord(e)) while len(e) < 7: e = '0' + e biner += e jumlahpenambahan = int(biner[len(biner)-7:],2) biner = biner[:len(biner)-7] if jumlahpenambahan!= 0: for i in range(jumlahpenambahan): biner = biner[:len(biner)] kemungkinan = '' hasil = '' for e in biner: kemungkinan += e if kemungkinan in LCode: hasil += karakter[lcode.index(kemungkinan)] kemungkinan = '' elapsedtime = measure.getelapsedltime() return hasil, elapsedtime

4 A4 def bacafiletext(path, tampilkan): f = open(path, 'r') data = f.read() if(tampilkan == True): print(" FOF ") print(data) print(" EOF ") return data print("\ngagal membaca file.") def bacatext(): path = str(input("nama file = ")) '''if ('\\' not in path): path = "D:\\K U L I A H\\Skripsi\\Belajar\\program python\\kriptografi\\plaintext\\" + path''' '''if (".txt" not in path): path += ".txt"''' return bacafiletext(path, True) pass def readtxtcodec(path): f = codecs.open(path, 'r', encoding = 'UTF-8') data = f.read() return data print("\ngagal membaca file.") def elias_split(value): binary = tobin(value) highest_bit = len(binary) - 1 remaining_bits = binary[1:] return highest_bit, remaining_bits #1-7 def eliasdeltacode(rank): biner = tobin(rank) c = biner [1:] rank = len(biner) biner = tobin(rank) c = biner + c rank = len(biner) - 1 for i in range(rank): c = '0' + c return c

5 A5 def generatorkodeelias(jumlahvariasi): Code = [] for i in range(1, jumlahvariasi+1): Code.append(eliasDeltaCode(i)) return Code def elias(pairing): lencode = len(pairing) #if lencode > 7: # lencode = 7 Code = generatorkodeelias(lencode) sortedchar = [] for i in range(len(pairing)): sortedchar.append(pairing[i][0]) return Code, sortedchar def encodeelias(pesan): measure = Timer() karakter, frekuensi, pairing = getfrequence(pesan) Code, sortedchar = elias(pairing) #print(code) encoding = [] for e in Pesan: i = sortedchar.index(e) encoding.append(code[i]) kode = ''.join(encoding) #print(kode) i = 0 while len(kode) % 7!= 0: kode = '0' + kode i += 1 if i!= 0: bitflag = tobin(i) while len(bitflag) % 7!= 0: bitflag = '0' + bitflag kode = kode + bitflag else: kode = kode + ' ' #print(kode) charkompresi = '' awal = 0 for i in range(7, len(kode)+1, 7): charkompresi += chr(int(kode[awal:i],2)) awal = i elapsedtime = measure.getelapsedltime() return sortedchar, charkompresi, elapsedtime #underconstruction def decodeelias(karakter, charkompresi): measure = Timer() Code = generatorkodeelias(len(karakter)) #print(code) #print(karakter) biner = ''

6 A6 for e in charkompresi: e = tobin(ord(e)) while len(e) < 7: e = '0' + e biner += e #print(biner) #print() jumlahpenambahan = int(biner[len(biner)-7:],2) biner = biner[:len(biner)-7] #print(biner, jumlahpenambahan) #print() #print(jumlahpenambahan) if jumlahpenambahan!= 0: biner = biner[jumlahpenambahan:] #print() #print(biner) kemungkinan = '' hasil = '' for e in biner: kemungkinan += e if kemungkinan in Code: hasil += karakter[code.index(kemungkinan)] kemungkinan = '' elapsedtime = measure.getelapsedltime() return hasil, elapsedtime def tulishasildecode(path, hasil): with codecs.open(path, "w", encoding = "utf-8") as file: file.write(hasil) file.close() return hasil #print("kesalahan: hasil encode tidak dapat disimpan.") return False def dekompres(path): f = codecs.open(path, 'r', encoding = 'UTF-8') data = f.read() #print(data) #f = open(path, 'r') #data = f.read() for i in range(len(data)): if data[i] == '#' and data[i+1] == '*' and data[i+2] == '#': karakter = data[:i] charkompresi = data[i+3:] #print(karakter) break algoritma = path[len(path)-3:] if algoritma == 'lev': hasil, elapsedtime = decodelevenstein(karakter, charkompresi) return hasil, elapsedtime elif algoritma == 'eld': hasil, elapsedtime = decodeelias(karakter, charkompresi)

7 A7 return hasil, elapsedtime #print("\ngagal membaca file.") return False def gerbang(f): if f == 'encodelev': data = readtxt(a) if data == False: data = A sizedata = len(data)/1024 sortedchar, charkompresi, elapsedtime = encodelevenstein(data) sizeafter = tulishasilencode(b, charkompresi, sortedchar) #print(sizeafter) sizeafter = sizeafter/1024 #print(len(data), sizedata, sizeafter) RC = sizedata / sizeafter CR = sizeafter / sizedata * 100 R = CR hasil = str(elapsedtime) + '/' + str(round(rc,3)) + '/' + str(round(cr,3)) + '/' + str(round(r,3)) print(hasil) elif f == 'encodeelias': data = readtxt(a) if data == False: data = A sizedata = len(data)/1024 sortedchar, charkompresi, elapsedtime = encodeelias(data) sizeafter = tulishasilencode(b, charkompresi, sortedchar) sizeafter = sizeafter/1024 RC = sizedata / sizeafter CR = sizeafter / sizedata * 100 R = CR hasil = str(elapsedtime) + '/' + str(round(rc,3)) + '/' + str(round(cr,3)) + '/' + str(round(r,3)) print(hasil) elif f == 'decode': hasil, elapsedtime = dekompres(a) teks = tulishasildecode(b, hasil) decode = hasil + '/' + elapsedtime print(decode) global f f = str(sys.argv[1]) global A A = str(sys.argv[2]) global B B = str(sys.argv[3]) gerbang(f) 2. Fungsi Kompresi Levenstein pada MainForm.cs public void runpythonkompreslevenstein(string data, string lokasisimpan){

8 A8 ProcessStartInfo p = new ProcessStartInfo(); p.filename = "c:\\python33\\python.exe"; p.redirectstandardoutput = true; p.useshellexecute = false; // make sure we can read the output from stdout p.arguments = "skripsiumri.py "+ "encodelev " + "\"" + data + "\" " + "\"" + lokasisimpan + "\""; // start the python program with two parameters try{ using(process exeproc = Process.Start(p)){ StreamReader s = exeproc.standardoutput; String output = s.readtoend(); string r = output; // get the parameter string hasil = r.tostring(); string[] parts = hasil.split('/'); string waktu = parts[0]; string rc = parts[1]; string cr = parts[2]; string redudancy = parts[3]; textboxtimeofcompression.text = waktu + " detik"; textboxcompressionratio.text = cr + " %"; textboxratioofcompression.text = rc; textboxredudancy.text = redudancy + " %"; catch{ //log //throw; MessageBox.Show("Kesalahan melakukan kompresi", "Kesalahan", MessageBoxButtons.OK, MessageBoxIcon.Error); 3. Fungsi Kompresi Elias Delta Code pada MainForm.cs public void runpythonkompreselias(string data, string lokasisimpan){ ProcessStartInfo p = new ProcessStartInfo(); p.filename = "c:\\python33\\python.exe"; p.redirectstandardoutput = true; p.useshellexecute = false; // make sure we can read the output from stdout p.arguments = "skripsiumri.py "+ "encodeelias " + "\"" + data + "\" " + "\"" + lokasisimpan + "\""; // start the python program with two parameters try{ using(process exeproc = Process.Start(p)){ StreamReader s = exeproc.standardoutput; String output = s.readtoend(); string r = output; // get the parameter string hasil = r.tostring(); string[] parts = hasil.split('/'); string waktu = parts[0];

9 A9 detik"; string rc = parts[1]; string cr = parts[2]; string redudancy = parts[3]; textboxtimeofcompression.text = waktu + " textboxcompressionratio.text = cr + " %"; textboxratioofcompression.text = rc; textboxredudancy.text = redudancy + " %"; catch{ //log //throw; MessageBox.Show("Kesalahan melakukan kompresi", "Kesalahan", MessageBoxButtons.OK, MessageBoxIcon.Error); /* * Ratio of Compression : Sebelum / Sesudah * Compession Ratio : ukuran data sebelum / sesudah * 100% * Redudancy : 100% dikurang compression ratio atau 1 - RC (pake percent) * * */ 4. Fungsi Kompres pada MainForm.cs void ButtonKompresiClick(object sender, EventArgs e) { if(string.isnullorwhitespace(textboxsavekompresi.text)){ MessageBox.Show("Destinasi penyimpanan file belum dipilih.", "Kesalahan Kompresi", MessageBoxButtons.OK, MessageBoxIcon.Error); else{ string filesourcepath = textboxfilepath.text.tostring(); string filedestinationpath = textboxsavekompresi.text.tostring(); if(radiobuttonkompresilevenstein.checked){ string ekstensifile = ".lev"; filedestinationpath += ekstensifile; //filedestinationpath = "teslev.txt"; //MessageBox.Show(fileDestinationPath); //runpythonkompres(richtextbox1.text.tostring(), filedestinationpath); runpythonkompreslevenstein(filesourcepath, filedestinationpath); else if(radiobuttonkompresieliasdelta.checked){ string ekstensifile = ".eld"; filedestinationpath += ekstensifile;

10 A10 runpythonkompreselias(filesourcepath, filedestinationpath); else{ MessageBox.Show("Jenis kompresi belum dipilih.", "Kesalahan Kompresi", MessageBoxButtons.OK, MessageBoxIcon.Error); 4. Fungsi Dekompres pada MainForm.cs public void runpythondekompresi(string file, string lokasisimpan){ ProcessStartInfo p = new ProcessStartInfo(); p.filename = "c:\\python33\\python.exe"; p.redirectstandardoutput = true; p.useshellexecute = false; // make sure we can read the output from stdout p.arguments = "skripsiumri.py "+ "decode " + "\"" + file + "\" " + "\"" + lokasisimpan + "\""; // start the python program with two parameters try{ using(process exeproc = Process.Start(p)){ StreamReader s = exeproc.standardoutput; String output = s.readtoend(); string r = output; // get the parameter string hasil = r.tostring(); //MessageBox.Show(hasil); string waktu = hasil.split('/').last(); textboxtimedecode.text = waktu + " detik"; richtextboxdecode.text = hasil.remove(hasil.length - 8, 8); //File.WriteAllText(lokasiSimpan, hasil.remove(hasil.length - 8, 8)); catch{ //log //throw; MessageBox.Show("Kesalahan melakukan dekompresi", "Kesalahan", MessageBoxButtons.OK, MessageBoxIcon.Error);

11 B1 CURRICULUM VITAE umri.erdiansyah umriye Data Pribadi Nama : Umri Erdiansyah Tempat/Tanggal Lahir : Binjai / 13 Oktober 1992 Tinggi/Berat Badan : 174 cm / 88 kg Agama : Islam Kewarganegaraan : Indonesia Alamat Sekarang : Jl. GB Yosua No. 82 A Jati Karya Binjai Alamat Orang Tua : Jl. GB Yosua No. 82 A Jati Karya Binjai Telp/ Hp : umrierdiansyah13@gmail.com Riwayat Pendidikan [ ] : S1 Ilmu Komputer, Medan [ ] : SMA Negeri 1 Binjai [ ] : SMP Negeri 1 Binjai [ ] : SD Negeri Binjai Keahlian/Kursus Keahlian Bahasa : [ ] : Kursus Bahasa Inggris GETS Keahlian Komputer : Pemrograman : Python, C# Database : MysQL

12 B2 Perkantoran : Microsoft Office Pengalaman Organisasi [ ] OSIS SMA Negeri 1 Binjai [ ] Bengkel Sastra Bianglala SMA Negeri 1 Binjai [ ] Anggota Kewirausahaan BKM Al-Khuwarizmi [ ] Anggota Kemahasiswaan IMILKOM Pengalaman Kepanitiaan [2010] Ketua Buka Bersama dan Sahur on the Road BKM Al-Khuwarizmi [2012] Anggota Acara PORSENI IMILKOM 2012 [2012] Anggota Acara PMB IMILKOM Seminar [2014] Seminar Nasional Literasi Informasi SENARAI

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

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

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

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

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

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

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

LISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara 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

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

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

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

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

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. // // TODO: Add constructor code after the InitializeComponent()

LISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent() A- 1 LISTING PROGRAM Form1.cs (Pengirim) /* * Created by SharpDevelop. * User: Lia * Date: 3/13/2017 * Time: 9:43 PM * * To change this template use Tools Options Coding Edit Standard Headers. */ using

More information

% --- Executes on button press in btn_gsn. function btn_gsn_callback(hobject, eventdata, handles) GaussianSpeckleNoise close AiSoftware;

% --- Executes on button press in btn_gsn. function btn_gsn_callback(hobject, eventdata, handles) GaussianSpeckleNoise close AiSoftware; A-2 'gui_openingfcn', @AiSoftware_OpeningFcn,... 'gui_outputfcn', @AiSoftware_OutputFcn,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1});

More information

Listing Progam. Universitas Sumatera Utara

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

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

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

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. void FilteringToolStripMenuItemClick(object sender, EventAr s e) { Filtering a = new Filtering(); this.hide(); a.

LISTING PROGRAM. void FilteringToolStripMenuItemClick(object sender, EventAr s e) { Filtering a = new Filtering(); this.hide(); a. 130 LISTING PROGRAM 1. Mainform.cs using System; using System.Drawing; using System.Windows.Forms; namespace AnalisisPerbandinganFilertingdanDeteksiTepi public partial class MainForm : Form public MainForm()

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

SEBARAN MATAKULIAH PROGRAM STUDI SARJANA TEKNIK SIPIL (S1) DI JURUSAN TEKNIK SIPIL UNIVERSITAS LAMPUNG

SEBARAN MATAKULIAH PROGRAM STUDI SARJANA TEKNIK SIPIL (S1) DI JURUSAN TEKNIK SIPIL UNIVERSITAS LAMPUNG Saturday, November 00 0: - Last Updated Saturday, November 00 0:5 SEBARAN MATAKULIAH PROGRAM STUDI SARJANA TEKNIK SIPIL (S) DI JURUSAN TEKNIK SIPIL UNIVERSITAS LAMPUNG SEMESTER I (SEMESTER GANJIL) KODE

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

Listing Program. private void exittoolstripmenuitem_click(object sender, EventArgs e) { Application.Exit(); }

Listing Program. private void exittoolstripmenuitem_click(object sender, EventArgs e) { Application.Exit(); } Listing Program Kode Program Menu Home: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using

More information

LAMPIRAN 1 PENGARUH KETERSEDIAAN KOLEKSI PERPUSTAKAAN TERHADAP MINAT BACA SISWA SMP NEGERI 30 MEDAN

LAMPIRAN 1 PENGARUH KETERSEDIAAN KOLEKSI PERPUSTAKAAN TERHADAP MINAT BACA SISWA SMP NEGERI 30 MEDAN LAMPIRAN 1 ANGKET PENELITIAN PENGARUH KETERSEDIAAN KOLEKSI PERPUSTAKAAN TERHADAP MINAT BACA SISWA SMP NEGERI 30 MEDAN Saya mengharapkan kesediaan Saudara untuk mengisi angket dalam rangka penelitian tetang

More information

DAFTAR ISI. ABSTRAK... Error! Bookmark not defined. ABSTRACT... Error! Bookmark not defined. KATA PENGANTAR... Error! Bookmark not defined.

DAFTAR ISI. ABSTRAK... Error! Bookmark not defined. ABSTRACT... Error! Bookmark not defined. KATA PENGANTAR... Error! Bookmark not defined. DAFTAR ISI ABSTRAK... Error! Bookmark not ABSTRACT... Error! Bookmark not KATA PENGANTAR... Error! Bookmark not DAFTAR ISI... 64 DAFTAR TABEL... 67 DAFTAR GAMBAR... 68 BAB I PENDAHULUAN... Error! Bookmark

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

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

A-1 LISTING PROGRAM. Halaman Koneksi. Universitas Sumatera Utara

A-1 LISTING PROGRAM. Halaman Koneksi. Universitas Sumatera Utara A-1 LISTING PROGRAM Halaman Koneksi Imports System.Data.OleDb Imports System.Data.OleDb.OleDbCommand Module koneksi Public con As OleDbConnection Public cmd As OleDbCommand Public dtr As OleDbDataReader

More information

LAMPIRAN FORM 1 Universitas Sumatera Universitas Utara

LAMPIRAN FORM 1 Universitas Sumatera Universitas Utara LAMPIRAN FORM 1 Private Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii = vbkeyreturn Then Set tbladministrator = New ADODB.Recordset With tbladministrator.open "SELECT * FROM Administrator WHERE userid

More information

LAMPIRAN A : LISTING PROGRAM

LAMPIRAN A : LISTING PROGRAM LAMPIRAN A : LISTING PROGRAM 1. frmmenu.frm Dim CN As Connection Dim rshapus As Recordset Private Sub DfaHasil_Click() Call frmlap.cetak Private Sub Form_Load() Set CN = New ADODB.Connection CN.ConnectionString

More information

Visualization of Information Based on Tweets from Meteorological, Climatological, and Geophysical Agency: BMKG

Visualization of Information Based on Tweets from Meteorological, Climatological, and Geophysical Agency: BMKG Visualization of Information Based on Tweets from Meteorological, Climatological, and Geophysical Agency: BMKG Mira Chandra Kirana 1*), Amir 2, Muhammad Nashrullah 3 1,2,3 Informatics Engineering Department,

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

UNIVERSITI SAINS MALAYSIA. CPT103/ CPM211 Struktur Data & Paradigma Pengaturcaraan

UNIVERSITI SAINS MALAYSIA. CPT103/ CPM211 Struktur Data & Paradigma Pengaturcaraan UNIVERSITI SAINS MALAYSIA Peperiksaan Kursus Semasa Cuti Panjang Sidang Akademik 2001/2002 April 2002 CPT103/ CPM211 Struktur Data & Paradigma Pengaturcaraan Masa : 3 jam ARAHAN KEPADA CALON: Sila pastikan

More information

LISTING PROGRAM. com.example.jessicatamara.myapplication4;

LISTING PROGRAM. com.example.jessicatamara.myapplication4; A-1 LISTING PROGRAM MainActivity.java package import import import import import import com.example.jessicatamara.myapplication4; android.content.intent; android.support.v7.app.appcompatactivity; android.os.bundle;

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

Final Exam Practice Questions

Final Exam Practice Questions Final Exam Practice Questions Note that while these questions are great practice for the final exam, they do not necessarily cover ever topic or question type that could appear on the exam. You are strongly

More information

LAMPIRAN A PROGRAM FLOWSTONE

LAMPIRAN A PROGRAM FLOWSTONE LAMPIRAN A PROGRAM FLOWSTONE A-1 Tampilan GUI pada FlowStone A-2 Program Tambahan yang Dibuat Untuk Membaca Frekuensi A-3 Program Tambahan yang Dibuat Untuk Menyimpan Data A-4 LAMPIRAN B PROGRAM VISUAL

More information

privateint m, n, smithitemcount, raitaitemcount;

privateint m, n, smithitemcount, raitaitemcount; LISTING PROGRAM /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools Templates * and open the template in the editor. */ package

More information

Panduan Guru Maker UNO/ Arduino

Panduan Guru Maker UNO/ Arduino Panduan Guru Maker UNO/ Arduino Ditulis khas berdasarkan dokumen standard kandungan prestasi subjek Reka Bentuk Teknologi Tingkatan Dua PENDAHULUAN ISI KANDUNGAN ISI KANDUNGAN CADANGAN PENGAGIHAN MASA

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

Comparison of Text Data Compression Using Run Length Encoding, Arithmetic Encoding, Punctured Elias Code and Goldbach Code

Comparison of Text Data Compression Using Run Length Encoding, Arithmetic Encoding, Punctured Elias Code and Goldbach Code Comparison of Text Data Compression Using Run Length Encoding, Arithmetic Encoding, Punctured Elias Code and Goldbach Code Kenang Eko Prasetyo 1, Tito Waluyo Purboyo 2, Randy Erfa Saputra 3 Computer Engineering,

More information

UNIVERSITI SAINS MALAYSIA. CST131 Computer Organisation [Organisasi Komputer]

UNIVERSITI SAINS MALAYSIA. CST131 Computer Organisation [Organisasi Komputer] UNIVERSITI SAINS MALAYSIA First Semester Examination 2015/2016 Academic Session December 2015/January 2016 CST131 Computer Organisation [Organisasi Komputer] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara 67 LAMPIRAN Lampiran A-1 Listing Program Visual Basic Private Sub mn_isidata_click() frm_isi_data.show Me.Hide Private Sub mn_koneksiport_click() frm_koneksi_port.show Me.Hide Private Sub mn_tentang_click()

More information

An Implementation of RC4 + Algorithm and Zig-zag Algorithm in a Super Encryption Scheme for Text Security

An Implementation of RC4 + Algorithm and Zig-zag Algorithm in a Super Encryption Scheme for Text Security Journal of Physics: Conference Series PAPER OPEN ACCESS An Implementation of RC4 + Algorithm and Zig-zag Algorithm in a Super Encryption Scheme for Text Security To cite this article: M A Budiman et al

More information

belajar html5 158E7F2D743EA866244C3EE391F064DC Belajar Html5 1 / 6

belajar html5 158E7F2D743EA866244C3EE391F064DC Belajar Html5 1 / 6 Belajar Html5 1 / 6 2 / 6 3 / 6 Belajar Html5 HTML specifications HTML5.2 https://www.w3.org/tr/html52/ HTML5.1 2nd Edition https://www.w3.org/tr/html51/ HTML AAM https://www.w3.org/tr/html-aam-1.0/ W3C

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

KARTU BIMBINGAN TUGAS AKHIR MAHASISWA PEMBAHASAN PADA ASISTENSI MENGENAI, PADA BAB

KARTU BIMBINGAN TUGAS AKHIR MAHASISWA PEMBAHASAN PADA ASISTENSI MENGENAI, PADA BAB 62 KEMENTERIAN PENDIDIKAN NASIONAL UNIVERSITAS SUMATERA UTARA FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM Jl. Bioteknologi No.1 Kampus USU Padang Bulan Medan 20155 Telp. (061) 8211050, 8214290, Fax (061)

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

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

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

2018/2/5 话费券企业客户接入文档 语雀

2018/2/5 话费券企业客户接入文档 语雀 1 2 2 1 2 1 1 138999999999 2 1 2 https:lark.alipay.com/kaidi.hwf/hsz6gg/ppesyh#2.4-%e4%bc%81%e4%b8%9a%e5%ae%a2%e6%88%b7%e6%8e%a5%e6%94%b6%e5%85%85%e5 1/8 2 1 3 static IAcsClient client = null; public static

More information

Cosine Similarity Measurement for Indonesian Publication Recommender System

Cosine Similarity Measurement for Indonesian Publication Recommender System Journal of Telematics and Informatics (JTI) Vol.5, No.2, September 2017, pp. 56~61 ISSN: 2303-3703 56 Cosine Similarity Measurement for Indonesian Publication Recommender System Darso, Imam Much Ibnu Subroto,

More information

Modul Asas JavaServer Pages

Modul Asas JavaServer Pages Modul Asas JavaServer Pages Kursus ini dikendalikan oleh: Dr Fatimah Sidi Jabatan Sains Komputer Fakulti Sains Komputer dan Teknologi Maklumat Kandungan Modul 1.0 Pengenalan... 2 2.0 Objektif... 2 3.0

More information

Application of Binary And Hexadesimal Conversion Conservation in Motif Design Weaving

Application of Binary And Hexadesimal Conversion Conservation in Motif Design Weaving Quest Journals Journal of Research in Mechanical Engineering Volume 3 ~ Issue 5 (2017) pp: 25-33 ISSN(Online) : 2321-8185 www.questjournals.org Research Paper Application of Binary And Hexadesimal Conversion

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

MSS 317 Coding Theory [Teori Pengekodan]

MSS 317 Coding Theory [Teori Pengekodan] ` UNIVERSITI SAINS MALAYSIA First Semester Examination 01/01 Academic Session January 01 MSS 17 Coding Theory [Teori Pengekodan] Duration : hours [Masa : jam] Please check that this examination paper consists

More information

Pertandingan Abilympics Kemahiran Hidup dan Leisure

Pertandingan Abilympics Kemahiran Hidup dan Leisure Pertandingan Abilympics Kemahiran Hidup dan Leisure V2. Computer Assembly 1. Tugasan Memasang komputer peribadi dengan rujukan kepada diagram, dan mengkonfigurasi latar BIOS (configure the BIOS setting)

More information

Analysis of System Requirements of Go-Edu Indonesia Application as a Media to Order Teaching Services and Education in Indonesia

Analysis of System Requirements of Go-Edu Indonesia Application as a Media to Order Teaching Services and Education in Indonesia IOP Conference Series: Materials Science and Engineering PAPER OPEN ACCESS Analysis of System Requirements of Go-Edu Indonesia Application as a Media to Order Teaching Services and Education in Indonesia

More information

INSTRUCTION: This section consists of FOUR (4) questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi EMPAT (4) soalan. Jawab SEMUA soalan.

INSTRUCTION: This section consists of FOUR (4) questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi EMPAT (4) soalan. Jawab SEMUA soalan. SECTION B: 70 MARKS BAHAGIAN B: 70 MARKAH INSTRUCTION: This section consists of FOUR (4) questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi EMPAT (4) soalan. Jawab SEMUA soalan. QUESTION

More information

Jaringan Komputer (IF8505) Pengamanan jaringan komputer. Cryptography

Jaringan Komputer (IF8505) Pengamanan jaringan komputer. Cryptography Jaringan Komputer (IF8505) Pengamanan jaringan komputer Cryptography Introduction to Cryptography Substitution Ciphers Transposition Ciphers One-Time Pads Two Fundamental Cryptographic Principles Intro

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

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

Final Exam(sample), Fall, 2014

Final Exam(sample), Fall, 2014 Final Exam(sample), Fall, 2014 Date: Dec 4 th, 2014 Time: 1.25 hours (1.00 a.m. 2:15 p.m.) Total: 100 points + 20 bonus Problem 1 T/F 2 Choice 3 Output Points 16 16 48 4 Programming 20 5 Bonus 20 Total

More information

DAFTAR ISI. HALAMAN JUDUL... Error! Bookmark not defined. LEMBAR PERSETUJUAN... Error! Bookmark not defined.

DAFTAR ISI. HALAMAN JUDUL... Error! Bookmark not defined. LEMBAR PERSETUJUAN... Error! Bookmark not defined. DAFTAR ISI Hlm HALAMAN JUDUL... Error! Bookmark not LEMBAR PERSETUJUAN... Error! Bookmark not LEMBAR PENGESAHAN... Error! Bookmark not LEMBAR PERSEMBAHAN... Error! Bookmark not ABSTRAK... Error! Bookmark

More information

Written by Mazuki Izani Thursday, 02 August :00 - Last Updated Tuesday, 03 February :54

Written by Mazuki Izani Thursday, 02 August :00 - Last Updated Tuesday, 03 February :54 Alhamdulillah, dalam keadaan serba kekurangan dan dengan ilmu yang sedikit ini telah berjaya menghasilkan perisian sendiri iaitu Kamus Kata Kerja daripada bahasa Inggeris ke bahasa Arab. Berbekalkan kursus

More information

Comparative Analysis of Sequitur Algorithm with Adaptive Huffman Coding Algorithm on Text File Compression with Exponential Method

Comparative Analysis of Sequitur Algorithm with Adaptive Huffman Coding Algorithm on Text File Compression with Exponential Method 2017 IJSRST Volume 3 Issue 8 Print ISSN: 2395-6011 Online ISSN: 2395-602X Themed Section: Science and Technology Comparative Analysis of Sequitur Algorithm with Adaptive Huffman Coding Algorithm on Text

More information

BerbaktidanBerkaryaUntukIndonesia

BerbaktidanBerkaryaUntukIndonesia RilisPers SilaturahmidanAudiensi BadanPengurusPusatPersatuanMahasiswadanAlumniBidikmisi Nasional KeKementerianRisetTeknologidanPendidikanTinggi Assalaamu alaikum WarahmatulaahiWabarakaatuuh Salam Sejahterauntukkitasemua

More information

CIS192 Python Programming

CIS192 Python Programming CIS192 Python Programming Generators Exceptions and IO Eric Kutschera University of Pennsylvania February 13, 2015 Eric Kutschera (University of Pennsylvania) CIS 192 February 13, 2015 1 / 24 Outline 1

More information

DAFTAR PUSTAKA. [2] Prof.Dr. Richard Sethmann Access Control Lists CCNA 2 (ACLs).German.

DAFTAR PUSTAKA. [2] Prof.Dr. Richard Sethmann Access Control Lists CCNA 2 (ACLs).German. DAFTAR PUSTAKA [1] Nahush Kulkarni 1, Harsh Kothari 2, Hardik Ashar 3, sanchit Patil 4 2015. International Journal for Research in Applied Science & Engineering Technology (IJRASET) Mumbay University.

More information

Python review. 1 Python basics. References. CS 234 Naomi Nishimura

Python review. 1 Python basics. References. CS 234 Naomi Nishimura Python review CS 234 Naomi Nishimura The sections below indicate Python material, the degree to which it will be used in the course, and various resources you can use to review the material. You are not

More information

Indexing. UCSB 290N. Mainly based on slides from the text books of Croft/Metzler/Strohman and Manning/Raghavan/Schutze

Indexing. UCSB 290N. Mainly based on slides from the text books of Croft/Metzler/Strohman and Manning/Raghavan/Schutze Indexing UCSB 290N. Mainly based on slides from the text books of Croft/Metzler/Strohman and Manning/Raghavan/Schutze All slides Addison Wesley, 2008 Table of Content Inverted index with positional information

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

Pengguna akan diberikan Username dan Password oleh Administrator untuk login sebagai admin/conference Manager bagi conference yang akan diadakan.

Pengguna akan diberikan Username dan Password oleh Administrator untuk login sebagai admin/conference Manager bagi conference yang akan diadakan. Conference Manager Roles Guide - PENGGUNA MANUAL Login. Pengguna akan diberikan Username dan Password oleh Administrator untuk login sebagai admin/conference Manager bagi conference yang akan diadakan.

More information

LISTING PROGRAM. frmmenu.vb. frmlogin.vb. Universitas Sumatera Utara. Public Class frmmenu

LISTING PROGRAM. frmmenu.vb. frmlogin.vb. Universitas Sumatera Utara. Public Class frmmenu LISTING PROGRAM frmmenu.vb Public Class frmmenu Private Sub QuitToolStripMenuItem_Click(ByVal sender As QuitToolStripMenuItem.Click Close() Private Sub OtoritasToolStripMenuItem_Click(ByVal sender As OtoritasToolStripMenuItem.Click

More information

Getting started with Java

Getting started with Java Getting started with Java by Vlad Costel Ungureanu for Learn Stuff Programming Languages A programming language is a formal constructed language designed to communicate instructions to a machine, particularly

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

Pattern Matching. Dr. Andrew Davison WiG Lab (teachers room), CoE

Pattern Matching. Dr. Andrew Davison WiG Lab (teachers room), CoE 240-301, Computer Engineering Lab III (Software) Semester 1, 2006-2007 Pattern Matching Dr. Andrew Davison WiG Lab (teachers room), CoE ad@fivedots.coe.psu.ac.th Updated by: Dr. Rinaldi Munir, Informatika

More information

Universitas Sumatera Utara A-1 LISTING PROGRAM. Menu Enkripsi. package com.example.program;

Universitas Sumatera Utara A-1 LISTING PROGRAM. Menu Enkripsi. package com.example.program; A-1 LISTING PROGRAM Menu Enkripsi package com.example.program; import java.io.file; import java.io.fileinputstream; import java.io.filenotfoundexception; import java.io.fileoutputstream; import java.io.ioexception;

More information

PART A SULIT (EKT 221) BAHAGIAN A. Answer ALL questions. Question 1. a) Briefly explain the concept of Clock Gating.

PART A SULIT (EKT 221) BAHAGIAN A. Answer ALL questions. Question 1. a) Briefly explain the concept of Clock Gating. PART A BAHAGIAN A Answer ALL questions. Jawab SEMUA soalan. Question Soalan a) Briefly explain the concept of Clock Gating. [Terangkan secara ringkas konsep Selakan Denyut.] [2 Marks/Markah] b) Define

More information

Analysis of Algorithms 1 / 18

Analysis of Algorithms 1 / 18 Analysis of Algorithms 1 / 18 Outline 1 Complexity of Algorithms 2 Time Complexity 3 Space Complexity 2 / 18 Complexity of Algorithms Questions that arise when we write programs that process large amounts

More information

LISTING PROGRAM. Source Code Tampilan Awal. Source Code Menu Utama

LISTING PROGRAM. Source Code Tampilan Awal. Source Code Menu Utama LISTING PROGRAM Source Code Tampilan Awal Private Sub cmdkeluar_click() MsgBox "Terima Kasih Telah Membuka Program Ini.", vbinformation, "Quick IP Ver 1.0" End Private Sub cmdmasuk_click() MenuUtama.Show

More information

LAMPIRAN LIST PROGRAM

LAMPIRAN LIST PROGRAM LAMPIRAN LIST PROGRAM 1. Modules Public conn As New ADODB.Connection Public rstb_pendekatan As ADODB.Recordset Public rstb_solusi As ADODB.Recordset Public rstb_alasan As ADODB.Recordset Public rstb_pilihan

More information

UNIVERSITI SAINS MALAYSIA. CST131 Computer Organisation [Organisasi Komputer]

UNIVERSITI SAINS MALAYSIA. CST131 Computer Organisation [Organisasi Komputer] UNIVERSITI SAINS MALAYSIA First Semester Examination 2016/2017 Academic Session December 2016 / January 2017 CST131 Computer Organisation [Organisasi Komputer] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS

More information

L1/L2 NETWORK PROTOCOL TESTING

L1/L2 NETWORK PROTOCOL TESTING L1/L2 NETWORK PROTOCOL TESTING MODULE 1 : BASIC OF NETWORKING OSI Model TCP/IP Layers Service data unit & protocol data unit Protocols and standards Network What is network & Internet Network core circuit

More information

Arrays and Basic Algorithms

Arrays and Basic Algorithms Software and Programming I Arrays and Basic Algorithms Roman Kontchakov / Carsten Fuhs Birkbeck, University of London Outline Arrays Common Array Algorithms Enhanced for Loop Using Arrays with Methods

More information

Part 1 (80 points) Multiple Choice Questions (20 questions * 4 points per question = 80 points)

Part 1 (80 points) Multiple Choice Questions (20 questions * 4 points per question = 80 points) EECS 183 Fall 2013 Exam 1 Part 1 (80 points) Closed Book Closed Notes Closed Electronic Devices Closed Neighbor Turn off Your Cell Phones We will confiscate all electronic devices that we see including

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

ICT SPM 2011 SUGGESTION ANSWER. Section A

ICT SPM 2011 SUGGESTION ANSWER. Section A ICT SPM 2011 SUGGESTION ANSWER Section A NO SOALAN 1 i Computer ethic / ethic ii Computer law / law 2 ii 4 iv 2 3 Output 4 True 5 Gigabyte / GB 6 i Operating ii Application 7 B / D D / B 8 B 9 A 10 i Radio

More information

Pemrograman Jaringan Web Client Access PTIIK

Pemrograman Jaringan Web Client Access PTIIK Pemrograman Jaringan Web Client Access PTIIK - 2012 In This Chapter You'll learn how to : Download web pages Authenticate to a remote HTTP server Submit form data Handle errors Communicate with protocols

More information

Semasa buku ini ditulis XAMPP mengandungi empat versi:

Semasa buku ini ditulis XAMPP mengandungi empat versi: Lab 1 PEMASANGAN PELAYAN WEB XAMPP 1.0 Pengenalan Di dalam topik ini kita akan menggunakan pelayan web yang berasaskan sumber terbuka XAMPP Windows 1.8.0. Kenapa Pelayan Web Xampp digunakan kerana bukannya

More information

CS Programming Languages: Python

CS Programming Languages: Python CS 3101-1 - Programming Languages: Python Lecture 5: Exceptions / Daniel Bauer (bauer@cs.columbia.edu) October 08 2014 Daniel Bauer CS3101-1 Python - 05 - Exceptions / 1/35 Contents Exceptions Daniel Bauer

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

UNIVERSITI SAINS MALAYSIA. CPT113 Programming Methodology & Data Structures [Metodologi Pengaturcaraan & Struktur Data]

UNIVERSITI SAINS MALAYSIA. CPT113 Programming Methodology & Data Structures [Metodologi Pengaturcaraan & Struktur Data] UNIVERSITI SAINS MALAYSIA First Semester Examination 2016/2017 Academic Session December 2016 / January 2017 CPT113 Programming Methodology & Data Structures [Metodologi Pengaturcaraan & Struktur Data]

More information

Cara Login Ke CPanel Hosting.

Cara Login Ke CPanel Hosting. Cara Login Ke CPanel Hosting. Perkara pertama yang perlu dibuat setelah mendapat akaun web hosting adalah anda perlu log masuk ke web hosting cpanel bagi membuat proses instalasi. Pengguna akan menerima

More information

Lecture 27. Lecture 27: Regular Expressions and Python Identifiers

Lecture 27. Lecture 27: Regular Expressions and Python Identifiers Lecture 27 Lecture 27: Regular Expressions and Python Identifiers Python Syntax Python syntax makes very few restrictions on the ways that we can name our variables, functions, and classes. Variables names

More information

Midterm Exam II MCS 275 Programming Tools 14 March 2017

Midterm Exam II MCS 275 Programming Tools 14 March 2017 NAME: answers The exam is closed book, no notes and no computer. All your answers to the questions below must be submitted on paper. Write your name on this sheet and submit it with your answers. Please

More information

Midterm 1 Review. Important control structures. Important things to review. Functions Loops Conditionals

Midterm 1 Review. Important control structures. Important things to review. Functions Loops Conditionals Midterm 1 Review Important control structures Functions Loops Conditionals Important things to review Binary numbers Boolean operators (and, or, not) String operations: len, ord, +, *, slice, index List

More information

FILE HANDLING AND EXCEPTIONS

FILE HANDLING AND EXCEPTIONS FILE HANDLING AND EXCEPTIONS INPUT We ve already seen how to use the input function for grabbing input from a user: input() >>> print(input('what is your name? ')) What is your name? Spongebob Spongebob

More information

Files. Files need to be opened in Python before they can be read from or written into Files are opened in Python using the open() built-in function

Files. Files need to be opened in Python before they can be read from or written into Files are opened in Python using the open() built-in function Files Files File I/O Files need to be opened in Python before they can be read from or written into Files are opened in Python using the open() built-in function open(file, mode='r', buffering=-1, encoding=none,...

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