Langsung ke konten utama

Postingan

Menampilkan postingan dengan label programming

Year of Scammer

   Besides The Year of The Snake, there are some scams that happened in 2001: Enron scandal In October 2001, the American energy company Enron filed for bankruptcy after widespread internal fraud was revealed. This was the largest bankruptcy reorganization in US history at the time.  Strip search phone call scam A male caller would contact a manager or supervisor at a fast-food restaurant, grocery store, or video rental store and ask for help detaining a suspected employee or customer. The caller would then ask the manager to strip search the suspect, and gradually escalate the tasks to become more sexual in nature.  WorldCom scandal In the third quarter of 2001, large amounts of money were transferred from the income statement to the balance sheet. This was discovered by employees Cooper and Morse, who worked at night to avoid detection.  Ketan Parekh Parekh was involved in circular trading with a variety of companies, including Global Trust Bank and Madhavpur...

Data Mining Shapes Insight

  Data mining is the process of analyzing vast amounts of data to find patterns, trends, or useful insights, which is essential in turning raw data into meaningful information. In the context of data mining, a key framework often referenced is the DIKW pyramid: Data, Information, Knowledge, and Wisdom. Data This is raw, unprocessed, and unstructured material. Data includes facts, figures, and observations that don’t yet have context or meaning on their own. In data mining, this could be things like transaction records, customer interactions, or sensor outputs, gathered from various sources. Information When data is processed or organized to add context, it becomes information. For instance, if you organize customer transaction data by time or product category, it provides a clearer picture of what is happening. Information provides answers to basic questions like who, what, when, and where. Knowledge Knowledge comes from analyzing information to understand the how and why . It’s a...

Find Minimum and Maximum Number using Array in Pascal

  If you want to make a program like the image above, this is the source code: program aray2; uses crt; type nilai=array [1..5] of integer; var l:byte; max,min: integer; n:nilai; begin      clrscr;      writeln(‘========================’);      for l:=1 to 5 do      begin           write(‘ Value number-‘,l,’: ‘);           readln(n[l]);      end;      min:=n[1];      max:=n[1];      for l:=1 to 5 do      begin           if (n[l]<min) then           begin                min:=n[l];             end;           if (n[l]>max) then           begin   ...

Login program in C programming language

  //this is just the example! #include<stdio.h> #include<conio.h> #include<string.h> #include<process.h> //example of a simple login program to login to a system void main(){      char admin[20]=”admin”, password[10]=”admin”,pass[10];      clrscr();      printf(“——-LOGIN——-\n”);      printf(“\n Username: “);gets(admin);      printf(” Password: “);gets(pass);      if(strcmp(password,pass)==0){           printf(“\n ——————\n”);           printf(” | LOGIN SUCCESS! |”);           printf(“\n ——————“);}      else if(password!=pass){ exit(1);}      getch(); }

Simple Program to Find Max, Mid, and Min from 3 Number in C programming language

  If you search the source code for this program, here is the example. #include<stdio.h> #include<conio.h> /*this is the example of program, how to get the mid, min and max from 3 number*/ void main() {      int num0=0,num1=0,num2=0;      int max,min,mid;      //to input the number      clrscr();      printf(“————————————-PROGRAM————————————\n”);      printf(” Input Number-1 = “); scanf(“%d”,&num0);      printf(” Input Number-2 = “); scanf(“%d”,&num1);      printf(” Input Number-3 = “); scanf(“%d”,&num2);      //this is the proccess      if((num2 >= num1) && (num2 >= num0)){           max = num2;           if(num1 >= num0){                mid = num1;  ...

Random Numpad Visual Basic.NET Program

  Here I give you the source code to make a shuffle number like image above(random numpad). IDE: Microsoft Visual Studio Programming Language: VB.NET First, you open your visual studio and create new project. Then, put 9 Buttons into your form and type this code below to your vb file project. Public Class RandomNumpad Private Sub RandomNumpad_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim temp, index As String Dim Buttons() As Control = {Button1, Button2, Button3, Button4, Button5, Button6, Button7, Button8, Button9} Dim Rand As New Random For i As Integer = 0 To 8 index = Rand.Next(1, 9) temp = Buttons(i).Text Buttons(i).Text = Buttons(index).Text Buttons(index).Text = temp Next End Sub End Class

How to Create Bubble Sort, Sequential Search, Binary Search, Mean Value Source Code (Pascal & C++ Programming)

Simple Program to read the number 1-4 only in C language   Here is the source code for this program. #include<stdio.h> #include<conio.h> /*question: make a program to read a number from 1 to 4 then you print the name of that number. ex: if you input 1 then it will print ONE.*/ void main(){ char num1[]="'ONE'", num2[]="'TWO'", num3[]="'THREE'", num4[]="'FOUR'"; int num; clrscr(); do{ printf(" Input a number[1-4 only] = ");scanf("%d",&num);} while (num > 4 || num < 1); if(num == 1){ printf(" %d is %s",num,num1);} else if(num == 2){ printf(" %d is %s",num,num2);} else if(num == 3){ printf(" %d is %s",num,num3);} else if(num == 4){ printf(" %d is %s",num,num4);} getch(); }   Simple printf() C++ Program This is the source code for a simple program in C++ using printf(). #include...

How to Create Inverted Triangle, Triangle, Diamond, Number Patterns Using For Loop Source Code (C++ and Pascal Programming)

