LAMPIRAN A LISTING PROGRAM

Size: px
Start display at page:

Download "LAMPIRAN A LISTING PROGRAM"

Transcription

1 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(); lblwaktu.text = Title; txtwaktu.text = stopwatch.elapsed.tostring(); Cursor.Current = Cursors.Arrow; public string tobiner(int desimal, int digit) string biner = ""; string buf = ""; int hasilbagi = desimal; int p, sisa; while (hasilbagi > 1) if (hasilbagi % 2 == 1) hasilbagi -= 1; hasilbagi = hasilbagi / 2; biner = "1" + biner; else hasilbagi = hasilbagi / 2; biner = "0" + biner; biner = hasilbagi + biner; p = biner.length / 8; sisa = biner.length % 8; if (sisa!= 0) p += 1; if (biner.length < (p * 8)) for (int i = 1; i <= (p * 8) - biner.length; i++) buf += "0"; if (digit > 0) //biner = buf + biner;

2 A-2 int len = biner.count(); if (digit > len) for (int i = 0; i < digit - len; i++) biner = "0" + biner; return biner; public int todecimal(string biner) int result = 0; int num = 0; for (int i = 1; i <= biner.length; i++) num = biner[i - 1] - 48; result += Convert.ToInt16(Math.Pow(2, biner.length - i)) * num; return result; KARAKTER SET public string BuatKarakterSet(String Teks) String R = ""; Boolean Yes; for (int i = 0; i < Teks.Length; i++) Yes = false; for (int j = 0; j < R.Length; j++) if (Teks[i] == R[j]) Yes = true; break; if (Yes == false) R += Teks[i]; return R; // Hitung Frekuensi Karakter public List<clsUnary> HitungFreqKarakter(String PT, String KS) List<clsUnary> R = new List<clsUnary>(); int Freq; for (int j = 0; j < KS.Length; j++) Freq = 0; for (int i = 0; i < PT.Length; i++)

3 A-3 if (KS[j] == PT[i]) Freq += 1; R.Add(new clsunary(ks[j], Freq)); return R; public List<clsUnary> UrutkanKS(List<clsUnary> L, char Arah) char Kar; int Freq; if (Arah == 'A') for (int j = 0; j < L.Count - 1; j++) for (int i = j + 1; i < L.Count; i++) if (L[j].Freq > L[i].Freq) Kar = L[j].Kar; Freq = L[j].Freq; L[j].Kar = L[i].Kar; L[j].Freq = L[i].Freq; L[i].Kar = Kar; L[i].Freq = Freq; else if (Arah == 'Z') for (int j = 0; j < L.Count - 1; j++) for (int i = j + 1; i < L.Count; i++) if (L[j].Freq < L[i].Freq) Kar = L[j].Kar; Freq = L[j].Freq; L[j].Kar = L[i].Kar; L[j].Freq = L[i].Freq; L[i].Kar = Kar; L[i].Freq = Freq; return L; public List<clsUnary> BuatKode(List<clsUnary> L) string temp; for (int j = 0; j < L.Count; j++) temp = ""; for (int i = 0; i < j; i++) temp += "1"; temp += "0"; L[j].Kode = temp;

4 A-4 return L; public List<clsUnary> BuatKodeDelta(List<clsUnary> L) string temp; int N, S; for (int j = 0; j < L.Count; j++) temp = ""; temp += tobiner(j + 1, 0); L[j].Kode = temp.remove(0, 1); N = temp.length; L[j].Kode = tobiner(n, 0) + L[j].Kode; S = tobiner(n, 0).Length - 1; for (int i = 0; i < S; i++) L[j].Kode = "0" + L[j].Kode; return L; KOMPRESI public void Kompres() int Pad; Log = ""; CB = new List<string>(); CT = ""; CTB = ""; JlhBit_CT = 0; UN = HitungFreqKarakter(PT, KS); UN = UrutkanKS(UN, 'Z'); if (rdbelias.checked) UN = BuatKodeDelta(UN); else if (rdbunary.checked) UN = BuatKode(UN); for (int j = 0; j < PT.Count(); j++) for (int i = 0; i < UN.Count(); i++) if (PT[j] == UN[i].Kar) CB.Add(UN[i].Kode); break;

