Jurnal TI - KRS

Program KRS yang kami buat adalah suatu software yang dimana data dalam KRS harus terlebih dulu di input, kemudian akan diproses dan ditampilkan dalam bentuk suatu KRS berdasarkan inputan.


Berikut Pseudocodenya :


Algoritma Software_Membaca_KRS
            { mencetak KRS mahasiswa teknik industri }
Deklarasi
jeneng = string                                    nim = string
kelas = string                                       dosenp = string
a = string(25)                                       s = string(25)
d = string(25)                                      f = string(25)
g = string(25)                                      h = string(25)
j = string(25)                                       k = string(25)
sms = string                                         z = string(25)
x = string(25)                                      c = string(25)
v = string(25)                                      b = string(25)
n = string(25)                                      m = string(25)
p = string(25)                                      az = string
ax = string                                           ac = string
av = string                                           ab = string
an = string                                           am = string
ap = string                                           bsm = string
tahun = integer                                    q = integer
w = integer                                          e = integer
r = integer                                            t = integer
y = integer                                           u = integer
i = integer                                            ipk = double

Deskripsi

     START

            write("Siapa nama anda? ")
            read jeneng
            write("Berapa NIM anda? ")
            write("Contoh : 21070113140131")
            read nim
            write("Berapa IPK anda? ")
            write("Contoh : 3,7")
            read ipk
            write("Anda semester berapa? ")
            read sms 
            write("Tahun ajaran Anda?" )
            write("Contoh : 2013")
            read tahun
            write("Siapa dosen pembimbing anda?" )
            read dosenp 
            write("Masukkan mata kuliah, kode matakuliah, kelas yang ingin dipilih,dan jumlah SKS nya")
            write("Perhatian!")
            write("- Untuk pengisian matakuliah maksimal 25 karakter!")
            write("- Untuk pengisian kode matakuliah dengan format XXXXX")
            write("- Untuk pengisian jumlah sks hanya dengan ANGKA!")
            write("Mata Kuliah 1 : ")
            read a
            write("Kelas yang ingin diambil (A/B) : ")
            read az
            write("Kode Mata Kuliah 1 : ")
            read z
            write("Jumlah SKS Mata Kuliah 1 : ")
            read q
            write("Mata Kuliah 2 : ")
            read s
            write("Kelas yang ingin diambil (A/B) : ")
            read ax
            write("Kode Mata Kuliah 2 : ")
            read x
            write("Jumlah SKS Mata Kuliah 2 : ")
            read w
            write("Mata Kuliah 3 : ")
            read d 
            write("Kelas yang ingin diambil (A/B) : ")
            read ac
            write("Kode Mata Kuliah 3 : ")
            read c
            write("Jumlah SKS Mata Kuliah 3 : ")
            read e
            write("Mata Kuliah 4 : ")
            read f
            write("Kelas yang ingin diambil (A/B) : ")
            read av
            write("Kode Mata Kuliah 4 : ")
            read v
            write("Jumlah SKS Mata Kuliah 4 : ")
            read r
            write("Mata Kuliah 5 : ")
            read g
            write("Kelas yang ingin diambil (A/B) : ")
            read ab
            write("Kode Mata Kuliah 5 : ")
            read b
            write("Jumlah SKS Mata Kuliah 5 : ")
            read t
            write("Mata Kuliah 6 : ")
            read h
            write("Kelas yang ingin diambil (A/B) : ")
            read an
            write("Kode Mata Kuliah 6 : ")
            read n
            write("Jumlah SKS Mata Kuliah 6 : ")
            read y
            write("Mata Kuliah 7 : ")
            read j 
            write("Kelas yang ingin diambil (A/B) : ")
            read am
            write("Kode Mata Kuliah 7 : ")
            read m
            write("Jumlah SKS Mata Kuliah 7 : ")
            read u
            write("Mata Kuliah 8 : ")
            read k
            write("Kelas yang ingin diambil (A/B) : ")
            read ap
            write("Kode Mata Kuliah 8 : ")
            read p
            write("Jumlah SKS Mata Kuliah 8 : ")
            read i
            write("")
            write("NAMA : " + jeneng )
            write("NIM : " + nim)
            write("Dosen Pembimbing : " + dosenp )
            write("Tahun akademik : " + tahun + "/" + (tahun+1))   
            write("Semester : "+ sms)
            write("IPK : "+ipk)
if(ipk <= 2.5) then
(bsm = "20")

else if(2.5
(bsm = "22")

else if(ipk >=3) then
(bsm = "24")

else bsm = "0"
endif
            write("Beban studi maks : "+bsm+" sks ")
            write("")
write("|1  |" +(z)+ "|" +(a)+ "|  "+ az +"  | "+ sms +" |  B   | " + q +" |" )
            write("|2  |" +(x)+ "|" +(s)+ "|  "+ ax +"  | "+ sms +" |  B   | " + q +" |" )  
            write("|3  |" +(c)+ "|" +(d)+ "|  "+ ac +"  | "+ sms +" |  B   | " + q +" |" )  
            write("|4  |" +(v)+ "|" +(f)+ "|  "+ av +"  | "+ sms +" |  B   | " + q +" |" )  
            write("|5  |" +(b)+ "|" +(g)+ "|  "+ ab +"  | "+ sms +" |  B   | " + q +" |" )  
            write("|6  |" +(n)+ "|" +(h)+ "|  "+ an +"  | "+ sms +" |  B   | " + q +" |" )  
            write("|7  |" +(m)+ "|" +(j)+ "|  "+ am +"  | "+ sms +" |  B   | " + q +" |" )  
            write("|8  |" +(p)+ "|" +(k)+ "|  "+ ap +"  | "+ sms +" |  B   | " + q +" |" )
            write("Jumlah seluruhnya       "+ (q+w+e+r+t+y+u+i)+" sks")
            write("* IP komulatif dan SKS komulatif dihitung dari semester 1 hingga semester terakhir")

STOP

0 komentar: