Professional Documents
Culture Documents
CONFIDENTIAL /SULIT
1. This question paper is set in English and Bahasa Melayu. ANSWER ALL questions using ONE
LANGUAGE ONLY either ENGLISH or BAHASA MELAYU.
Kertas soalan ini disediakan dalam Bahasa Inggeris dan Bahasa Melayu. JAWAB SEMUA soalan dalam
SATU BAHASA SAHAJA sama ada BAHASA INGGERIS atau BAHASA MELAYU.
PART A / BAHAGIAN A
INSTRUCTIONS / ARAHAN
Part B contains THREE questions. Answer TWO only.
Bahagian B mengandungi TIGA soalan. Jawab DUA sahaja.
(a) Explain THREE modules that can be used to build an application (10)
with Oracle Forms.
(b) Explain how the facilities provided by Oracle Forms Tool as listed (10)
below is used to maintain standards across all applications:
i) Object and Properties
ii) Event-Driven Programming
iii) Built-in Subprograms
iv) Triggers
[Total/ Jumlah: 20]
[Maximum 3 pages /
Maksima 3 mukasurat]
Page 1 of 7
CBDB4103/MAY2020/F
(a) Discuss how the following Master Deletes property can be used to (10)
specify the deletion of a record in the master block:
i) Non-Isolated
ii) Isolated
iii) Cascading
(b) Discuss what happens when you delete the following item: (10)
i) A relation;
ii) The master block or detail block in a relation;
iii) The foreign key in a detail block.
[Total/ Jumlah: 20]
[Maximum 3 pages /
Maksima 3 mukasurat]
Page 2 of 7
CBDB4103/MAY2020/F
(b) Bincangkan apa yang berlaku apabila anda menghapuskan item berikut:
i) Satu hubungan;
ii) Blok induk atau blok terperinci dalam hubungan;
iii) Kunci asing dalam blok terperinci.
3. (a) An entity is any data recorded in a database. Each entity represents (10)
a table and each row of a table represents an instance of that entity.
(b) The referential integrity constraint determines that the value or (10)
group of fields corresponds to the key fields of other tables.
(a) Entiti ialah sebarang data yang direkodkan dalam pangkalan data. Setiap
entiti mewakili jadual dan setiap baris jadual yang mewakili satu tika
entiti tersebut.
ii) Berikan DUA contoh bagi setiap jenis kekangan integriti entiti
yang dikenal pasti dalam (i).
Page 3 of 7
CBDB4103/MAY2020/F
Page 4 of 7
CBDB4103/MAY2020/F
PART B / BAHAGIAN B
INSTRUCTIONS / ARAHAN
Part B contains TWO questions. Answer BOTH questions.
Bahagian B mengandungi DUA soalan. Jawab KEDUA-DUA soalan.
Based on the Table 1 above, you are required to write SQL statement for
each of the following:
Page 5 of 7
CBDB4103/MAY2020/F
Page 6 of 7
CBDB4103/MAY2020/F
(a) PL/SQL data types can be classified into scalar and composite data (10)
types. Demonstrate the use of ‘%type’ and ‘%rowtype’ which is
supported by PL/SQL.
(b) PL/SQL can also process data using the flow of control statements. (10)
Compare the conditional control statement and iterative control
statement.
[Total/ Jumlah: 20]
[Maximum 3 pages /
Maksima 3 mukasurat]
(a) Jenis data PL/SQL boleh diklasifikasikan kepada jenis data skalar dan
komposit. Tunjukkan penggunaan ‘%type’ dan ‘%rowtype’ yang
disokong oleh PL/SQL.
Page 7 of 7