5 A-5 // Buat Compressed Binary for (int i = 0; i < CB.Count(); i++) CTB += CB[i]; JlhBit_CT += CB[i].Count(); JlhKarCB = Convert.ToInt16(Math.Ceiling(Convert.ToDouble(JlhBit_CT) / 8)); // Buat Compressed Text string b = ""; b = CTB.Substring((JlhKarCB - 1) * 8, JlhBit_CT - ((JlhKarCB - 1) * 8)); int x = b.length; Pad = 8 - x; for (int i = 0; i < Pad; i++) CTB += '1'; CBytes = new byte[jlhkarcb + 1]; for (int i = 0; i < JlhKarCB; i++) b = CTB.Substring(i * 8, 8); CT += Convert.ToChar(toDecimal(b)); CBytes[i] = Convert.ToByte(toDecimal(b)); CT += Convert.ToChar(Pad + 48); CTB += tobiner(pad + 48, 8); // Simpan ke Array Byt for (int i = 0; i < CT.Count(); i++) CBytes[i] = Convert.ToByte(CT[i]); // Cetak Hasil for (int i = 0; i < UN.Count; i++) Log += UN[i].Kar + "\t" + UN[i].Freq + "\t" + UN[i].Kode + "\n"; RC = Convert.ToDouble(CTB.Count() / 8) / Convert.ToDouble(PjgTeks); RC = Convert.ToDouble(String.Format("0:0.0000", RC)); CR = Convert.ToDouble(CTB.Count() / 8) / Convert.ToDouble(PjgTeks) * 100; CR = Convert.ToDouble(String.Format("0:0.00", CR)); Red = Convert.ToDouble(PjgTeks - (CTB.Count() / 8)) / Convert.ToDouble(PjgTeks) * 100; Red = Convert.ToDouble(String.Format("0:0.00", Red)); txtpad.text = Pad.ToString(); txtctb.text = CTB; txtct.text = CT; txtjlhbit_ct.text = CTB.Count().ToString(); txtjlhkar_ct.text = (CTB.Count() / 8).ToString(); txtrc.text = RC.ToString(); txtcr.text = CR.ToString() + " %"; txtred.text = Red.ToString() + " %"; txtlog.text = Log;

6 A-6 DEKOMPRESI public string CT_ke_CTB() CT = txtct.text.trim(); // Substring(0, txtct.text.length); CTB = ""; TambahBit = Convert.ToInt16(CT[CT.Count() - 1]) - 48 ; for (int i = 0; i < CT.Count() - 1; i++) CTB += tobiner(convert.toint16(ct[i]), 8); if (TambahBit > 0) CTB = CTB.Remove(CTB.Length - TambahBit, TambahBit); return CTB; public void Dekompres(List<clsUnary> Tabel, string CTB) String Hasil = ""; Log = ""; if (rdbelias.checked) //CTB = txtctb.text; string S = ""; string KT; char Kar = 'A'; int TC = 0; int Index = 0; Boolean Ketemu; for (int i = 0; i < CTB.Count(); i++) S += CTB[i]; TC++; Ketemu = false; for (int j = 0; j < Tabel.Count(); j++) try if (S == Tabel[j].Kode.Substring(0, TC)) KT = S; Kar = Tabel[j].Kar; Log += "Bit " + Index + " ke " + (Index + TC - 1) + " = " + KT + "\n"; Ketemu = true; break; catch

7 A-7 if (Ketemu == false) Hasil += Kar; S = ""; TC = 0; Index = i; i--; Log += "========================= Karakter : " + Kar + "\n\n"; Log += "======================= Karakter : " + Kar + "\n"; Hasil += Kar; else if (rdbunary.checked) //CTB = txtctb.text; string S = ""; char Kar = 'A'; int TC = 0; for (int i = 0; i < CTB.Count(); i++) S += CTB[i]; if (CTB[i] == '0') for (int j = 0 ; j < Tabel.Count(); j++) if (S == Tabel[j].Kode) Kar = Tabel[j].Kar; Hasil += Kar; break; TC++; Log += "Deretan Bit ke " + i + "\t: " + S + "\n" + "===================== Karakter : " + Kar + "\n"; S = ""; JlhBit_PT = (Hasil.Count() * 8); JlhBit_CT = Convert.ToInt16(txtJlhBit_CT.Text); PjgTeks = Hasil.Count(); CR = Convert.ToDouble(JlhBit_CT / 8) / Convert.ToDouble(PjgTeks) * 100; CR = Convert.ToDouble(String.Format("0:0.00", CR)); Red = Convert.ToDouble(PjgTeks - (JlhBit_CT / 8)) / Convert.ToDouble(PjgTeks) * 100; Red = Convert.ToDouble(String.Format("0:0.00", Red)); txtcr.text = CR.ToString() + " %"; txtred.text = Red.ToString() + " %"; txtpad.text = TambahBit.ToString(); txtpt.text = Hasil; txtjlhkar_pt.text = PjgTeks.ToString(); txtjlhbit_pt.text = JlhBit_PT.ToString(); txtctb.text = CTB; txtlog.text = Log;

