SlideShare a Scribd company logo
1 of 19
Download to read offline
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 2 of 20 
SECTION A 
OBJECTIVE QUESTIONS (50 marks) 
INSTRUCTION: 
This section consists of FORTY (40) objective questions. Answer ALL questions in the answer booklet. 
1. “A software system that enable user to define, create and maintain the database”. 
This statement describes [CLO 1] 
A. Oracle 10g 
B. Microsoft Office Access 2007 
C. Database Management System 
D. Data warehouse 
2. The function of a database is to ____________. [CLO 1] 
A. collect and organize input data 
B. check all input data 
C. check all spelling 
D. output data 
3. Choose the software that is commonly used in database. [CLO 1] 
A. Oracle 
B. SQL Access 
C. SQL desktop 
D. Linux 
4. Internal Schema is one of the three-schema architecture. Which one is true about Internal Schema? [CLO 1] 
A. It hides the details of physical storage structures and concentrates on describing entities, data types, relationships, user operations, and constraints. 
B. Uses a physical data model and describes the complete details of data storage and access paths for the database.
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 3 of 20 
C. Implementation of data model 
D. The part of the database that a particular user is interested in and hides the rest of the database from user 
5. A _____________ is the set of allowable values for one or more attributes. 
[CLO 1] 
A. Cardinality 
B. Tuple 
C. Degree 
D. Domain 
6. Within a table, the primary key must be unique so that it will identify each row. When this is the case, the table is said to exhibit ________ integrity. 
[CLO 1] 
A. Referential 
B. Entity 
C. Enforced 
D. Key 
7. The data type of values that appear in each column is represented by _________________ of possible values. [CLO 1] 
A. Range 
B. Product 
C. Domain 
D. Function
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 4 of 20 
8. Based on Figure 1, identify which one is the Candidate Key? 
Figure 1 [CLO 1] 
A. W 
B. X 
C. Y 
D. Z 
9. All companies operate four departments in their organization. This relationship 
represents a _______________. [CLO 1] 
A. one-to-one relationship. 
B. one-to-many relationship. 
C. many-to-one relationship. 
D. many-to-many relationship. 
10. __________________works on a single relation R and defines a relation that constrains only those tuples (rows) of R that satisfy the specified condition (predicate). [CLO 1] 
A. Cartesian product 
B. Difference 
C. Selection 
D. Intersection
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 5 of 20 
11. _________________ works on a single relation R and defines a relation that contains a vertical subset of R, extracting the values of specified attributes and eliminating duplicates. [CLO 1] 
A. Projection 
B. Cartesian Product 
C. Difference 
D. Intersection 
12. The ______________set operator combines all tuples from two relations excluding duplicates. [CLO 1] 
A. Union 
B. Intersect 
C. Difference 
D. Divide 
13. The ___________ operator returns all tuples in one relation that are not found in other relation. [CLO 1] 
A. Intersect 
B. Product 
C. Select 
D. Difference 
14. What is meant by the term union compatibility? [CLO 1] 
A. When two or more tables share the same number of columns 
B. When two or more tables have the same degree 
C. When two or more tables share the same domains 
D. When two or more tables share the same number of columns and when they share the same domain
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 6 of 20 
15. What is meant by the following relational algebra statement? 
STUDENT x COURSE [CLO 1] 
A. Compute the natural join between the STUDENT and COURSE relations. 
B. Compute the left outer join between the STUDENT and COURSE relations. 
C. Compute the Cross Product between the STUDENT and COURSE relations. 
D. Compute the outer join between the STUDENT and COURSE relations. 
Question 16,17 and 18 are based on Figure 2 : 
Figure 2 
16. A relational algebra operator applied to tables of EMPLOYEES and DEPARTMENT produces the following result as in Table 1 
Table 1 
The operator is: [CLO 3] 
A. An outer join operator 
B. The project operator 
C. The cross product operator 
D. The natural join operator
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 7 of 20 
17. A relational algebra operator applied to tables of EMPLOYEES and DEPARTMENT produces the following result as in Table 2 
Table 2 
The operator is: [CLO 3] 
A. An outer join operator 
B. The project operator 
C. The cross product operator 
D. The natural join operator 
18. A relational algebra operator applied to tables of EMPLOYEES and DEPARTMENT produces the following result as in Table 3 
Table 3 
The operator is: [CLO 3] 
A. An outer join operator 
B. The project operator 
C. The cross product operator 
D. The natural join operator 
19. Which clause would you use in a SELECT statement to limit the display to those employees whose salary is greater than 5000? [CLO 3] 
A. WHERE SALARY > 5000 
B. HAVING SALARY > 5000
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 8 of 20 
C. ORDER BY SALARY > 5000 
D. GROUP BY SALARY > 5000 
20. 
You use this SQL statement to retrieve data from a table for ______________. 
[CLO 1] 
A. Viewing 
B. Deleting 
C. Inserting 
D. Updating 
21. Which are Data Manipulation Language (DML) statements? 
i. SELECT 
ii. ALTER 
iii. DROP 
iv. DELETE 
[CLO 1] 
A. i, iv 
B. ii, iii 
C. i, ii, iii 
D. ii, iii, iv 
22. What happens if the WHERE clause is omitted from a DELETE statement? 
[CLO 1] 
A. All records from the table are deleted 
B. No record from the table will be deleted 
C. First record of the table will be deleted 
D. The statement will not be executed and will give a syntax error 
SELECT * 
FROM orders;
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 9 of 20 
23. You need to produce a report for mailing labels for all customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns: 
CUST_ID NUMBER(4) NOT NULL 
CUST_NAME VARCHAR2(100) NOT NULL 
CUST_ADDRESS VARCHAR2(150) 
CUST_PHONE VARCHAR2(20) 
Which SELECT statement accomplishes this task? [CLO3] 
A. SELECT *FROM CUSTOMERS; 
B. SELECT CUST_NAME, CUST_ADDRESS, CUST_PHONE 
FROM CUSTOMERS; 
C. SELECT CUST_ID,CUST_NAME,CUST_ADDRESS, CUST_PHONE 
FROM CUSTOMERS; 
D. SELECT CUST_NAME, CUST_ADDRESS 
FROM CUSTOMERS; 
24. Which INSERT statement is correct to insert a new row into table of employees? 
A. INSERT INTO employees (employee_id) VALUES (1000); 
B. INSERT INTO employees VALUES (NULL, ‘John’, ‘Smith’); 
C. INSERT INTO employees (first_name, last_name) VALUES (‘John’, ‘Smith’); 
D. INSERT INTO employees (first_name, last_name, employee_id) VALUES (100, ‘John’, ‘Smith’);
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 10 of 20 
25. How to select all the records from a table named ‘Persons’ where the value of the column “FirstName” starts with an “a” using SQL statement? [CLO 3] 
A. SELECT * FROM Persons WHERE FirstName LIKE ‘%a’; 
B. SELECT * FROM Persons WHERE FirstName= ‘a’; 
C. SELECT * FROM Persons WHERE FirstName LIKE ‘a%’; 
D. SELECT * FROM Persons WHERE FirstName LIKE ‘%a%’; 
26. In UPDATE statement, choose the correct answer to update firstname = Mary to firstname = Marry from a table named "staff". [CLO 3] 
A. UPDATE RECORD staff SET FName = 'Marry' WHERE LName = 'Mary'; 
B. UPDATE staff SET FName = 'Marry' WHERE LName = 'Mary'; 
C. UPDATE staff SET INTO FName = 'Marry' WHERE LName = 'Mary'; 
D. UPDATE RECORD staff SET INTO FName = 'Marry' WHERE LName = 'Mary'; 
27. A goal of normalization is to minimize _____________. [CLO 1] 
A. the number of relationships 
B. the number of entities 
C. the number of tables 
D. data redundancy 
28. A table that satisfies 2NF ___________________. [CLO 1] 
A. always satisfies 1NF 
B. may violate 1NF 
C. always satisfies 3NF 
D. always satisfies BCNF 
29. On an entity-relationship diagram, a diamond represents a ___________.
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 11 of 20 
[CLO 1] 
A. multivalued attribute 
B. data flow 
C. entity 
D. relationship 
30. A person, place, object, event, or concept in the user environment about which the organization wishes to maintain data refers to a(n): ___________________ . [CLO 1] 
A. Cardinality 
B. Attribute 
C. Relationship 
D. Entity 
31. When applying the optional 1-M relationship rule for converting an ERD into a relational table design, which of the following statements is true? [CLO1] 
A. Each 1-M relationship with 0 for the minimum cardinality on the parent side becomes a new table. B. The primary key of the new table is the primary key of the entity type on the child (many) side of the relationship. 
C. The new table contains foreign keys for the primary keys of both entity types participating in the relationship. 
D. Both foreign keys in the new table do not permit null values. 
32. What type of relationship is expressed with the phrase "Student takes Class"? 
[CLO 1] 
A. 1 : M 
B. M : 1 
C. 1 : 1 
D. M : N 
33. When applying the M-N relationship rule for converting an ERD into a relational table design, which of the following statements is true?
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 12 of 20 
i. Each M-N relationship becomes a separate table ii. The foreign keys must not allow null values. iii. The primary key of the table is a combined key consisting of the primary keys of the entity types participating in the M-N relationship. iv. The primary key of the table is the primary key of the entity type participating in the M-N relationship which has the most attributes. 
[CLO 1] A. i,ii B. i,iii C. i,ii,iii D. ii,iii,iv 
34. Based on Figure 3 the BOOKS and MEMBER entities are related to each other. The relationship on the MEMBER side indicates that: 
Figure 3 
[CLO 1] 
A. A BOOKS may be borrowed by one or more MEMBER. 
B. A MEMBER may borrow one BOOKS. 
C. A BOOKS may be borrowed by zero or one MEMBER only. 
D. A MEMBER may borrow zero or more BOOKS.
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 13 of 20 
35. Choose the correct Entity Relationship Model diagram based on the situation given. 
“Each INSTRUCTOR may teach one or more CLASS” 
“Each CLASS is taught by one INSTRUCTOR” 
[CLO 1] 
A. 
B. 
C. . 
D. 
36. ______________ refers to the requirement that other operations cannot access data that has been modified during a transaction that has not yet been completed. 
[CLO 2] 
A. Consistent 
B. Isolated 
C. Durable 
D. Atomic 
C INSTRUCTOR 
CLASS 
teach 
1 
1 
((0, N) 
(1,1) 
C INSTRUCTOR 
CLASS 
teach 
(1,N) 
(1,1) 
1 
M 
C INSTRUCTOR 
CLASS 
teach 
(0,1) 
(1,1) 
1 
1 
C INSTRUCTOR 
CLASS 
teach 
(0,N) 
(1,1) 
1 
M
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 14 of 20 
37. _____________is the ability of the DBMS to recover the committed transaction updates against any kind of system failure. [CLO 2] A. Consistent B. Isolated C. Durable D. Atomic 
38. Deadlocks are possible only when one of the transactions wants to obtain a (n) _________________ lock on a data item. [CLO 2] 
A. Binary 
B. Exclusive 
C. Shared 
D. Complete 
39. Which of the following term below refers to the statement stated below? 
[CLO 2] 
A. Consistent 
B. Durable 
C. Atomic 
D. Isolated 
 All of the tasks of a database transaction must be completed  If incomplete due to any possible reasons, the database transaction must be aborted.
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 15 of 20 
40. If locking is not available and several users access a database concurrently, problems may occur if their transactions use the same data at the same time. Concurrency problems include 
i. Lost or buried updates. 
ii. Uncommitted dependency 
iii. Inconsistent analysis 
iv. Transaction Log 
[CLO 2] 
A. i 
B. ii,iii 
C. i,ii,iii 
D. i,iii,iv
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 16 of 20 
SECTION B 
STRUCTURED QUESTIONS (50 marks) 
INSTRUCTION: 
This section consists of TWO (2) structured questions. Answer ALL questions. 
QUESTION 1 
a) ANSI-SPARC Architecture, is an abstract design standard for a Database Management System (DBMS), first proposed in 1975. Given ANSI- SPARC architecture in Figure 1.1, explain each level. 
Figure 1.1 
[CLO 1] 
(3 marks) 
b) Database is a collection of persistent data that can be shared and interrelated. 
i. Explain TWO (2) properties of database. 
ii. Explain TWO (2) features of Database Management System. 
[CLO 1] 
(4 marks) 
[CLO 1] 
(2 marks) 
c) Illustrate THREE (3) most common relationships in E-R models. 
[CLO 1] 
(3 marks)
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 17 of 20 
STUDENT 
STU_NUM STU_LNAME 
321452 Bowser 
324257 Smithson 
ENROLL 
CLASS_CODE STU_NUM ENROLL_GRADE 
10014 321452 C 
10014 324257 B 
10018 321452 A 
10018 324257 B 
10021 321452 C 
10021 324257 C 
CLASS 
CLASS_CODE CRS_CODE CLASS_SECTION CLASS_TIME CLASS_ROOM PROF_NUM 
10014 ACCT-211 3 THUR, 2:30 - 3.45 PM BUS252 342 
10018 CIT-220 2 MON, 9:00 - 9:50 PM KLR211 114 
10021 QM-261 1 WED, 8:00 - 8:50 AM KLR200 114 
d) Study the tables STUDENT, ENROLL and CLASS in Figure 1.2: 
Figure 1.2 
i. Determine primary key for each table 
ii. Determine foreign keys for these tables 
iii. Write suitable command to create a new table consisting of 
class code, student number, class room and class time 
[CLO 3] 
(2 marks) 
[CLO 3] 
(2 marks) 
[CLO3] 
(4 marks)
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 18 of 20 
e) Draw the ER Diagram for relational schemes in Figure 1.3: 
PRODUCT ( product_code, product_name, price, brand) 
BUYS ( recipt_no, product_code, quantity, discount, sub_total) 
RECIPT ( receipt_no, date, customer_no) 
CUSTOMER ( customer_no, name, address, phone_no) 
Figure 1.3 
[CLO 3] 
(5 marks) 
QUESTION 2 
a) i) Explain TWO (2) properties of database transaction. 
ii) Explain TWO (2) types of recovery tools. 
[CLO 1] 
(4 marks) 
[CLO 2] 
(2 marks) 
b) Identify THREE (3) DDL statements in SQL and the function of each statement. 
[CLO 1] 
(3 marks) 
c) Describe the terms below: 
i. Normalization 
ii. Second Normal Form (2NF) 
iii. Third Normal Form (3NF) 
[CLO 1] 
(3 marks)
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 19 of 20 
d) Generate the output for the following SQL statements based on 
Table 2.1. 
Table 2.1 
i. SELECT vehicleID, platNo, yearProduce, model 
FROM vehicle 
WHERE yearProduce >= 2000 
ORDER BY yearProduce asc 
ii. SELECT vehicleID, platNo, model 
FROM vehicle 
WHERE model LIKE “Perodua%” 
iii. SELECT vehicleID, platNo, yearProduce 
FROM vehicle 
WHERE price < 20000 
iv. SELECT SUM(price) 
FROM vehicle 
[CLO 3] 
(2 marks) 
(2 marks) 
(2 marks) 
(2 marks)
CONFIDENTIAL FP304 DATABASE SYSTEM 
Page 20 of 20 
e) Table 2.2 shows a list of patient appointments with the doctor. Each patient is given the time and date of appointment with doctors in a particular room. Show the steps on how you make the process of normalization stage 1NF, 2NF and 3NF. 
Appointment 
[CLO 3] 
(5 marks) 
Table 2.2 
NoBilikTarikhMasaAT020123Kamal1/12/200210.00S15AT00111Jamaliah1/12/200212.00S15CT00456Sudin1/12/200210.00S10CT00456Sudin14/1/200214.00S10AT00111Jamaliah14/1/200216.30S15AT00103Abu15/1/200218.00S13NamaPesakitTemujanji8765Shamsul8602Maizul8111AzizStaff#Nama_DoktorPesakit#

