0% found this document useful (0 votes)
44 views6 pages

Practice Problems - Week 2 - Data Management II - Supply Chain Technology and Systems - Edx2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views6 pages

Practice Problems - Week 2 - Data Management II - Supply Chain Technology and Systems - Edx2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

7/20/24, 5:54 PM Practice Problems | Week 2: Data Management II | Supply Chain Technology and Systems | edX

MITx CTL.SC4x Help 10


Supply Chain Technology and Systems
Course Progress Fechas Discussion Calendar
Course / Week 2: Data Management II / Practice Problems

https://learning.edx.org/course/course-v1:MITx+CTL.SC4x+2T2024/block-v1:MITx+CTL.SC4x+2T2024+type@sequential+block@504f8f7a639e4e6ab44973d9b49bc74e/block-v1:MITx+CTL.SC4x+2T2024+type@ver… 1/6
7/20/24, 5:54 PM Practice Problems | Week 2: Data Management II | Supply Chain Technology and Systems | edX

Previous Next Foros


Practice Problem 2 All posts sorted by recent activity
Bookmark this page Script error The .sql file seems to be corrupte
susana_950
5
Part 4: Error Message Hello,I tried using a ste
AbdullahiYusuff
2
Part 4 In part 4, why doesn't WHERE month =
liv291
3
Part 4 - getting error Hello, the previous quer
IGUPTA03
4
Part 1 Answer of Practice Problem 2 not matc
p-pavithran
3

https://learning.edx.org/course/course-v1:MITx+CTL.SC4x+2T2024/block-v1:MITx+CTL.SC4x+2T2024+type@sequential+block@504f8f7a639e4e6ab44973d9b49bc74e/block-v1:MITx+CTL.SC4x+2T2024+type@ver… 2/6
7/20/24, 5:54 PM Practice Problems | Week 2: Data Management II | Supply Chain Technology and Systems | edX

To get started on this problem use:


This .sql file to get moving with MySQL.
To create this database in SAS, use this code (Step1 -
> Step2). This will create the Store_Sales database in your
SAS work library.
This dataset has information for monthly sales from different
SKUs across different stores for a company. The columns in
the dataset along with their descriptions are as follows:
DB_ID: unique table identifier
Store: store id
Store location: geographical location for a store
SKU: SKU id information
Month
Demand: number of units for a SKU demanded in
the store, cannot be below the number of
units_sold (below)
Units sold: number of units of a SKU that are
sold.
Unit price: selling price in dollars of the SKU at
the store. Please note that the selling price for a
SKU in a store varies over different months.
If the store is not able to satisfy the demand that it observes
then the sale for those SKUs in the amount that it is not able
to satisfy is lost, or in other words a lost sales scenario.

Part 1
0 puntos posibles (sin calificar)
What are annual sales in dollars for store D?
Enter a numerical value rounded up to two decimals. For example, if
your answer is 100.234, then enter 100.23. If it is 100.235, then enter
1000.24.

Enviar You have used


0 of 3 attempts

Part 2
0 puntos posibles (sin calificar)
What are the annual lost sales for SKU 1 across all
stores? In this question, lost sales are calculated as
Demand-Units_Sold.
Enter a numerical value rounded up to two decimals. For example, if
your answer is 100.234, then enter 100.23. If it is 100.235, then enter
1000.24.
https://learning.edx.org/course/course-v1:MITx+CTL.SC4x+2T2024/block-v1:MITx+CTL.SC4x+2T2024+type@sequential+block@504f8f7a639e4e6ab44973d9b49bc74e/block-v1:MITx+CTL.SC4x+2T2024+type@ver… 3/6
7/20/24, 5:54 PM Practice Problems | Week 2: Data Management II | Supply Chain Technology and Systems | edX

Enviar You have used


0 of 3 attempts

Part 3
0 puntos posibles (sin calificar)
What are the annual lost sales for SKU 1 across all
stores in MA? In this question, lost sales are
calculated as Demand-Units_Sold.
Enter a numerical value rounded up to two decimals. For example, if
your answer is 100.234, then enter 100.23. If it is 100.235, then enter
1000.24.

Enviar You have used


0 of 3 attempts

Part 4
0 puntos posibles (sin calificar)
Let us assume that the “cost” for a lost sale case of a
SKU in a store is twice that of the selling price for the
SKU at the store. The lost sales cost is higher than
the selling price of the SKU because not being able to
serve a customer could imply both immediate as well
as long-term effects on the company. For e.g. if the
selling price for a SKU is $1.00 at a store and while I
observe a demand of 100 units, I am only able to sell
75 units, then the lost sales cost is given by (100-
75)*2 = $50. We also assume that the profit for the
store only comprises of two parts: (1) direct revenue,
which is the product of number of units sold and the
selling price, and (2) the lost sales cost.
Mathematically, let profit be equal to: (direct revenue)
- (lost sales cost). What is the profit (in dollars) for
the company in the month of May across all its
stores?
Enter a numerical value rounded up to two decimals. For example, if
your answer is 100.234, then enter 100.23. If it is 100.235, then enter
1000.24.

Enviar You have used


0 of 3 attempts

Part 5
0 puntos posibles (sin calificar)
https://learning.edx.org/course/course-v1:MITx+CTL.SC4x+2T2024/block-v1:MITx+CTL.SC4x+2T2024+type@sequential+block@504f8f7a639e4e6ab44973d9b49bc74e/block-v1:MITx+CTL.SC4x+2T2024+type@ver… 4/6
7/20/24, 5:54 PM Practice Problems | Week 2: Data Management II | Supply Chain Technology and Systems | edX

Let's say that you are now required to add a new


column to the existing table with the profit values in
each row. Which of the following would accomplish
the task of creating a new column called Profit in the
table?
Select the correct answer.
update store_sales.store_sku_monthlysales
add Profit double

alter table store_sales.store_sku_monthlysales


add Profit double

change table
store_sales.store_sku_monthlysales
add Profit double

update table
store_sales.store_sku_monthlysales
add Profit double

Enviar You have used


0 of 3 attempts

Part 6
0 puntos posibles (sin calificar)
Now you want to calculate and assign the profit value
in each row to the ‘Profit’ column. Which of these will
accomplish the task?
Select the correct answer.
SET SQL SAFE UPDATES=0;
Previous Next

All Rights Reserved

edX
About
Affiliates
edX for Business
Open edX
Careers
News

https://learning.edx.org/course/course-v1:MITx+CTL.SC4x+2T2024/block-v1:MITx+CTL.SC4x+2T2024+type@sequential+block@504f8f7a639e4e6ab44973d9b49bc74e/block-v1:MITx+CTL.SC4x+2T2024+type@ver… 5/6
Legal
7/20/24, 5:54 PM Practice Problems | Week 2: Data Management II | Supply Chain Technology and Systems | edX

Terms of Service & Honor Code


Privacy Policy
Accessibility Policy
Trademark Policy
Sitemap
Cookie Policy
Your Privacy Choices
Connect
Idea Hub
Contact Us
Help Center
Security
Media Kit

© 2024 edX LLC. All rights reserved.


深圳市恒宇博科技有限公司 粤ICP备17044299号-2

https://learning.edx.org/course/course-v1:MITx+CTL.SC4x+2T2024/block-v1:MITx+CTL.SC4x+2T2024+type@sequential+block@504f8f7a639e4e6ab44973d9b49bc74e/block-v1:MITx+CTL.SC4x+2T2024+type@ver… 6/6

You might also like