Professional Documents
Culture Documents
Inf2603 S2 2018
Inf2603 S2 2018
Inf2603 S2 2018
INSTRUCTIONS
1. Answer ALL 5 questions.
2. All questions must be answered in the answer book.
3. The use of a calculator is not permissible.
4. NOTE that the MCQs in Question 1 must be answered in the answer book.
[TURN OVER]
2
INF2603
Oct/Nov 2018
a. ad hoc query
b. ad hoc response
1.3 Which discipline focus on the proper generation, storage and retrieval of data?
a. Data Manipulation
b. Data Management
c. Data Storage
d. Information Management
c. identifying the attributes and primary keys that adequately describe the entities.
[TURN OVER]
3
INF2603
Oct/Nov 2018
1.5 Which one of the following database management systems does not support Analytical data usage?
a. MS Access
b. MySQL
c. SAP HANA
d. IBM DB2
a. One-to-one
b. One-to-many
c. Many-to-many
1.7 The conflicts between design efficiency, information requirements, and performance are often
resolved through _____.
a. It refers to the activities that focus on the design of the database structure.
b. A good database is that one that meets the minimum design specifications.
c. A well designed database facilitates data management and generates accurate and valuable
information.
d. Designing a transitional database emphasizes accurate and consistent data and operational
speed.
[TURN OVER]
4
INF2603
Oct/Nov 2018
a. Acts like a WHERE clause but is used for groups rather than rows.
b. Acts like a WHERE clause but is used for rows rather than columns.
c. Acts like a WHERE clause but is used for columns rather than groups.
[TURN OVER]
5
INF2603
Oct/Nov 2018
A B C D E F G
[TURN OVER]
6
INF2603
Oct/Nov 2018
3.1.a Break up the dependency diagram to create two new dependency diagrams, one in 3NF and one
in 2NF. (7)
3.1.b. Modify the dependency diagrams you created in Problem 3.1.a to produce a set of dependency
diagrams that are all in 3NF. To keep the entire collection of attributes together, copy the 3NF
dependency diagram from Problem 3.1.b and then show the new dependency diagrams that are
also in 3NF. (Hint: One of your dependency diagrams will be in 3NF, but not in BCNF.) (8)
The FlyRight Aircraft Maintenance (FRAM) division of the FlyRight Company (FRC) performs all
maintenance for FRC’s aircraft. Produce a Crow’s Foot ERD segment that reflects the following
business rules:
All mechanics are FRC employees. Not all employees are mechanics.
Some mechanics are specialized in engine (EN) maintenance. Some mechanics are specialized in
airframe (AF) maintenance. Some mechanics are specialized in avionics (AV) maintenance.
(Avionics are the electronic components of an aircraft that are used in communication and
navigation.) All mechanics take periodic refresher courses to stay current in their areas of expertise.
FRC tracks all course taken by each mechanic—date, course type, certification (Y/N), and
performance.
FRC keeps a history of the employment of all mechanics. The history includes the date hired, date
promoted, date terminated, and so on. (Note: The “and so on” component is, of course, not a real-
world requirement. Instead, it has been used here to limit the number of attributes you will show
in your design.)
[TURN OVER]
7
INF2603
Oct/Nov 2018
5.1. The two tables below are part of a database for a consulting company that tracks all changes to
projects.
Given the structure and contents of the database shown in tables above, use SQL commands to answer
questions 5.1.a – d.
NOTE: All SQL syntax must be correct, missing characters will be penalized!
a. Write the SQL code to change the job code to 508 for the employees whose personnel numbers
are 103 and 106. (4)
b. Write the SQL code to delete the row for the person named David Senior, who was hired on 12
July 1989, and whose job code classification is 501. (Hint: Use logical operators to include all of
the information given in this problem. (7)
c. Write the SQL code that will restore the data to its original status; that is, the table should contain
the data that existed before you made the changes in Question 5.1.a. (1)
d. Write the SQL code to delete table JOB from the database. (2)
© UNISA 2018
[TURN OVER]