More Related Content

What's hot

Fundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and AnswersFundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and AnswersOXUS 20
 
Nested Queries Lecture
Nested Queries LectureNested Queries Lecture
Nested Queries LectureFelipe Costa
 
Relational algebra ppt
Relational algebra pptRelational algebra ppt
Relational algebra pptGirdharRatne
 
Functional dependencies in Database Management System
Functional dependencies in Database Management SystemFunctional dependencies in Database Management System
Functional dependencies in Database Management SystemKevin Jadiya
 
Creating and Managing Tables -Oracle Data base
Creating and Managing Tables -Oracle Data base Creating and Managing Tables -Oracle Data base
Creating and Managing Tables -Oracle Data base Salman Memon
 
7. Relational Database Design in DBMS
7. Relational Database Design in DBMS7. Relational Database Design in DBMS
7. Relational Database Design in DBMSkoolkampus
 
Relational Algebra & Calculus
Relational Algebra & CalculusRelational Algebra & Calculus
Relational Algebra & CalculusAbdullah Khosa
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational modelChirag vasava
 
Relational algebra in dbms
Relational algebra in dbmsRelational algebra in dbms
Relational algebra in dbmsshekhar1991
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2shahab3
 
Integrity constraints in dbms
Integrity constraints in dbmsIntegrity constraints in dbms
Integrity constraints in dbmsVignesh Saravanan
 
