Professional Documents
Culture Documents
IP Chap9 3 Database No14To28 Questions
IP Chap9 3 Database No14To28 Questions
16. There is a system for entering and managing orders from customers. Sequential order number
is printed on each order form in the order of arrival unless the form has any mistakes such as
missing information. Before the order form shown below is entered into the system, which of
the following should be checked so as not to enter duplicated order data? (2015_A_IP)
a) Customer code
b) Product code
c) Order number
d) Order date
17. Which of the following is the relational operation that extracts only the rows of a product
whose price is 10 dollars or more, from the “Product” table of the relational database shown
below? (2017S_IP) (2019S_IP)
1
a) Join
b) Projection
c) Selection
d) Union
18. When the order records shown below are entered in the system where each order number must
be uniquely assigned, which of the following is the appropriate method for searching the order
master file containing all of the past order records, and for checking the uniqueness of the order
number? (2018S_IP)
a) Duplicate check
b) Format check
c) Limit check
d) Logical check
19. In a company which has its offices dispersed in several buildings, it is decided to construct a
relational database to manage the locations where PCs are installed. “Asset” table, “Room”
table, and “Building” table are created, and these tables are linked. When new data is entered,
data in the table to be referenced should exist beforehand. Which of the following is the
appropriate sequence of entering data into each table? Note that the underlined items in each
table indicate the primary keys or the foreign keys. (2015_A_IP)
2
a) “Asset” table → “Building” table → “Room” table
b) “Building” table → “Room” table → “Asset” table
c) “Room” table → “Asset” table → “Building” table
d) “Room” table → “Building” table → “Asset” table
20. There are “Sales”, “Customer” and “Product” tables in a relational database. Among lists A
through C, which of the following contains all and only the lists that can be created from the
data in these tables? Here, a solid underlined part represents a primary key, and a dotted
underlined part represents a foreign key. (2016_A_IP) (2018S_IP)
A The list of customers who bought more than a certain amount of money during a certain
period in the past
B The list of products that were out of stock in the previous month
C The ranking list for sales amount by product in the previous month
a) A, B
b) A, B, C
c) A, C
d) B, C
3
21. The “Purchase_list” table in a relational database manages the purchases of products. This
table should be normalized and divided into a “Purchase” table and a “Product” table. Which
of the following is the most appropriate field that should be contained in common in the two
divided tables? Here, each purchase includes only one product, and can be uniquely identified
by Purchase_number. Also, each product can be uniquely identified by Product_number.
(2017S_IP)
a) Purchase_number
b) Payment_method
c) Product_number
d) Product_name
22. Read the following description concerning improvement in the transportation expense
reimbursement, and then answer the question.
In Company A, which is an advertisement agency, transportation expenses incurred by
customer visits are reimbursed by submitting a transportation expense reimbursement form
(hereinafter, form) to the accounting department.
4
(5) The office staff member puts together the approved forms of that day that have been sent
from the approver, assigns reference numbers, and sends them to the accounting
department.
(6) The accounting manager settles the payment of the approved forms that have been sent
from the office staff member.
5
[Steps for creating the data table]
(1) From the work sheet, extract data for which the submission date is the previous month and
the approval type is “Approved.”
(4) Join the table in (3) with the employee table and the customer table in order to acquire the
customer name and the employee name.
a) (2) Join the table created in (1) and the details table by matching reference number.
(3) From the table created in (2), calculate the total amount for each pair of customer
number and employee number, and create a table with customer number, employee
number, and total amount.
b) (2) Join the table created in (1) and the details table by matching reference number.
(3) From the table in (2), calculate the total amount for each customer number, and create
a table with customer number and total amount.
6
c) (2) Join the table created in (1) and the details table by matching reference number.
(3) From the table in (2), calculate the total amount for each employee number, and create
a table with employee number and total amount.
d) (2) From the details table, calculate the total amount for each pair of customer number and
employee number, and create a table with customer number, employee number, and total
amount.
(3) Join the table created in (2) and the table created in (1) by matching reference number.
23. The “Sales Details” table and the “Products” table are managed in a relational database. What
is the total number of notebooks sold? (2018A_IP)
a) 40
b) 80
c) 120
d) 200
24. By joining tables “Employees in charge”, “Regions”, and “Customers” that are managed in a
relational database, the table A that is shown below is obtained. Which of the following is the
table “Customers” that is used for the joining? Here, a solid underline indicates a primary key
and a dotted underline indicates a foreign key. (2019A_IP)
7
25. The result of the Information-Technology Engineers Examination by some of the employees
of a company is shown below. In order to manage this table with a relational database, which
of the following is an appropriate method to partition the table into two (2) tables? Here, this
company has employees with the same family name and first name. (2019A_IP)
8
26. A customer name and his or her address, a product name and its unit price, the number of
products ordered by the customer, and the date of order are to be managed by using a relational
database. Which of the following is an appropriate table after normalization? Here, the
underline represents primary keys, and there are same customer names and product names.
(2019S_IP)
9
27. When the “Department,” “Location,” and “Employee” tables are joined to create Table A,
which of the following is the “Employee” table that is to be joined? Here, an underline indicates
a primary key, and a dotted underline indicates a foreign key. (IPMay2015)
28. In a system environment where several users have access to a database simultaneously, a new
user tries to view a data record while another user is updating the same record. In order to
assure data integrity in such circumstances, which of the following is an appropriate control
method that should be used in the DBMS? (2017A_IP)
10
a) Interrupting the updating process to permit the new user to view the record
b) Permitting the new user to view the latest data during the updating process
c) Permitting the new user to view the record after completion of the updating process
d) Canceling the updating process to permit the new user to view the last record
11