8 B-1 CURRICULUM VITAE Data Pribadi Nama : Julita Sinaga Tempat/Tanggal Lahir : Lumban Sinaga / 17 Juli 1992 Tinggi/Berat Badan : 154 cm / 48 kg Agama : Kristen Kewarganegaraan : Indonesia Alamat Sekarang : Jl. Kepodang 1 No.183 Perumnas Mandala Telp/ Hp : sinagajulita17@gmail.com Riwayat Pendidikan : S1 Extensi Ilmu Komputer : D3 Teknik Informatika : SMA Katolik Budi Murni 1 Medan : SMP Negeri 2 Pangaribuan, Tapanuli Utara : SD Negeri Pangaribuan, Tapanuli Utara Pengalaman Organisasi 2011 :Panitia Natal Jurusan D3-Teknik Informatika dan S-1 Teknologi Informasi USU :Panitia Konser Tahunan Paduan Suara Consolatio USU ke-24 sebagai Anggota seksi dana 2017 :Panitia Kompetisi Consolatio Goes To Marktoberdorf, Jerman sebagai Ketua seksi dana Seminar dan Pelatihan 2014 : Seminar Nasional Literasi Informasi SENARAI 2012 : Training Webmater di Webmedia Training Center

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

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

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. 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

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

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 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

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

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. 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 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 Progam. Universitas Sumatera Utara

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

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 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

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. // // 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

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

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

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

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

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

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

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. 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

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

Determination of the Winner of Project Tender Using Analytical Hierarchy Process

Determination of the Winner of Project Tender Using Analytical Hierarchy Process Vol.5 No.1 (Januari 2010) JURNAL GENERI 19 etermination of the Winner of Project Tender Using Analytical Hierarchy Process Julian Supardi 1, Endang Lestari 2, Fakultas Ilmu Komputer, Universitas Sriwijaya

More information

Australian Journal of Basic and Applied Sciences. Generalized Models for Internet Pricing Scheme under Multi Class QoS Networks

Australian Journal of Basic and Applied Sciences. Generalized Models for Internet Pricing Scheme under Multi Class QoS Networks AENSI Journals Australian Journal of Basic and Applied Sciences ISSN:1991-8178 Journal home page: www.ajbasweb.com Generalized Models for Internet Pricing Scheme under Multi Class QoS Networks 1 Irmeilyana,

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

Functions. Arash Rafiey. September 26, 2017

Functions. Arash Rafiey. September 26, 2017 September 26, 2017 are the basic building blocks of a C program. are the basic building blocks of a C program. A function can be defined as a set of instructions to perform a specific task. are the basic

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

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

CS16 Exam #1 7/17/ Minutes 100 Points total

CS16 Exam #1 7/17/ Minutes 100 Points total CS16 Exam #1 7/17/2012 75 Minutes 100 Points total Name: 1. (10 pts) Write the definition of a C function that takes two integers `a` and `b` as input parameters. The function returns an integer holding

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

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

Nearby Search Indekos Based Android Using A Star (A*) Algorithm

Nearby Search Indekos Based Android Using A Star (A*) Algorithm Journal of Physics: Conference Series PAPER OPEN ACCESS Nearby Search Indekos Based Android Using A Star (A*) Algorithm To cite this article: B Siregar et al 2018 J. Phys.: Conf. Ser. 978 012084 View the

More information

C++ Programming: From Problem Analysis to Program Design, Third Edition

C++ Programming: From Problem Analysis to Program Design, Third Edition C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 4: Control Structures I (Selection) Control Structures A computer can proceed: In sequence Selectively (branch) - making

More information

CURRICULUM VITAE. Address : Kp. Jeprah Rt 01/11 No. 72 Jonggol Bogor Jawa Barat, Indonesia

