23. INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O1231231','P0036566',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O1231231','P1445671',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O1241518','P0036577',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O1455122','P4200344',1);
INSERT INTO ordline
24. (OrdNo, ProdNo, Qty)
VALUES('O1579999','P1556678',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O1579999','P6677900',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O1579999','P9995676',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O1615141','P0036566',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O1615141','P1445671',1);
25. INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O1615141','P4200344',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O1656777','P1445671',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O1656777','P1556678',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O2233457','P0036577',1);
INSERT INTO ordline
26. (OrdNo, ProdNo, Qty)
VALUES('O2233457','P1445671',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O2334661','P0036566',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O2334661','P1412138',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O2334661','P1556678',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O3252629','P4200344',1);
27. INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O3252629','P9995676',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O3331222','P1412138',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O3331222','P1556678',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O3331222','P3455443',1);
INSERT INTO ordline
28. (OrdNo, ProdNo, Qty)
VALUES('O3377543','P1445671',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O3377543','P9995676',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O4714645','P0036566',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O4714645','P9995676',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O5511365','P1412138',1);
29. INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O5511365','P1445671',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O5511365','P1556678',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O5511365','P3455443',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O5511365','P6677900',1);
INSERT INTO ordline
30. (OrdNo, ProdNo, Qty)
VALUES('O6565656','P0036566',10);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O7847172','P1556678',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O7847172','P6677900',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O7959898','P1412138',5);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O7959898','P1556678',5);
31. INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O7959898','P3455443',5);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O7959898','P6677900',5);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O7989497','P1114590',2);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O7989497','P1412138',2);
INSERT INTO ordline
32. (OrdNo, ProdNo, Qty)
VALUES('O7989497','P1445671',3);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O8979495','P1114590',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O8979495','P1412138',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O8979495','P1445671',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O9919699','P0036577',1);
33. INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O9919699','P1114590',1);
INSERT INTO ordline
(OrdNo, ProdNo, Qty)
VALUES('O9919699','P4200344',1);
Business Model and Strategic Planning Outline
BUS/45 Version 5
1
University of Phoenix Material
Business Model and Strategic Planning Outline
I. Title Page
II. Table of Contents
III. Executive Summary
IV. Business Model and Strategic Plan Part I: Existing
Business or New Business Division; Vision, Mission, and Value
Proposition
V. Business Model and Strategic Plan Part II: SWOTT Analysis
34. – Internal and External Environmental Analysis; Supply and
Value Chain Analysis
VI. Business Model and Strategic Plan Part III: Assumptions,
Risk and Change Management Plan; Summary of Strategic
Objectives; Balanced Score Card and its impact on stakeholders;
the Communication Plan
VII. Conclusion
VIII. Reference Page
Business Model and Strategic Plan Part I: Conceptualizing a
New Product or Service Division of an Existing Business
Grading Guide
BUS/475 Version 5
1
Individual Assignment: Business Model and Strategic Plan Part
I: Conceptualizing a New Product or Service Division of an
Existing Business
Purpose of Assignment
Students have the opportunity to research a company and
industry using University of Phoenix IBISWorld and other
databases to conceptualize forming a new division of an
existing company based on a new product or service. The
assigned text and Business Model and Strategic Planning
Outline serve as a guide to complete sections of the capstone
project each week. A final paper and presentation is due in
Week 5.
Resources Required
· University of Phoenix Material: Business Model and Strategic
Planning Outline
· University Library: IBISWorld, Mergent Online, Hoover’s
35. databases
· Strategic Management, Ch. 4. 5, & 6
· Crafting and Executing Strategy, Ch. 3, 4, & 5
Grading Guide
Content
70 Percent
Met
Partially Met
Not Met
Comments:
· Propose a new product or service for the new company
division. The division should be customer-focused with an
innovative mission statement. Ensure that you are
differentiating your product or service.
· Describe how the division addresses customer needs and
achieves competitive advantage.
· Create a vision and a business model for this new division that
clearly demonstrates your decision on what you want your
business to become in the future.
· Explain how the vision, mission, and value of the new division
align with the company’s mission and vision.
· Summarize how the vision, mission, and values guide the
division’s strategic direction.
36. · Define your guiding principles and values for your division in
the context of culture, social responsibility, and ethics and its
alignment to those of the company.
The paper is between 1,400 and 1,750 words in length.
Total Available
Total Earned
7
#/7
Writing Guidelines
30 Percent
Met
Partially Met
Not Met
Comments:
The paper—including tables and graphs, headings, title page,
and reference page—is consistent with APA formatting
guidelines and meets course-level requirements.
37. Intellectual property is recognized with in-text citations and a
reference page.
Paragraph and sentence transitions are present, logical, and
maintain the flow throughout the paper.
Sentences are complete, clear, and concise.
Rules of grammar and usage are followed including spelling and
punctuation.
Total Available
Total Earned
3
#/3
40. 23
24
25
Part A
1. A lock on a larger data element increases both system
overhead and waiting by transactions.
True False
2. When transactions T1 and T2 are in a deadlock, one of the
transactions will eventually execute to completion and let the
other one continue execution.
True False
3. When an update to the database takes place, the time of the
update, the values of the data before and after the update, and
the type of lock used are recorded in the transaction log.
True False
4. To restore a database using the immediate update approach,
both undo and redo operations may be necessary, whereas with
the deferred update approach only redo operations are used.
True False
5. Which of the following is an example of lost update?
41. A. The system assigns the last aisle seat on a flight to John
whereas Peter receives a window seat, although both indicated
preference for an aisle seat
B. John and Peter receive each a window seat as they both
requested
C. John is initially assigned the last window seat, but this seat
is later on assigned to Peter
D. None of the above
6. Julia has a lock on the savings account and Bill is trying to
perform a conflicting action on the data:
A. Bill's transaction is granted permission to perform the
desired action
B. Bill's transaction must wait until Julia's lock is released
C. Bill's transaction must wait until Julia has read the savings
account value
D. None of the above
7. Julia has a shared lock on the savings account and Bill is
trying to perform an action requesting a shared lock on the same
data:
A. Bill's transaction is granted permission to perform the
desired action
B. Bill's transaction must wait until Julia's lock is released
C. Bill's transaction must wait until Julia has read the savings
account value
D. None of the above
8. Julia has an exclusive lock on the savings account and Bill is
trying to perform an action requesting a shared lock on the same
data:
42. A. Bill's transaction is granted permission to perform the
desired action
B. Bill's transaction must wait until Julia's lock is released
C. Bill's transaction must wait until Julia has read the savings
account value
D. None of the above
9. Which of the following will cause a deadlock?
A. Transaction T1 requests an exclusive lock on data A at the
same time as transaction T2
B. Transaction T1 places an exclusive lock on data A, then
transaction T2 requests a shared lock on data A
C. Transaction T1 places an exclusive lock on data A, then
requests one on data B. Simultaneously, transaction T2 places
an exclusive lock on data B, then requests one on data A
D. Transaction T1 and T2 modify data A without any lock
10. In the two-phase locking protocol:
A. A transaction only acquires a lock after the previously
acquired lock has been released
B. A transaction acquires locks as needed. After it starts
releasing locks, it does not acquire new locks
C. A transaction acquires all needed locks at once, then releases
them after completion
D. The transaction locks the full database, then releases the
locks
11. Consider a transaction that updates each of the 100
employees' salaries in a table (there is one row per employee)
under the immediate update mode. The transaction terminates
43. abnormally after 10 rows have been updated in the database
(and the normal operations have taken place on the log). What
should the recovery procedure perform to make sure the
transaction completes as desired?
A. Redo
B. Redo followed by execution of the transaction again
C. Undo
D. Undo followed by execution of the transaction again
12. Consider a transaction that updates each of the 100
employees' salaries in a table (there is one row per employee)
under the deferred update mode. The transaction terminates
abnormally after the new values of 10 rows have been written to
the log. What should the recovery procedure perform to make
sure the transaction completes as desired?
A. Execute the transaction again
B. Redo followed by execution of the transaction again
C. Undo
D. Undo followed by execution of the transaction again
13. Consider a transaction that updates each of the 100
employees' salaries in a table (there is one row per employee)
under the immediate update mode and completes before a
checkpoint. The system crashes after the checkpoint. What
should the recovery procedure perform to make sure the
transaction completes as desired?
A. Nothing
B. Redo followed by execution of the transaction again
C. Undo
D. Undo followed by execution of the transaction again
44. 14. Consider a transaction that updates each of the 100
employees' salaries in a table (there is one row per employee)
under the immediate update mode and completes after a
checkpoint but before a system failure. The system crashes after
the checkpoint. What should the recovery procedure perform to
make sure the transaction completes as desired?
A. Nothing
B. Redo forward from checkpoint
C. Undo
D. Undo followed by execution of the transaction again
15. With database locking, a(n) _______________ lock must be
obtained before reading a database item, and a(n) ___________
lock must be obtained before writing to a database item.
________________________________________
CUSTOMER
In table CUSTOMER, CID is the primary key (Customer ID).
RENTALS
In the table RENTALS, RTN provides the rental number (the
45. primary key), CID is the customer's unique id, PICKUP is the
city where the car was picked up, and Return is the city where
the car was returned.
RENTCOST
RENTCOST shows the base cost of renting a given MAKE for
one day.
CITYADJ
If the return city of table RENTALS is the one listed in table
CITYADJ, the cost of the rental is multiplied by FACTOR and
by DAYS shown in table RENTLENGTH below.
RENTLENGTH
RENTLENGTH shows the number of days for the rental
number (RTN) shown in table RENTALS. In a database used in
reality, this table would be merged with the RENTALS table.
16. SELECT DISTINCT CID, CNAME
FROM CUSTOMER
46. WHERE CID IN
(SELECT CID FROM RENTALS WHERE MAKE IN ('FORD',
'TOYOTA'))
The CNAMEs shown by the execution of this query are:
A. BLACK
B. BLACK, JONES
C. BLACK, JONES, MARTIN
D. BLACK, JONES, MARTIN, VERNON
17. SELECT DISTINCT CUSTOMER.CID, CNAME
FROM CUSTOMER, RENTALS, RENTCOST
WHERE CUSTOMER.CID = RENTALS.CID
AND RENTALS.MAKE = RENTCOST.MAKE AND NOT
EXISTS
(SELECT * FROM RENTALS R, RENTCOST C
WHERE R.MAKE = C.MAKE
AND RENTALS.CID = R.CID
AND RENTCOST.COST <> C.COST)
The meaning of this query is:
A. List all customers with more than one car make rented
B. List all customers who have only rented one make
C. List all customers with one or more rentals for which the cost
of each car make rented is the same
D. None of the above
18. SELECT MAKE
FROM RENTALS, CUSTOMER
WHERE RENTALS.CID = CUSTOMER.CID
AND RESID_CITY = 'HEMET'
GROUP BY MAKE
HAVING COUNT (DISTINCT RENTALS.CID) =
(SELECT COUNT(*) FROM CUSTOMER
47. WHERE RESID_CITY = 'HEMET')
The execution of this query produces the following number of
rows:
A. 0
B. 1
C. 2
D. 3
VOTE
19. SELECT MAKE
FROM RENTALS, CUSTOMER
WHERE RENTALS.CID = CUSTOMER.CID
AND RESID_CITY = 'HEMET '
GROUP BY MAKE
HAVING COUNT (DISTINCT RENTALS.CID) =
(SELECT COUNT(*) FROM CUSTOMER
WHERE RESID_CITY = 'HEMET')
The meaning of this query is the following:
A. List all makes of cars rented to customers residing in Hemet
B. List all makes of cars rented to at least one customer residing
in Hemet
C. List all makes of cars rented to all customers residing in
Hemet
D. None of the above
20. SELECT CID, CNAME FROM CUSTOMER
WHERE 0 =
(SELECT COUNT(*) FROM RENTALS
WHERE CUSTOMER.CID = RENTALS.CID)
What is the interpretation of this query?
48. A. List the customers who do not have rentals
B. List the customers who have one rental
C. List the customers who have 0 or more rentals
D. List the customers who have 1 or more rentals
21. SELECT CNAME, DATE_OUT, RTN
FROM CUSTOME
WHERE CUSTOMER.CID = RENTALS.CID
AND BIRTHPLACE IN ('ERIE', 'CARY') AND EXISTS
(SELECT * FROM RENTCOST
WHERE COST < 40 AND RENTALS.MAKE=
RENTCOST.MAKE)
The CNAMEs shown by the execution of this query are:
A. SIMON
B. GREEN, BLACK, SIMON
C. GREEN
D. GREEN, SIMON
22. Data warehouse data are organized and summarized by
table, such as CUSTOMER and ADDRESS.
True False
23.
In most implementations, the data warehouse and OLAP are
stand-alone, independent environments.
True False
49. 24. ____________ query optimization takes place at
compilation time.
a.
Dynamic
c.
Automatic
b.
Static
d.
Manual
25.
Implementing BI in an organization involves capturing not only
business data (internal and external) but also the ____.
a.
Metadata
c.
information
b.
Facts
d.
rules
Part B
Q No: 1 (20 Points)
Let us consider the following transactions which are being
performed online by students of DBST 651 using
https://my.umuc.edu. Individual transactions are illustrated in
the diagram shown below. Based upon your understanding and
reading of Transaction Management & Concurrency Control
50. chapter answer the following:
time
T1
T5
T6
T2
T3
checkpoint
failure
backup
T4
T7
T8
T9
1. What is needed to restart if transaction (T3) is aborted with a
rollback after checkpoint before the system failure? Explain
restart of work assuming the recovery manager using deferred
update.
2. Same as #1 but assume recovery manager is using immediate
update approach.
3. Assuming recovery manager is using deferred update
approach. Explain how the restart will impact all the
transactions shown in the timeline diagram (illustrated above –
T1 to T9).
4. Same as #3 but the recovery manager is using immediate
update approach.
5. Discuss the impact of restart of work if in case there is a
device failure?
51. Q No: 2 (20 Points)
Using DBST651.sql script which is available under the final
exam to respond the following SQL problems:
Create SQL statements for the following scenarios. Your
response should include SQL statement, output and any other
assumptions you have made to arrive at the solution.
a. For Colorado customers compute the average amount of their
orders and the number of orders placed. The result should
include the customer number, customer last name, average order
amount and the number of orders placed.
b. For Colorado customers compute the number of unique
products ordered. If a product is purchased on multiple orders,
it should be counted only one time. The result should include
customer number, customer last name and the number of unique
products ordered.
c. For each employee with a commission less than 0.04,
compute the number of orders taken and the average number of
products per order. The results should include the employee
number, employee last name, number of orders taken and the
average number of products per order.
d. For each Connex product compute the number of unique
customers who ordered the product in Jan 2007. The results
should include the product number, product name and the
number of unique customers.
Q No: 3 (10 Points)
Answer the following in your own words not exceeding ONE
page:
a. Explain the differences between a centralized and
52. decentralized approach to database design. Make sure to provide
suitable examples to understand your response.
b. What command is used to save changes to the database? What
is the syntax for this command? Illustrate with an example.
c. What is a subquery? When is it used? Does the RDBMS deal
with subqueries any differently from normal queries? Illustrate
with examples different types of sub-query and co-related
subqueries (nested etc).
d. What is a view? What is the command used to create a view.
Illustrate the command with an example.
_942524561.vsd