Inverted Triangle Source Code in C++  #include<iostream> using namespace std; int main(){ int limit; char chara[5]; cout<<"-------------------------\n"; cout<<" Input the Limit = ";cin>>limit; cout<<" Input a character = ";cin>>chara; cout<<"\n"; for (int i=limit;i>=1;i--){ for (int j=limit;j>=i;j--){ cout<<" "; } for (int k=1;k<=i;k++){ cout<<" "<<chara; } cout<<"\n"; } return 0; } Nested For Looping Example in C++ (How to make a Triangle) #include <iostream> using namespace std; int main(){ int limit; char chara[5]; cout<<"-------------------------\n"; cout<<" Input the Limit = ";cin>>limit; cout<<" Input characters = ";cin>>chara; cout<<"\n"; for (int i=1;i<=limit;i++){ for ...

How to Create Multiplication Table, Square, Import Turtle, Fibonacci Sequence, Letter Conversion, Inverted Pyramid, Math Equation Programs in Python

Example of Multiplication Table using Python   #here is another example of program #using python programming language #multiplication table: print(' Multiplication Table\n', '--------------------\n') n = int(input('n = ')) print('    ',end = '  ') for coloumn in range(1, n+1): print('%3d ' % coloumn, end = '') print() #movetherow for row in range(1, n + 1): print('%3d ' % row, end = '') for coloumn in range(1, n + 1): print('%3d ' % (row * coloumn), end = '') print()   How to create a square / box using Python #how to create a box (example) n = int(input("Input a number = ")) character = input("Input a character = ") print() #process for coloumn in range(1, 2 * n+1): print(character, end = "") print() for index in range(1, n-1): print(character, end = "") for coloumn in range(1, 2 * n-1): print(" ", end = "") #for space...

Odd or Even Number Program Source Code (Pascal & C++ Programming)

 Pascal Odd or Even Number Program Here is the source code. LINK VIDEO HERE program oddevennumber; uses crt; var angka,nomor: integer; begin clrscr; writeln; writeln('............................PROGRAM ODD & EVEN NUMBER...........................'); {Input} writeln;writeln; write(' Input a number: ');readln(angka); writeln; writeln('=============================='); {The Formula} nomor:=angka mod 2; {Range} if (nomor=0) then write(' ',angka,' IS EVEN NUMBER ') else write(' ',angka,' IS ODD NUMBER '); readln; write('=============================='); readln; end. Odd Number Program Using For Looping in C++ #include <iostream> using namespace std; int main() { int limit; cout<<"--------------------------------\n"; cout<<" Input maxiumum number= "; cin>>limit; cout<<"================================\...

Pengetahuan bahan makanan

  SAYUR BUAH BUMBU DAN REMPAH BERAS UMBI KACANG-KACANGAN SUSU DAN HASIL OLAHNYA TELUR   SAYUR-SAYURAN Syarat kualitas Bersih, tidak ada memar atau cacat lainnya Daun segar, tidak layu, tidak ada bekas serangan hama Sayur berbiji harus muda dan biji kelihatan (samar) Cerah, penampilan segar Penyimpanan Temperatur antara 5-10° C Sayuran hijau gunakan keranjang berpori-pori Umbi, letakkan diudara terbuka Freezer (3-7 hari) Suhu kamar (2-3 hari)   BUAH-BUAHAN Syarat Kualitas Segar, tidak keriput Tidak over rape Tua Tidak memar/tanda kerusakan lainnya Berwarna (merah atau kuning) Penyimpanan Suhu 5-10° C Matang sempurna (simpan pada suhu dingin) Kulit tipis (taruh pada kotak berlubang)   BUMBU DAN REMPAH Syarat Kualitas Nilai gizi Kesegaran Warna Aroma Kekeringan Tidak berserangga Keutuhan Penyimpanan Bumbu Pendingin (cuci, disimpan) Suhu kamar : sirkulasi udara harus lancer Kadar air tinggi : gantung pada keranjang berlubang Rempah Cuci, lalu jemur atau sangria (dapat d...

Alphabet in Binary

Lower case a = 01100001 b = 01100010 c = 01100011 d = 01100100 e = 01100101 f = 01100110 g = 01100111 h = 01101000 i = 01101001 j = 01101010 k = 01101011 l = 01101100 m = 01101101 n = 01101110 o = 01101111 p = 01110000 q = 01110001 r = 01110010 s = 01110011 t = 01110100 u = 01110101 v = 01110110 w = 01110111 x = 01111000 y = 01111001 z = 01111010     Capital letters A= 01000001 B= 01000010 C= 01000011 D= 01000100 E= 01000101 F= 01000110 G= 01000111 H= 01001000 I= 01001001 J= 01001010 K= 01001011 L= 01001100 M= 01001101 N= 01001110 O= 01001111 P= 01010000 Q= 01010001 R= 01010010 S= 01010011 T= 01010100 U= 01010101 V= 01010110 W= 01010111 X= 01011000 Y= 01011001 Z= 01011010

Data, Sistem, Informasi, dan Sistem Informasi

  Berikut pembahasan data, sistem, informasi dan sistem informasi. 1. Pengertian Data Menurut Susanto (2007:46): "Data adalah fakta atau apapun yang digunakan sebagai input dalam menghasilkan informasi". Menurut Sutabri (2005:21): "Data merupakan bahan mentah untuk diolah, yang hasilnya kemudian menjadi informasi. Dengan kata lain data yang telah diperoleh harus diukur dan dinilai baik buruknya, berguna atau tidak dalam hubungannya dengan tujuan yang akan dicapai". Menurut Amsyah (2001:4): "Data adalah keterangan tertulis mengenai sesuatu fakta (kenyataan) yang masih berdiri sendiri-sendiri, belum mempunyai pengertian sebagai kelompok, belum diolah sesuai keperluan tertentu". Jadi dapat disimpulkan, data merupakan satuan representasi yang dapat diingat, direkam, dan dapat diolah menjadi informasi. 2. Pengertian Sistem Menurut Wijayanto (2001:2), sistem didefinisikan sebagai "sesuatu yang memiliki bagian-bagian yang saling berinteraksi untuk me...