Sabtu, 24 September 2016

Kursus Python 5 hari lp2maray


Hari1:

  • instalasi+cara penggunaan
  • Tipe Data, Modifier, Operator dan Variabel pada Python
  • Membuat kalkulator matematika pada Pytho (Fungsi abs(x), Fungsi ceil(x),Fungsi exp(x),Fungsi fabs(x),Fungsi floor(x),Fungsi log(x),Fungsi log10(x),Fungsi max(x1, x2, x3, ...), Fungsi min (x1, x2, x3, ...), Fungsi modf(x),Fungsi pow(x,y), Fungsi round(x[,n]), Fungsi sqrt(x), Trigonometri, Radian dll)
  • penerapan logika Loop kontrol, Decision Making, if, switch, while, for, do



Hari2-Hari3:
  • Membuat kalkulator string pada Python
  • Creating Strings
  • String Length
  • Concatenating Strings
  • Format Strings
  • String Method, meliputi 
char charAt(int index)
Returns the character at the specified index.

int compareTo(String anotherString)
Compares two strings lexicographically.

int compareToIgnoreCase(String str)
Compares two strings lexicographically, ignoring case differences.

String concat(String str)
Concatenates the specified string to the end of this string.

boolean endsWith(String suffix)
Tests if this string ends with the specified suffix.

boolean equals(Object anObject)
Compares this string to the specified object.

boolean equalsIgnoreCase(String anotherString)
Compares this String to another String, ignoring case considerations.

int indexOf(int ch)
Returns the index within this string of the first occurrence of the specified character.

int indexOf(int ch, int fromIndex)
Returns the index within this string of the first occurrence of the specified character, starting the search at the specified index.

int lastIndexOf(String str, int fromIndex)
Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the specified index.

int length()
Returns the length of this string.

String replace(char oldChar, char newChar)
Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar.

String replaceAll(String regex, String replacement
Replaces each substring of this string that matches the given regular expression with the given replacement.

String[] split(String regex)
Splits this string around matches of the given regular expression.

String[] split(String regex, int limit)
Splits this string around matches of the given regular expression.

boolean startsWith(String prefix)
Tests if this string starts with the specified prefix.

CharSequence subSequence(int beginIndex, int endIndex)
Returns a new character sequence that is a subsequence of this sequence.

char[] toCharArray()
Converts this string to a new character array.

String toLowerCase()
Converts all of the characters in this String to lower case using the rules of the default locale.

String toLowerCase(Locale locale)
Converts all of the characters in this String to lower case using the rules of the given Locale.

String toString()
This object (which is already a string!) is itself returned.

String toUpperCase()
Converts all of the characters in this String to upper case using the rules of the default locale.

String trim()
Returns a copy of the string, with leading and trailing whitespace omitted.

static String valueOf(primitive data type x)
Returns the string representation of the passed data


Hari 4:
  • Instalasi dan Konfigurasi Database Mysql
  • Koneksi ke database mysql
  • Membaca isi tabel/read
  • Mengubah isi tabel/update
  • Menghapus isi tabel/delete
  • mencari isi tabel/search

Hari 5:
  • Membedah Array 1d, 2d, 3d
  • Implementasi Exception
  • Penerapan Method 
  • Penggunaan Files I/O
  • Contoh Date / Time
  • Trouble shooting

Belajar 5 hari @ 3 jam  (Total: 15 jam)
Khusus hanya u Mahasiswa RP. 400.000; include sertifikat






Tidak ada komentar:

Posting Komentar