Jdbc architecture and driver types ppt
Jdbc architecture and driver types pptJdbc architecture and driver types ppt
Jdbc architecture and driver types pptkamal kotecha
 
Distributed database management system
Distributed database management  systemDistributed database management  system
Distributed database management systemPooja Dixit
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Userssontumax
 
DBMS Assignments Questions
DBMS Assignments QuestionsDBMS Assignments Questions
DBMS Assignments QuestionsSara Sahu
 

What's hot (20)

Fundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and AnswersFundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and Answers
 
Nested Queries Lecture
Nested Queries LectureNested Queries Lecture
Nested Queries Lecture
 
Relational algebra ppt
Relational algebra pptRelational algebra ppt
Relational algebra ppt
 
Functional dependencies in Database Management System
Functional dependencies in Database Management SystemFunctional dependencies in Database Management System
Functional dependencies in Database Management System
 
Creating and Managing Tables -Oracle Data base
Creating and Managing Tables -Oracle Data base Creating and Managing Tables -Oracle Data base
Creating and Managing Tables -Oracle Data base
 
Class diagram
Class diagramClass diagram
Class diagram
 
7. Relational Database Design in DBMS
7. Relational Database Design in DBMS7. Relational Database Design in DBMS
7. Relational Database Design in DBMS
 
