Senin, 22 Maret 2010

_Tugas 2_

Struktur Data
SOAL...
1> Apa hasil dari operasi berikut ini :
First = False, Second = False, Third = True
a. (Frist and second) or Third
b. Frist or (econd and third)
c. Not Frist or (second and not third)
d. (Second or Third) and (not Frist or second)
e. Not (not second and third) and first

2> Jika diketahui = S1 = “Pagi”
  S2 = “Siang”
  S3 = “Malam”
Apa hasil dari operasi berikut ini :
a. a. Length (S1) + Length (S2)
b. b. Length (Concat (S2, S3))
c. c. Substr (Concat (S2, S1),4,Length (S1) + 1)
d. d. Insert (S1,Delete(S3,1,3),1)
e. e. Insert (S1,Substr,(S2,2,3),3)

JAWABANNYA....
1) a. True
  b. False
  c. True
  d. True
  e. False
2) a. 9
  b. 10
  c. Isian
  d. Paamgi
  e. Pagiani

0 komentar:

Posting Komentar

 
HiduP Quwh...DuNia Quwh... © 2008. Template Design By: SkinCorner