CURRICULUM VITAE. Address : Kp. Jeprah Rt 01/11 No. 72 Jonggol Bogor Jawa Barat, Indonesia CURRICULUM VITAE Personal Information Full Name : Jon Kartago Lamida Place and Date of Birth : Cianjur, 13 December 1985 Religion Nationality Sex Marital Status : Islam : Indonesia : Male : Single Address

More information

5. What is a block statement? A block statement is a segment of code between {}.

5. What is a block statement? A block statement is a segment of code between {}. COSC 117 Exam 1 Key Fall 2012 Part 1: Definitions & Short Answer (3 Points Each) 1. What does CPU stand for? Central Processing Unit 2. Explain the difference between high-level languages and machine language.

More information

CSC 1351 The Twelve Hour Exam From Hell

CSC 1351 The Twelve Hour Exam From Hell CSC 1351 The Twelve Hour Exam From Hell Name: 1 Arrays (Ch. 6) 1.1 public class L { int [] data ; void append ( int n) { int [] newdata = new int [ data. length +1]; for ( int i =0;i< data. length ;i ++)

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

Jurnal Ilmiah Komputer dan Informatika (KOMPUTA) 1 Edisi...Volume..., Bulan 20..ISSN :

Jurnal Ilmiah Komputer dan Informatika (KOMPUTA) 1 Edisi...Volume..., Bulan 20..ISSN : Jurnal Ilmiah Komputer dan Informatika (KOMPUTA) Implementation Of Fuzzy K-Nearest Neighbour (fuzzy K-NN) For Classification Of Proposals Thesis Based On A Group Of Scholarly In Informatics Engineering

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

Le L c e t c ur u e e 3 To T p o i p c i s c t o o b e b e co c v o e v r e ed e Control Statements

Le L c e t c ur u e e 3 To T p o i p c i s c t o o b e b e co c v o e v r e ed e Control Statements Course Name: Advanced Java Lecture 3 Topics to be covered Control Statements Introduction The control statement are used to control the flow of execution of the program. This execution order depends on

More information

Constant-time programming in C

Constant-time programming in C Constant-time programming in C What s our goal? Goal: Write C programs that don t leak sensitive data Assumption: no explicit leaks E.g., writing secret data to public location Approach: constant-time

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

A comparative study of Message Digest 5(MD5) and SHA256 algorithm

A comparative study of Message Digest 5(MD5) and SHA256 algorithm Journal of Physics: Conference Series PAPER OPEN ACCESS A comparative study of Message Digest 5(MD5) and SHA256 algorithm To cite this article: D Rachmawati et al 208 J. Phys.: Conf. Ser. 978 026 View

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

I. True/False: (2 points each)

I. True/False: (2 points each) CS 102 - Introduction to Programming Midterm Exam #2 - Prof. Reed Spring 2008 What is your name?: (2 points) There are three sections: I. True/False..............54 points; (27 questions, 2 points each)

More information

Question 1: public class BlankKarel extends SuperKarel { public void run() { while (frontisclear()) { walkarow(); move(); } walkarow(); // fencepost }

Question 1: public class BlankKarel extends SuperKarel { public void run() { while (frontisclear()) { walkarow(); move(); } walkarow(); // fencepost } Question 1: public class BlankKarel extends SuperKarel { public void run() { while (frontisclear()) { walkarow(); walkarow(); // fencepost public void walkarow() { turnleft(); while(frontisclear() && leftisblocked()

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

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

Lampiran A. SOURCE CODE PROGRAM

Lampiran A. SOURCE CODE PROGRAM A-1 Lampiran A. SOURCE CODE PROGRAM Frame Utama package FrameDesign; import ArithmeticSkripsi.ArithmeticCompress; import ArithmeticSkripsi.ArithmeticDecompress; import Deflate.DeflateContoh; import java.io.file;

More information

C Sc 127A Practice Test 2 SL Name 150pts

C Sc 127A Practice Test 2 SL Name 150pts C Sc 127A Practice Test 2 SL Name 150pts 0. What is the capiatal of Canada? f (4pts) Just do not leave this blank, any answer would do a. Toronto b. Quebec c. Ottawa d. Vancouver e. Calgary f. Not sure

More information

DUKE UNIVERSITY Department of Computer Science. Test 1: CompSci 100

DUKE UNIVERSITY Department of Computer Science. Test 1: CompSci 100 DUKE UNIVERSITY Department of Computer Science Test 1: CompSci 100 Name (print): Community Standard acknowledgment (signature): Problem 1 value 30 pts. grade Problem 2 16 pts. Problem 3 14 pts. Problem

More information

It is a constructor and is called using the new statement, for example, MyStuff m = new MyStuff();

It is a constructor and is called using the new statement, for example, MyStuff m = new MyStuff(); COSC 117 Exam 3 Key Fall 2012 Part 1: Definitions & Short Answer (3 Points Each) 1. A method in a class that has no return type and the same name as the class is called what? How is this type of method

More information

LAMPIRAN. Lampiran 1. Identitas Petani Cabai Merah di Desa Wukirsari Tahun 2017

LAMPIRAN. Lampiran 1. Identitas Petani Cabai Merah di Desa Wukirsari Tahun 2017 LAMPIRAN Lampiran 1. Identitas Petani Cabai Merah di Desa Wukirsari Tahun 2017 NO Nama Responden Umur (Tahun) Tingkat Pendidikan Pengalaman Bertani (Tahun) Status Kepemilikan Lahan 1 Mardi Wiyono 64 SD

More information

PROGRAMMING FUNDAMENTALS

PROGRAMMING FUNDAMENTALS PROGRAMMING FUNDAMENTALS Q1. Name any two Object Oriented Programming languages? Q2. Why is java called a platform independent language? Q3. Elaborate the java Compilation process. Q4. Why do we write

More information

Decision Making and Loops

Decision Making and Loops Decision Making and Loops Goals of this section Continue looking at decision structures - switch control structures -if-else-if control structures Introduce looping -while loop -do-while loop -simple for

More information

Lexical Structure (Chapter 3, JLS)

Lexical Structure (Chapter 3, JLS) Lecture Notes CS 140 Winter 2006 Craig A. Rich Lexical Structure (Chapter 3, JLS) - A Java source code file is viewed as a string of unicode characters, including line separators. - A Java source code

More information

Tasks for fmri-setting (Tasks of first and second pilot study at the end)

Tasks for fmri-setting (Tasks of first and second pilot study at the end) Tasks for fmri-setting (Tasks of first and second pilot study at the end) 1. Faculty int result = 1; int x = 4; while (x > 1) { result = result * x; x--; 7. Find max in list of numbers public static void

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

CSC Java Programming, Fall Java Data Types and Control Constructs

CSC Java Programming, Fall Java Data Types and Control Constructs CSC 243 - Java Programming, Fall 2016 Java Data Types and Control Constructs Java Types In general, a type is collection of possible values Main categories of Java types: Primitive/built-in Object/Reference

More information

Implementation of Dynamic Time Warping Method for the Vehicle Number License Recognition

Implementation of Dynamic Time Warping Method for the Vehicle Number License Recognition International Journal of Electrical and Computer Engineering (IJECE) Vol. 4, No. 2, April 2014, pp. 278~284 ISSN: 2088-8708 278 Implementation of Dynamic Time Warping Method for the Vehicle Number License

More information

3. Java - Language Constructs I

3. Java - Language Constructs I Educational Objectives 3. Java - Language Constructs I Names and Identifiers, Variables, Assignments, Constants, Datatypes, Operations, Evaluation of Expressions, Type Conversions You know the basic blocks

More information

Unit 1: Binary and Java Input and Output. Sample Test (Inquiry) Name : Totals: /70 (!c), /9 (c), /79 (!c&&c)

Unit 1: Binary and Java Input and Output. Sample Test (Inquiry) Name : Totals: /70 (!c), /9 (c), /79 (!c&&c) Unit 1: Binary and Java Input and Output Sample Test (Inquiry) Name : Totals: /70 (!c), /9 (c), /79 (!c&&c) Part A: Binary 1. Fill in the answer column of this chart. /9 Instruction Data Answer 53 (a)

More information

Language Reference Manual

Language Reference Manual ALACS Language Reference Manual Manager: Gabriel Lopez (gal2129) Language Guru: Gabriel Kramer-Garcia (glk2110) System Architect: Candace Johnson (crj2121) Tester: Terence Jacobs (tj2316) Table of Contents

More information

Visit us at

Visit us at Visit us at www.apluscompsci.com Full Curriculum Solutions M/C Review Question Banks Live Programming Problems Tons of great content! www.facebook.com/apluscomputerscience -answer the easiest question

More information

WEBSITE DESIGN RESEARCH AND COMMUNITY SERVICE INSTITUTE IN BINA DARMA UNIVERSITY

WEBSITE DESIGN RESEARCH AND COMMUNITY SERVICE INSTITUTE IN BINA DARMA UNIVERSITY International Conference on Information Systems for Business Competitiveness (ICISBC 203) 372 WEBSITE DESIGN RESEARCH AND COMMUNITY SERVICE INSTITUTE IN BINA DARMA UNIVERSITY Siti Sa uda ) Qoriani Widayati

More information

Instructor: SIR MUHAMMAD NAVEED Created by: ARSLAN AHMED SHAAD ( ) MUHAMMAD BILAL ( ) ISIT:

Instructor: SIR MUHAMMAD NAVEED Created by: ARSLAN AHMED SHAAD ( ) MUHAMMAD BILAL ( ) ISIT: Instructor: SIR MUHAMMAD NAVEED Created by: ARSLAN AHMED SHAAD ( 1163135 ) MUHAMMAD BILAL (1163122 ) ISIT:www.techo786.wordpress.com CHAPTER: 3 NOTE: CONTROL STATEMENTS Question s Given below are Long

More information

FORM 1 (Please put your name and form # on the scantron!!!!) CS 161 Exam I: True (A)/False(B) (2 pts each):

FORM 1 (Please put your name and form # on the scantron!!!!) CS 161 Exam I: True (A)/False(B) (2 pts each): FORM 1 (Please put your name and form # on the scantron!!!!) CS 161 Exam I: True (A)/False(B) (2 pts each): 1. The basic commands that a computer performs are input (get data), output (display result),

More information

5. Assuming gooddata is a Boolean variable, the following two tests are logically equivalent. if (gooddata == false) if (!

5. Assuming gooddata is a Boolean variable, the following two tests are logically equivalent. if (gooddata == false) if (! FORM 2 (Please put your name and form # on the scantron!!!!) CS 161 Exam I: True (A)/False(B) (2 pts each): 1. Assume that all variables are properly declared. The following for loop executes 20 times.

More information

Computer Science II Fall 2009

Computer Science II Fall 2009 Name: Computer Science II Fall 2009 Exam #2 Closed book and notes. This exam should have five problems and six pages. Problem 0: [1 point] On a scale of 0 5, where 5 is highest, I think I deserve a for

More information

robotics/ openel.h File Reference Macros Macro Definition Documentation Typedefs Functions

robotics/ openel.h File Reference Macros Macro Definition Documentation Typedefs Functions openel.h File Reference Macros #define EL_TRUE 1 #define EL_FALSE 0 #define EL_NXT_PORT_A 0 #define EL_NXT_PORT_B 1 #define EL_NXT_PORT_C 2 #define EL_NXT_PORT_S1 0 #define EL_NXT_PORT_S2 1 #define EL_NXT_PORT_S3

More information

PLDI 2016 Tutorial Automata-Based String Analysis

PLDI 2016 Tutorial Automata-Based String Analysis PLDI 2016 Tutorial Automata-Based String Analysis Tevfik Bultan, Abdulbaki Aydin, Lucas Bang Verification Laboratory http://vlab.cs.ucsb.edu Department of Computer Science Common Usages of Strings } Input

More information

Chapter 6 Single-dimensional Arrays

Chapter 6 Single-dimensional Arrays Chapter 6 Single-dimensional s 1. See the section "Declaring and Creating s." 2. You access an array using its index. 3. No memory is allocated when an array is declared. The memory is allocated when creating

More information

LAMPIRAN. public class PengajuanDana extends javax.swing.jinternalframe { Connection conn = null; ResultSet rs = null; PreparedStatement ps = null;

LAMPIRAN. public class PengajuanDana extends javax.swing.jinternalframe { Connection conn = null; ResultSet rs = null; PreparedStatement ps = null; 73 LAMPIRAN Source Code Aplikasi 1. Source Code Connect ke Database public class connect Connection conn = null; public static Connection tadb() try Class.forName("com.mysql.jdbc.Driver"); Connection conn

More information

Objectives. Chapter 4: Control Structures I (Selection) Objectives (cont d.) Control Structures. Control Structures (cont d.) Relational Operators

Objectives. Chapter 4: Control Structures I (Selection) Objectives (cont d.) Control Structures. Control Structures (cont d.) Relational Operators Objectives Chapter 4: Control Structures I (Selection) In this chapter, you will: Learn about control structures Examine relational and logical operators Explore how to form and evaluate logical (Boolean)

More information

CS 163/164 Exam 2 Review

CS 163/164 Exam 2 Review CS 163/164 Exam 2 Review Review from first exam What does this print? String s = marco polo ; System.out.println(s.substring(0,3)); mar Print the predefined double variable d with 9 decimal place precision

More information

Exam Appendix --- Java Quick Reference Accessible methods from the Java library that may be included on the exam

Exam Appendix --- Java Quick Reference Accessible methods from the Java library that may be included on the exam A P P E N D I X B Exam Appendix --- Java Quick Reference Accessible methods from the Java library that may be included on the exam class java.lang.object boolean equals(object other) String tostring()

More information

Improving the accuracy of k-nearest neighbor using local mean based and distance weight

Improving the accuracy of k-nearest neighbor using local mean based and distance weight Journal of Physics: Conference Series PAPER OPEN ACCESS Improving the accuracy of k-nearest neighbor using local mean based and distance weight To cite this article: K U Syaliman et al 2018 J. Phys.: Conf.

More information

#include <iostream> #include <algorithm> #include <cmath> using namespace std; int f1(int x, int y) { return (double)(x/y); }

#include <iostream> #include <algorithm> #include <cmath> using namespace std; int f1(int x, int y) { return (double)(x/y); } 1. (9 pts) Show what will be output by the cout s in this program. As in normal program execution, any update to a variable should affect the next statement. (Note: boolalpha simply causes Booleans to

More information

Chapter 4 Expression & Operators

Chapter 4 Expression & Operators Chapter 4 Expression & Operators 1 Aim To give understanding on: Expression and operator concept math.h and stdlib.h built-in function Objective Students should be able to: understand concepts and fundamentals

More information

Sequence structure. The computer executes java statements one after the other in the order in which they are written. Total = total +grade;

Sequence structure. The computer executes java statements one after the other in the order in which they are written. Total = total +grade; Control Statements Control Statements All programs could be written in terms of only one of three control structures: Sequence Structure Selection Structure Repetition Structure Sequence structure The

More information

Application Marketing Strategy Search Engine Optimization (SEO)

Application Marketing Strategy Search Engine Optimization (SEO) IOP Conference Series: Materials Science and Engineering PAPER OPEN ACCESS Application Marketing Strategy Search Engine Optimization (SEO) To cite this article: M S Iskandar and D Komara 2018 IOP Conf.

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

Chapter 4: Control Structures I (Selection) Objectives. Objectives (cont d.) Control Structures. Control Structures (cont d.

Chapter 4: Control Structures I (Selection) Objectives. Objectives (cont d.) Control Structures. Control Structures (cont d. Chapter 4: Control Structures I (Selection) In this chapter, you will: Objectives Learn about control structures Examine relational and logical operators Explore how to form and evaluate logical (Boolean)

More information

CS111: PROGRAMMING LANGUAGE II

CS111: PROGRAMMING LANGUAGE II CS111: PROGRAMMING LANGUAGE II Computer Science Department Lecture 1(c): Java Basics (II) Lecture Contents Java basics (part II) Conditions Loops Methods Conditions & Branching Conditional Statements A

More information

SPRING 13 CS 0007 FINAL EXAM V2 (Roberts) Your Name: A pt each. B pt each. C pt each. D or 2 pts each

SPRING 13 CS 0007 FINAL EXAM V2 (Roberts) Your Name: A pt each. B pt each. C pt each. D or 2 pts each Your Name: Your Pitt (mail NOT peoplesoft) ID: Part Question/s Points available Rubric Your Score A 1-6 6 1 pt each B 7-12 6 1 pt each C 13-16 4 1 pt each D 17-19 5 1 or 2 pts each E 20-23 5 1 or 2 pts

More information

Lecture 02 C FUNDAMENTALS

Lecture 02 C FUNDAMENTALS Lecture 02 C FUNDAMENTALS 1 Keywords C Fundamentals auto double int struct break else long switch case enum register typedef char extern return union const float short unsigned continue for signed void

More information

Development of Sistem Informasi Pendataan Warga (Sitawar) for the Realization of Integrated Population Data at RT Level With RW

Development of Sistem Informasi Pendataan Warga (Sitawar) for the Realization of Integrated Population Data at RT Level With RW Development of Sistem Informasi Pendataan Warga (Sitawar) for the Realization of Integrated Population Data at RT Level With RW Diana Effendi 1), Beri Noviansyah 2) Program Studi Manajemen Informatika,

More information

Week 4 Selection Structures. UniMAP Sem II-11/12 DKT121 Basic Computer Programming 1

Week 4 Selection Structures. UniMAP Sem II-11/12 DKT121 Basic Computer Programming 1 Week 4 Selection Structures UniMAP Sem II-11/12 DKT121 Basic Computer Programming 1 Outline Recall selection control structure Types of selection One-way selection Two-way selection Multi-selection Compound

More information

Following is the general form of a typical decision making structure found in most of the programming languages:

Following is the general form of a typical decision making structure found in most of the programming languages: Decision Making Decision making structures have one or more conditions to be evaluated or tested by the program, along with a statement or statements that are to be executed if the condition is determined

More information

1. Code Trace: 2. Program Logic (0.5 each) X <= y y > z x == 1 A S N S N S A A N S S S S A S POINT A POINT B POINT C POINT D POINT E

1. Code Trace: 2. Program Logic (0.5 each) X <= y y > z x == 1 A S N S N S A A N S S S S A S POINT A POINT B POINT C POINT D POINT E CS312 Fall 2017 Exam 2 Solution and Grading Criteria. Grading acronyms: AIOBE - Array Index out of Bounds Exception may occur BOD - Benefit of the Doubt. Not certain code works, but, can't prove otherwise

More information

Journal of Physics: Conference Series PAPER OPEN ACCESS. To cite this article: B E Zaiwani et al 2018 J. Phys.: Conf. Ser.

Journal of Physics: Conference Series PAPER OPEN ACCESS. To cite this article: B E Zaiwani et al 2018 J. Phys.: Conf. Ser. Journal of Physics: Conference Series PAPER OPEN ACCESS Improved hybridization of Fuzzy Analytic Hierarchy Process (FAHP) algorithm with Fuzzy Multiple Attribute Decision Making - Simple Additive Weighting

More information

SCJ2013 Data Structure & Algorithms. Bubble Sort. Nor Bahiah Hj Ahmad & Dayang Norhayati A. Jawawi

SCJ2013 Data Structure & Algorithms. Bubble Sort. Nor Bahiah Hj Ahmad & Dayang Norhayati A. Jawawi SCJ2013 Data Structure & Algorithms Bubble Sort Nor Bahiah Hj Ahmad & Dayang Norhayati A. Jawawi 1 Bubble Sort Sorting activities for Bubble: Go through multiple passes over the array. In every pass: Compare

More information

RTL Reference 1. JVM. 2. Lexical Conventions

RTL Reference 1. JVM. 2. Lexical Conventions RTL Reference 1. JVM Record Transformation Language (RTL) runs on the JVM. Runtime support for operations on data types are all implemented in Java. This constrains the data types to be compatible to Java's

More information

DAFTAR LAMPIRAN. Source Code Java Aplikasi Keyword to Image Renamer Split

DAFTAR LAMPIRAN. Source Code Java Aplikasi Keyword to Image Renamer Split DAFTAR LAMPIRAN Source Code Java Aplikasi Keyword to Image Renamer Split Source Code Menu Utama package spin_text; import java.awt.color; import java.awt.event.actionevent; import java.awt.event.actionlistener;

More information

Tutorial 11. Exercise 1: CSC111 Computer Programming I. A. Write a code snippet to define the following arrays:

Tutorial 11. Exercise 1: CSC111 Computer Programming I. A. Write a code snippet to define the following arrays: College of Computer and Information Sciences CSC111 Computer Programming I Exercise 1: Tutorial 11 Arrays: A. Write a code snippet to define the following arrays: 1. An int array named nums of size 10.

More information

Flow of Control. Flow of control The order in which statements are executed. Transfer of control

Flow of Control. Flow of control The order in which statements are executed. Transfer of control 1 Programming in C Flow of Control Flow of control The order in which statements are executed Transfer of control When the next statement executed is not the next one in sequence 2 Flow of Control Control

More information