Relational Algebra & Calculus
Relational Algebra & CalculusRelational Algebra & Calculus
Relational Algebra & Calculus
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Relational algebra in dbms
Relational algebra in dbmsRelational algebra in dbms
Relational algebra in dbms
 
Unit03 dbms
Unit03 dbmsUnit03 dbms
Unit03 dbms
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2
 
Integrity constraints in dbms
Integrity constraints in dbmsIntegrity constraints in dbms
Integrity constraints in dbms
 
Normal forms
Normal formsNormal forms
Normal forms
 
Jdbc architecture and driver types ppt
Jdbc architecture and driver types pptJdbc architecture and driver types ppt
Jdbc architecture and driver types ppt
 
Basic SQL and History
 Basic SQL and History Basic SQL and History
Basic SQL and History
 
Distributed database management system
Distributed database management  systemDistributed database management  system
Distributed database management system
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
 
Functional dependency
Functional dependencyFunctional dependency
Functional dependency
 
DBMS Assignments Questions
DBMS Assignments QuestionsDBMS Assignments Questions
DBMS Assignments Questions
 

Viewers also liked

Previous question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEBPrevious question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEBShabeeb Shabi
 
Fundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and AnswersFundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and AnswersAbdul Rahman Sherzad
 
Database Q&A
Database  Q&ADatabase  Q&A
Database Q&Aeduafo
 
2009 Punjab Technical University B.C.A Database Management System Question paper
2009 Punjab Technical University B.C.A Database Management System Question paper2009 Punjab Technical University B.C.A Database Management System Question paper
2009 Punjab Technical University B.C.A Database Management System Question paperMonica Sabharwal
 
FINAL PAPER FP304 DATABASE SYSTEM
FINAL PAPER FP304 DATABASE SYSTEMFINAL PAPER FP304 DATABASE SYSTEM
FINAL PAPER FP304 DATABASE SYSTEMAmira Dolce Farhana
 
Chapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management SystemChapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management SystemEddyzulham Mahluzydde
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database systemphilipsinter
 
Mobile operating system by Shabeeb
Mobile operating system by ShabeebMobile operating system by Shabeeb
Mobile operating system by ShabeebShabeeb Shabi
 
Making a simple question into a complicated query
Making a simple question into a complicated queryMaking a simple question into a complicated query
Making a simple question into a complicated queryRichard Boulton
 
Ch 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashingCh 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashingZainab Almugbel
 
Flow of accounting_entries_in_oracle_applications
Flow of accounting_entries_in_oracle_applicationsFlow of accounting_entries_in_oracle_applications
Flow of accounting_entries_in_oracle_applicationsSomasekhar Reddy
 
FP305 data structure june 2012
FP305   data structure june 2012FP305   data structure june 2012
FP305 data structure june 2012Syahriha Ruslan
 

Viewers also liked (20)

Previous question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEBPrevious question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEB
 
Fundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and AnswersFundamentals of Database Systems Questions and Answers
Fundamentals of Database Systems Questions and Answers
 
Database Q&A
Database  Q&ADatabase  Q&A
Database Q&A
 
2009 Punjab Technical University B.C.A Database Management System Question paper
2009 Punjab Technical University B.C.A Database Management System Question paper2009 Punjab Technical University B.C.A Database Management System Question paper
2009 Punjab Technical University B.C.A Database Management System Question paper
 
FINAL PAPER FP304 DATABASE SYSTEM
FINAL PAPER FP304 DATABASE SYSTEMFINAL PAPER FP304 DATABASE SYSTEM
FINAL PAPER FP304 DATABASE SYSTEM
 
Chapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management SystemChapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management System
 
Int306 04
Int306 04Int306 04
Int306 04
 
Paper review
Paper reviewPaper review
Paper review
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
 
Mobile operating system by Shabeeb
Mobile operating system by ShabeebMobile operating system by Shabeeb
Mobile operating system by Shabeeb
 
Making a simple question into a complicated query
Making a simple question into a complicated queryMaking a simple question into a complicated query
Making a simple question into a complicated query
 
Ch 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashingCh 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashing
 
Oracle Forms
Oracle FormsOracle Forms
Oracle Forms
 
Flow of accounting_entries_in_oracle_applications
Flow of accounting_entries_in_oracle_applicationsFlow of accounting_entries_in_oracle_applications
Flow of accounting_entries_in_oracle_applications
 
Int306 02
Int306 02Int306 02
Int306 02
 
Int306 01
Int306 01Int306 01
Int306 01
 
Int306 00
Int306 00Int306 00
Int306 00
 
Int306 03
Int306 03Int306 03
Int306 03
 
Final Exam OS fall 2012-2013 with answers
Final Exam OS fall 2012-2013 with answersFinal Exam OS fall 2012-2013 with answers
Final Exam OS fall 2012-2013 with answers
 
