Sei sulla pagina 1di 5

PART I

1. What is one problem of maintaining company data in a spreadsheet where there would be
duplication of data or storing of the same data in more than one place?
REDUNDANCY / DUPLICATION
2. It is a structure that can store information about different categories of information and their
relationships.
DATABASE
3. What represents a database visually where there are rectangles and connecting lines?
ENTITY-RELATIONSHIP (E-R) DIAGRAM
4. It is an association between entities?
RELATIONSHIP
5. It is a characteristic or property of an entity. It may also be called as field or column.
ATTRIBUTE
6. It is a program or collection of programs, through which users interact with a database.
DATABASE MANAGEMENT SYSTEM (DBMS)
7. What are screen objects that are used to maintain, view, and print data from a database?
FORMS
For numbers 8-10, give any 3 disadvantages of database processing.
LARGER FILE SIZE; INCREASED COMPLEXITY; GREATER IMPACT OF FAILURE; MORE
DIFFICULT RECOVERY
For numbers 11-15, give any 5 advantages of database processing.
GETTING MORE INFORMATION FROM SAME AMOUNT OF DATA
SHARING DATA
BALANCING CONFLICTING REQUIREMENTS
CONTROLLING REDUNDANCY
FACILITATING CONSISTENCY
IMPROVING INTEGRITY
EXPANDING SECURITY
INCREASING PRODUCTIVITY
PROVIDING DATA INDEPENDENCE
For numbers 16-20, refer to the following figure:

16.List down the entities.


INVOICELINE, INVOICE, SUPPLIER, EMPLOYEE
17.What is the relationship between Employee and Invoice?
ONE-TO-MANY
18.What does the dotted end of the connecting line represent in a relationship?
MANY PART
19.List down the primary key(s) of the InvoiceLine table.
INVOICENUM, LINENUM
20.Give the shorthand representation of the Supplier table.
SUPPLIER (SUPPLIERNUM, SUPPLIERNAME, CITY, PROVINCE, COUNTRY, BALANCE,
CREDITLIMIT)
For numbers 21-23, refer to the following figure:

21.What is the specific name of this object where you can view, maintain, and print information
from?
BRANCH FORM
22.What are these called?
FIELD NAMES/ FIELDS/ ATTRIBUTES/ COLUMNS
23.What are these called?
FIELD VALUES/ VALUES/ RECORDS
24.A term used to refer to a collection of tables and relations.
RELATIONAL DATABASE
25.It is a visual approach to writing queries.
QUERY-BY-EXAMPLE (QBE)
26.Give 3 kinds of queries in Access that are harmful to the database.
UPDATE, DELETE, APPEND
27.Give 4 aggregate functions in Access.
SUM, AVG, COUNT, MAX, MIN, STDEV, VAR, FIRST, LAST
28.It is a theoretical way of manipulating a relational database.
RELATIONAL ALGEBRA
29.It is a command that takes a horizontal subset of a table; it also retrieves certain rows from an
existing table.
SELECT
30.It is a command that takes a vertical subset of a table; it also retrieves certain columns from
an existing table.
PROJECT
PART II
Open the Test1.accdb file in your accounts.
1. List the names and IDs of Employees under the Treasury department. 3 points

01
FirstName

LastName

EmployeeID

Juan

Dela Cruz

101

Martha

Abella

103

2. List the invoice numbers, and its amount, prepared by Juan Dela Cruz. 3 points

02
InvoiceNum

Amount

002

Php40,000.00

310

Php4,600.00

008

Php24,000.00

3. List the invoice numbers, amount, tax and the net of tax amount created under SupplierNum
1007. 3 points

03
InvoiceNum

SumOfAmount

SumOfTaxAmount

NetAmount

201

Php12,000.00

Php1,200.00

Php10,800.00

310

Php4,600.00

Php460.00

Php4,140.00

311

Php5,000.00

Php500.00

Php4,500.00

4. How much is the average balance of all suppliers located in Canada? 2 points

04
Country

AvgOfBalance

Canada

Php33,200.00

5. How much is the total balance of all suppliers located in the Philippines? 2 points

05
Country

SumOfBalance

Philippines

Php63,000.00

6. In ascending order of country and then of balance, which supplier would be the second in the
list? 2 points

06
Country

Balance

SupplierName

Canada

Php26,400.00 3M Enterprises

Canada

Php40,000.00 Sony Corp.

Philippines

Php10,000.00 Aboitiz Corporation

Philippines

Php53,000.00 DHL Corporation

USA

Php21,600.00 Proctor & Gamble, Ltd.

7. Create a query of all supplier balances. What criterion would you put under the balance field
to get the amounts that are between Php20,000.00 to Php50,000.00? 2 points
>20000 And <50000
8. Create a query of all invoices. Which fields would you put a criterion in to select either those
that were prepared by Employee 101 or those that were created for Supplier 1006. 2 points
SupplierNum EmployeeID
9. Create a cross-tab query containing Country as the row heading, EmployeeID as the column
heading and Balance as the Value. What are the countries, and their respective balances, for
which Employee 101 prepared invoices for? 4 points

09
Country

101

Canada

Php66,400.00

USA

Php21,600.00

10.Create a cross-tab query containing SupplierName as the row heading, EmployeeID as the
column heading and Balance as the Value. What are the names of the suppliers, and their
respective balances, for which Employee 103 prepared invoices for? 4 points

10
SupplierName

103

Aboitiz Corporation

Php10,000.00

DHL Corporation

Php53,000.00

11.Provide the results of the command: 2 points


SELECT Employee WHERE EmployeeID=104
GIVING Answer

11
EmployeeID

Department

104

LastName

Accounting

Ford

FirstName
Henry

12.Provide the results of the command: 3 points

PROJECT Supplier OVER (SupplierNum, SupplierName, Country)


GIVING Answer

12
SupplierNum

SupplierName

Country

1001

Aboitiz Corporation

Philippines

1004

Sony Corp.

Canada

1005

3M Enterprises

Canada

1006

DHL Corporation

Philippines

1007

Proctor & Gamble, Ltd.

USA

13.List the names, credit limits, balances, and the available credit amounts to our suppliers. 3
points

13
SupplierName

CreditLimit

Balance

AvailableCredit

Aboitiz Corporation

Php50,000.00

Php10,000.00

Php40,000.00

Sony Corp.

Php50,000.00

Php40,000.00

Php10,000.00

3M Enterprises

Php50,000.00

Php26,400.00

Php23,600.00

DHL Corporation

Php100,000.00

Php53,000.00

Php47,000.00

Proctor & Gamble, Ltd.

Php100,000.00

Php21,600.00

Php78,400.00

14.How much is the total amount net of taxes spent for Supplies Expense? 2 points

14
Account
Supplies Expense

NetAmount
Php11,160.00

15.Juan Dela Cruz prepared invoices for how many suppliers? What is the average balance of
these suppliers? 3 points

15
FirstName
Juan

LastName
Dela Cruz

CountOfSupplierName

AvgOfBalance
3

Php29,333.33

Potrebbero piacerti anche