You are on page 1of 11

14.

In DBMS, which of the following is a function for maintaining consistency of data by


preventing the occurrence of conflicts due to simultaneous access to the data? (2016_A_IP)
a) Normalization
b) Deadlock
c) Exclusive control
d) Restore

15. Which of the following is an appropriate description of a rollback in transaction processing?


(2019A_IP)
a) When a transaction attempts to update shared data, it prohibits another transaction from
updating that data.
b) When a transaction has been successfully processed, it commits an update to the database.
c) When a transaction has not been successfully processed for some reason, it reverts the
database to the state that was present before the transaction was started.
d) It combines multiple tables into one (1) table by using mutually related columns as keys.

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)


 
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)


 
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


 
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.

[Flow of current transportation expense reimbursement operation]


(1) The applicant enters his/her name, his/her employee number, expense code, customer
numbers, travel date, description, amount, and the total amount. After it is signed, the form
is sent to the office staff member.
(2) The office staff member checks the application in detail. If there is no mistake, he/she sends
the form to the approver. If there is a mistake, the form is returned to the applicant.
(3) The approver gives the final approval or disapproval. If the content is appropriate, the form
is approved and sent to the office staff member. If the content is inappropriate, the form is
disapproved and returned to the applicant.
(4) If the form is returned in (2) or (3), the applicant corrects the form and submits it again to
the office staff member.


 
(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.

In order to efficiently perform the transportation expense reimbursement, a transportation


expense reimbursement system (hereinafter, “reimbursement system”) is constructed. The
system uses a database and is based on the functional requirements shown below.

[Some of the functional requirements of the reimbursement system]


(1) Logging on is performed by using the employee number. The applicant name is identified
in the employee table using the employee number, and the name is set as a common item
on the form screen.
(2) Customer numbers, travel date, description, and amount are entered as the details to the
form screen. The details of several customer visits can be entered in a single submission.
Moreover, the total amount is calculated, the expense code is set, and the reference number
is assigned automatically. Here, the transportation expense is set automatically as the
expense code.
(3) After the submission, the office staff member checked in detail, and a notification is sent
automatically to the approver. The approver selects either “Approve” or “Disapprove” on
the final approval screen.
(4) On the payment screen, the approved submissions are aggregated for each employee, and
the payment amount is calculated.
The database of the reimbursement system is used to create a transportation expense data
table (hereinafter, “data table”) sorted by customer and employee, as shown in Figure 1. Which
of the following is an appropriate step to be inserted in D for creating the data table? Here, the
forms to be written in the data table are those for which the application date is the previous
month and the approval type is “Approved.” (2016_S_IP)
Moreover, the tables used in the reimbursement system are as shown below in Figure 2.


 
[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.

 
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)


 
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)


 
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)


 
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 
 

You might also like