FP305 data structure june 2012
FP305   data structure june 2012FP305   data structure june 2012
FP305 data structure june 2012
 

Similar to Confidential Database System Exam Questions

284566820 1 z0-061(1)
284566820 1 z0-061(1)284566820 1 z0-061(1)
284566820 1 z0-061(1)panagara
 
FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3Syahriha Ruslan
 
this is about databases questions , maybe i miss copy some option D,.docx
this is about databases questions , maybe i miss copy some option D,.docxthis is about databases questions , maybe i miss copy some option D,.docx
this is about databases questions , maybe i miss copy some option D,.docxEvonCanales257
 
Oracle OCP 1Z0-007题库
Oracle OCP 1Z0-007题库Oracle OCP 1Z0-007题库
Oracle OCP 1Z0-007题库renguzi
 
FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013Syahriha Ruslan
 
1Z0-061 Oracle Database 12c: SQL Fundamentals
1Z0-061 Oracle Database 12c: SQL Fundamentals1Z0-061 Oracle Database 12c: SQL Fundamentals
1Z0-061 Oracle Database 12c: SQL FundamentalsLydi00147
 
Suppose that a PRODUCT table contains two attributes, PROD_CODE an.docx
Suppose that a PRODUCT table contains two attributes, PROD_CODE an.docxSuppose that a PRODUCT table contains two attributes, PROD_CODE an.docx
Suppose that a PRODUCT table contains two attributes, PROD_CODE an.docxpicklesvalery
 
BISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.docBISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.docAnimutGeremew3
 
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Alpro
 
04 quiz 1 answer key
04 quiz 1 answer key04 quiz 1 answer key
04 quiz 1 answer keyAnne Lee
 
Systems Analysis and Design 9th Edition Kendall Test Bank
Systems Analysis and Design 9th Edition Kendall Test BankSystems Analysis and Design 9th Edition Kendall Test Bank
Systems Analysis and Design 9th Edition Kendall Test Bankhosixabuc
 
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdf
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdfgratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdf
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdfNarReg
 
QUESTION 1What type of items are valid for use in the value list o.docx
QUESTION 1What type of items are valid for use in the value list o.docxQUESTION 1What type of items are valid for use in the value list o.docx
QUESTION 1What type of items are valid for use in the value list o.docxteofilapeerless
 

Similar to Confidential Database System Exam Questions (20)

SQL MCQ
SQL MCQSQL MCQ
SQL MCQ
 
284566820 1 z0-061(1)
284566820 1 z0-061(1)284566820 1 z0-061(1)
284566820 1 z0-061(1)
 
FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3
 
this is about databases questions , maybe i miss copy some option D,.docx
this is about databases questions , maybe i miss copy some option D,.docxthis is about databases questions , maybe i miss copy some option D,.docx
this is about databases questions , maybe i miss copy some option D,.docx
 
Oracle OCP 1Z0-007题库
Oracle OCP 1Z0-007题库Oracle OCP 1Z0-007题库
Oracle OCP 1Z0-007题库
 
FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013
 
1Z0-061 Oracle Database 12c: SQL Fundamentals
1Z0-061 Oracle Database 12c: SQL Fundamentals1Z0-061 Oracle Database 12c: SQL Fundamentals
1Z0-061 Oracle Database 12c: SQL Fundamentals
 
Dump Answers
Dump AnswersDump Answers
Dump Answers
 
Suppose that a PRODUCT table contains two attributes, PROD_CODE an.docx
Suppose that a PRODUCT table contains two attributes, PROD_CODE an.docxSuppose that a PRODUCT table contains two attributes, PROD_CODE an.docx
Suppose that a PRODUCT table contains two attributes, PROD_CODE an.docx
 
SQL CHEAT SHEET
SQL CHEAT SHEETSQL CHEAT SHEET
SQL CHEAT SHEET
 
T6
T6T6
T6
 
BISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.docBISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.doc
 
Johor trial-09-c
Johor trial-09-cJohor trial-09-c
Johor trial-09-c
 
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
 
04 quiz 1 answer key
04 quiz 1 answer key04 quiz 1 answer key
04 quiz 1 answer key
 
Systems Analysis and Design 9th Edition Kendall Test Bank
Systems Analysis and Design 9th Edition Kendall Test BankSystems Analysis and Design 9th Edition Kendall Test Bank
Systems Analysis and Design 9th Edition Kendall Test Bank
 
Chapter 3 ( PART 2 ).pptx
Chapter 3 ( PART 2 ).pptxChapter 3 ( PART 2 ).pptx
Chapter 3 ( PART 2 ).pptx
 
1 z1 051
1 z1 0511 z1 051
1 z1 051
 
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdf
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdfgratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdf
gratisexam.com-Oracle.BrainDumps.1z0-061.v2016-10-10.by.Laura.75q.pdf
 
QUESTION 1What type of items are valid for use in the value list o.docx
QUESTION 1What type of items are valid for use in the value list o.docxQUESTION 1What type of items are valid for use in the value list o.docx
QUESTION 1What type of items are valid for use in the value list o.docx
 

More from Syahriha Ruslan

OSOS SEM 4 Chapter 2 part 1
OSOS SEM 4 Chapter 2 part 1OSOS SEM 4 Chapter 2 part 1
OSOS SEM 4 Chapter 2 part 1Syahriha Ruslan
 
FP 303 COMPUTER NETWORK PAPER FINAL Q
FP 303 COMPUTER NETWORK PAPER FINAL QFP 303 COMPUTER NETWORK PAPER FINAL Q
FP 303 COMPUTER NETWORK PAPER FINAL QSyahriha Ruslan
 
FP 303 COMPUTER NETWORK PAPER FINAL
FP 303 COMPUTER NETWORK PAPER FINALFP 303 COMPUTER NETWORK PAPER FINAL
FP 303 COMPUTER NETWORK PAPER FINALSyahriha Ruslan
 
FP 303 COMPUTER NETWORK FINAL PAPER JUNE 2012
FP 303 COMPUTER NETWORK FINAL PAPER JUNE 2012FP 303 COMPUTER NETWORK FINAL PAPER JUNE 2012
FP 303 COMPUTER NETWORK FINAL PAPER JUNE 2012Syahriha Ruslan
 

More from Syahriha Ruslan (7)

OSOS SEM 4 Chapter 2 part 1
OSOS SEM 4 Chapter 2 part 1OSOS SEM 4 Chapter 2 part 1
OSOS SEM 4 Chapter 2 part 1
 
OSOS SEM 4 Chapter 1
OSOS SEM 4 Chapter 1OSOS SEM 4 Chapter 1
OSOS SEM 4 Chapter 1
 
FP305 data structure
FP305     data structure FP305     data structure
FP305 data structure
 
FP 303 COMPUTER NETWORK PAPER FINAL Q
FP 303 COMPUTER NETWORK PAPER FINAL QFP 303 COMPUTER NETWORK PAPER FINAL Q
FP 303 COMPUTER NETWORK PAPER FINAL Q
 
FP 303 COMPUTER NETWORK PAPER FINAL
FP 303 COMPUTER NETWORK PAPER FINALFP 303 COMPUTER NETWORK PAPER FINAL
FP 303 COMPUTER NETWORK PAPER FINAL
 
FP 303 COMPUTER NETWORK FINAL PAPER JUNE 2012
FP 303 COMPUTER NETWORK FINAL PAPER JUNE 2012FP 303 COMPUTER NETWORK FINAL PAPER JUNE 2012
FP 303 COMPUTER NETWORK FINAL PAPER JUNE 2012
 
FP 301 OOP FINAL PAPER
FP 301 OOP FINAL PAPER FP 301 OOP FINAL PAPER
FP 301 OOP FINAL PAPER
 

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 

Confidential Database System Exam Questions

  • 1. CONFIDENTIAL FP304 DATABASE SYSTEM Page 2 of 20 SECTION A OBJECTIVE QUESTIONS (50 marks) INSTRUCTION: This section consists of FORTY (40) objective questions. Answer ALL questions in the answer booklet. 1. “A software system that enable user to define, create and maintain the database”. This statement describes [CLO 1] A. Oracle 10g B. Microsoft Office Access 2007 C. Database Management System D. Data warehouse 2. The function of a database is to ____________. [CLO 1] A. collect and organize input data B. check all input data C. check all spelling D. output data 3. Choose the software that is commonly used in database. [CLO 1] A. Oracle B. SQL Access C. SQL desktop D. Linux 4. Internal Schema is one of the three-schema architecture. Which one is true about Internal Schema? [CLO 1] A. It hides the details of physical storage structures and concentrates on describing entities, data types, relationships, user operations, and constraints. B. Uses a physical data model and describes the complete details of data storage and access paths for the database.
  • 2. CONFIDENTIAL FP304 DATABASE SYSTEM Page 3 of 20 C. Implementation of data model D. The part of the database that a particular user is interested in and hides the rest of the database from user 5. A _____________ is the set of allowable values for one or more attributes. [CLO 1] A. Cardinality B. Tuple C. Degree D. Domain 6. Within a table, the primary key must be unique so that it will identify each row. When this is the case, the table is said to exhibit ________ integrity. [CLO 1] A. Referential B. Entity C. Enforced D. Key 7. The data type of values that appear in each column is represented by _________________ of possible values. [CLO 1] A. Range B. Product C. Domain D. Function
  • 3. CONFIDENTIAL FP304 DATABASE SYSTEM Page 4 of 20 8. Based on Figure 1, identify which one is the Candidate Key? Figure 1 [CLO 1] A. W B. X C. Y D. Z 9. All companies operate four departments in their organization. This relationship represents a _______________. [CLO 1] A. one-to-one relationship. B. one-to-many relationship. C. many-to-one relationship. D. many-to-many relationship. 10. __________________works on a single relation R and defines a relation that constrains only those tuples (rows) of R that satisfy the specified condition (predicate). [CLO 1] A. Cartesian product B. Difference C. Selection D. Intersection
  • 4. CONFIDENTIAL FP304 DATABASE SYSTEM Page 5 of 20 11. _________________ works on a single relation R and defines a relation that contains a vertical subset of R, extracting the values of specified attributes and eliminating duplicates. [CLO 1] A. Projection B. Cartesian Product C. Difference D. Intersection 12. The ______________set operator combines all tuples from two relations excluding duplicates. [CLO 1] A. Union B. Intersect C. Difference D. Divide 13. The ___________ operator returns all tuples in one relation that are not found in other relation. [CLO 1] A. Intersect B. Product C. Select D. Difference 14. What is meant by the term union compatibility? [CLO 1] A. When two or more tables share the same number of columns B. When two or more tables have the same degree C. When two or more tables share the same domains D. When two or more tables share the same number of columns and when they share the same domain
  • 5. CONFIDENTIAL FP304 DATABASE SYSTEM Page 6 of 20 15. What is meant by the following relational algebra statement? STUDENT x COURSE [CLO 1] A. Compute the natural join between the STUDENT and COURSE relations. B. Compute the left outer join between the STUDENT and COURSE relations. C. Compute the Cross Product between the STUDENT and COURSE relations. D. Compute the outer join between the STUDENT and COURSE relations. Question 16,17 and 18 are based on Figure 2 : Figure 2 16. A relational algebra operator applied to tables of EMPLOYEES and DEPARTMENT produces the following result as in Table 1 Table 1 The operator is: [CLO 3] A. An outer join operator B. The project operator C. The cross product operator D. The natural join operator
  • 6. CONFIDENTIAL FP304 DATABASE SYSTEM Page 7 of 20 17. A relational algebra operator applied to tables of EMPLOYEES and DEPARTMENT produces the following result as in Table 2 Table 2 The operator is: [CLO 3] A. An outer join operator B. The project operator C. The cross product operator D. The natural join operator 18. A relational algebra operator applied to tables of EMPLOYEES and DEPARTMENT produces the following result as in Table 3 Table 3 The operator is: [CLO 3] A. An outer join operator B. The project operator C. The cross product operator D. The natural join operator 19. Which clause would you use in a SELECT statement to limit the display to those employees whose salary is greater than 5000? [CLO 3] A. WHERE SALARY > 5000 B. HAVING SALARY > 5000
  • 7. CONFIDENTIAL FP304 DATABASE SYSTEM Page 8 of 20 C. ORDER BY SALARY > 5000 D. GROUP BY SALARY > 5000 20. You use this SQL statement to retrieve data from a table for ______________. [CLO 1] A. Viewing B. Deleting C. Inserting D. Updating 21. Which are Data Manipulation Language (DML) statements? i. SELECT ii. ALTER iii. DROP iv. DELETE [CLO 1] A. i, iv B. ii, iii C. i, ii, iii D. ii, iii, iv 22. What happens if the WHERE clause is omitted from a DELETE statement? [CLO 1] A. All records from the table are deleted B. No record from the table will be deleted C. First record of the table will be deleted D. The statement will not be executed and will give a syntax error SELECT * FROM orders;
  • 8. CONFIDENTIAL FP304 DATABASE SYSTEM Page 9 of 20 23. You need to produce a report for mailing labels for all customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns: CUST_ID NUMBER(4) NOT NULL CUST_NAME VARCHAR2(100) NOT NULL CUST_ADDRESS VARCHAR2(150) CUST_PHONE VARCHAR2(20) Which SELECT statement accomplishes this task? [CLO3] A. SELECT *FROM CUSTOMERS; B. SELECT CUST_NAME, CUST_ADDRESS, CUST_PHONE FROM CUSTOMERS; C. SELECT CUST_ID,CUST_NAME,CUST_ADDRESS, CUST_PHONE FROM CUSTOMERS; D. SELECT CUST_NAME, CUST_ADDRESS FROM CUSTOMERS; 24. Which INSERT statement is correct to insert a new row into table of employees? A. INSERT INTO employees (employee_id) VALUES (1000); B. INSERT INTO employees VALUES (NULL, ‘John’, ‘Smith’); C. INSERT INTO employees (first_name, last_name) VALUES (‘John’, ‘Smith’); D. INSERT INTO employees (first_name, last_name, employee_id) VALUES (100, ‘John’, ‘Smith’);
  • 9. CONFIDENTIAL FP304 DATABASE SYSTEM Page 10 of 20 25. How to select all the records from a table named ‘Persons’ where the value of the column “FirstName” starts with an “a” using SQL statement? [CLO 3] A. SELECT * FROM Persons WHERE FirstName LIKE ‘%a’; B. SELECT * FROM Persons WHERE FirstName= ‘a’; C. SELECT * FROM Persons WHERE FirstName LIKE ‘a%’; D. SELECT * FROM Persons WHERE FirstName LIKE ‘%a%’; 26. In UPDATE statement, choose the correct answer to update firstname = Mary to firstname = Marry from a table named "staff". [CLO 3] A. UPDATE RECORD staff SET FName = 'Marry' WHERE LName = 'Mary'; B. UPDATE staff SET FName = 'Marry' WHERE LName = 'Mary'; C. UPDATE staff SET INTO FName = 'Marry' WHERE LName = 'Mary'; D. UPDATE RECORD staff SET INTO FName = 'Marry' WHERE LName = 'Mary'; 27. A goal of normalization is to minimize _____________. [CLO 1] A. the number of relationships B. the number of entities C. the number of tables D. data redundancy 28. A table that satisfies 2NF ___________________. [CLO 1] A. always satisfies 1NF B. may violate 1NF C. always satisfies 3NF D. always satisfies BCNF 29. On an entity-relationship diagram, a diamond represents a ___________.
  • 10. CONFIDENTIAL FP304 DATABASE SYSTEM Page 11 of 20 [CLO 1] A. multivalued attribute B. data flow C. entity D. relationship 30. A person, place, object, event, or concept in the user environment about which the organization wishes to maintain data refers to a(n): ___________________ . [CLO 1] A. Cardinality B. Attribute C. Relationship D. Entity 31. When applying the optional 1-M relationship rule for converting an ERD into a relational table design, which of the following statements is true? [CLO1] A. Each 1-M relationship with 0 for the minimum cardinality on the parent side becomes a new table. B. The primary key of the new table is the primary key of the entity type on the child (many) side of the relationship. C. The new table contains foreign keys for the primary keys of both entity types participating in the relationship. D. Both foreign keys in the new table do not permit null values. 32. What type of relationship is expressed with the phrase "Student takes Class"? [CLO 1] A. 1 : M B. M : 1 C. 1 : 1 D. M : N 33. When applying the M-N relationship rule for converting an ERD into a relational table design, which of the following statements is true?
  • 11. CONFIDENTIAL FP304 DATABASE SYSTEM Page 12 of 20 i. Each M-N relationship becomes a separate table ii. The foreign keys must not allow null values. iii. The primary key of the table is a combined key consisting of the primary keys of the entity types participating in the M-N relationship. iv. The primary key of the table is the primary key of the entity type participating in the M-N relationship which has the most attributes. [CLO 1] A. i,ii B. i,iii C. i,ii,iii D. ii,iii,iv 34. Based on Figure 3 the BOOKS and MEMBER entities are related to each other. The relationship on the MEMBER side indicates that: Figure 3 [CLO 1] A. A BOOKS may be borrowed by one or more MEMBER. B. A MEMBER may borrow one BOOKS. C. A BOOKS may be borrowed by zero or one MEMBER only. D. A MEMBER may borrow zero or more BOOKS.
  • 12. CONFIDENTIAL FP304 DATABASE SYSTEM Page 13 of 20 35. Choose the correct Entity Relationship Model diagram based on the situation given. “Each INSTRUCTOR may teach one or more CLASS” “Each CLASS is taught by one INSTRUCTOR” [CLO 1] A. B. C. . D. 36. ______________ refers to the requirement that other operations cannot access data that has been modified during a transaction that has not yet been completed. [CLO 2] A. Consistent B. Isolated C. Durable D. Atomic C INSTRUCTOR CLASS teach 1 1 ((0, N) (1,1) C INSTRUCTOR CLASS teach (1,N) (1,1) 1 M C INSTRUCTOR CLASS teach (0,1) (1,1) 1 1 C INSTRUCTOR CLASS teach (0,N) (1,1) 1 M
  • 13. CONFIDENTIAL FP304 DATABASE SYSTEM Page 14 of 20 37. _____________is the ability of the DBMS to recover the committed transaction updates against any kind of system failure. [CLO 2] A. Consistent B. Isolated C. Durable D. Atomic 38. Deadlocks are possible only when one of the transactions wants to obtain a (n) _________________ lock on a data item. [CLO 2] A. Binary B. Exclusive C. Shared D. Complete 39. Which of the following term below refers to the statement stated below? [CLO 2] A. Consistent B. Durable C. Atomic D. Isolated  All of the tasks of a database transaction must be completed  If incomplete due to any possible reasons, the database transaction must be aborted.
  • 14. CONFIDENTIAL FP304 DATABASE SYSTEM Page 15 of 20 40. If locking is not available and several users access a database concurrently, problems may occur if their transactions use the same data at the same time. Concurrency problems include i. Lost or buried updates. ii. Uncommitted dependency iii. Inconsistent analysis iv. Transaction Log [CLO 2] A. i B. ii,iii C. i,ii,iii D. i,iii,iv
  • 15. CONFIDENTIAL FP304 DATABASE SYSTEM Page 16 of 20 SECTION B STRUCTURED QUESTIONS (50 marks) INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions. QUESTION 1 a) ANSI-SPARC Architecture, is an abstract design standard for a Database Management System (DBMS), first proposed in 1975. Given ANSI- SPARC architecture in Figure 1.1, explain each level. Figure 1.1 [CLO 1] (3 marks) b) Database is a collection of persistent data that can be shared and interrelated. i. Explain TWO (2) properties of database. ii. Explain TWO (2) features of Database Management System. [CLO 1] (4 marks) [CLO 1] (2 marks) c) Illustrate THREE (3) most common relationships in E-R models. [CLO 1] (3 marks)
  • 16. CONFIDENTIAL FP304 DATABASE SYSTEM Page 17 of 20 STUDENT STU_NUM STU_LNAME 321452 Bowser 324257 Smithson ENROLL CLASS_CODE STU_NUM ENROLL_GRADE 10014 321452 C 10014 324257 B 10018 321452 A 10018 324257 B 10021 321452 C 10021 324257 C CLASS CLASS_CODE CRS_CODE CLASS_SECTION CLASS_TIME CLASS_ROOM PROF_NUM 10014 ACCT-211 3 THUR, 2:30 - 3.45 PM BUS252 342 10018 CIT-220 2 MON, 9:00 - 9:50 PM KLR211 114 10021 QM-261 1 WED, 8:00 - 8:50 AM KLR200 114 d) Study the tables STUDENT, ENROLL and CLASS in Figure 1.2: Figure 1.2 i. Determine primary key for each table ii. Determine foreign keys for these tables iii. Write suitable command to create a new table consisting of class code, student number, class room and class time [CLO 3] (2 marks) [CLO 3] (2 marks) [CLO3] (4 marks)
  • 17. CONFIDENTIAL FP304 DATABASE SYSTEM Page 18 of 20 e) Draw the ER Diagram for relational schemes in Figure 1.3: PRODUCT ( product_code, product_name, price, brand) BUYS ( recipt_no, product_code, quantity, discount, sub_total) RECIPT ( receipt_no, date, customer_no) CUSTOMER ( customer_no, name, address, phone_no) Figure 1.3 [CLO 3] (5 marks) QUESTION 2 a) i) Explain TWO (2) properties of database transaction. ii) Explain TWO (2) types of recovery tools. [CLO 1] (4 marks) [CLO 2] (2 marks) b) Identify THREE (3) DDL statements in SQL and the function of each statement. [CLO 1] (3 marks) c) Describe the terms below: i. Normalization ii. Second Normal Form (2NF) iii. Third Normal Form (3NF) [CLO 1] (3 marks)
  • 18. CONFIDENTIAL FP304 DATABASE SYSTEM Page 19 of 20 d) Generate the output for the following SQL statements based on Table 2.1. Table 2.1 i. SELECT vehicleID, platNo, yearProduce, model FROM vehicle WHERE yearProduce >= 2000 ORDER BY yearProduce asc ii. SELECT vehicleID, platNo, model FROM vehicle WHERE model LIKE “Perodua%” iii. SELECT vehicleID, platNo, yearProduce FROM vehicle WHERE price < 20000 iv. SELECT SUM(price) FROM vehicle [CLO 3] (2 marks) (2 marks) (2 marks) (2 marks)
  • 19. CONFIDENTIAL FP304 DATABASE SYSTEM Page 20 of 20 e) Table 2.2 shows a list of patient appointments with the doctor. Each patient is given the time and date of appointment with doctors in a particular room. Show the steps on how you make the process of normalization stage 1NF, 2NF and 3NF. Appointment [CLO 3] (5 marks) Table 2.2 NoBilikTarikhMasaAT020123Kamal1/12/200210.00S15AT00111Jamaliah1/12/200212.00S15CT00456Sudin1/12/200210.00S10CT00456Sudin14/1/200214.00S10AT00111Jamaliah14/1/200216.30S15AT00103Abu15/1/200218.00S13NamaPesakitTemujanji8765Shamsul8602Maizul8111AzizStaff#Nama_DoktorPesakit#