• Tidak ada hasil yang ditemukan

Daffodil International University - DIU Blended Learning Center

N/A
N/A
Protected

Academic year: 2023

Membagikan "Daffodil International University - DIU Blended Learning Center"

Copied!
2
0
0

Teks penuh

(1)

Daffodil International University

Department of Computer Science and Engineering Faculty of Science & Information Technology

Midterm Examination, Spring 2021 @ DIU Blended Learning Center Course Code: CSE414 Course Title: Simulation & Modeling

Level/Term: L4T1 Section: ALL

Date: 17 March, 2021 Time: 10:00-12:30 pm (2.5 hours) Marks: 25

Answer all the Questions. Obtain marks in the right side

1. Using animals in research and experiment has been a topic of heated debate for decades. Each year, more [4] than 100 million animals such as mice, rats, frogs, dogs, cats, rabbits, hamsters, guinea pigs, monkeys, fish, and birds are cruelty killed in laboratories for biology lessons, medical training, curiosity-driven experimentation, and chemical, drug, food, and cosmetics testing worldwide. These kinds of experiments cause pain and suffering to the experimental animals and are also illegal. The pain and suffering that experimental animals are subject to is not worth any possible benefits to humans. Researchers are thinking about alternative solutions to stop experiments on animals because it violates animals' rights.

In Against Animal Experimentation, do you think simulation and modeling can be the solution to this problem? Why and why not? Explain in your own words.

2. ABC is a public specialized hospital to treat COVID-19 patient. There are two specialists, Dr. Rahim and Dr. Karim who usually serve the COVID patients. The patient’s arrival at the hospital is a random

phenomenon and the time between arrivals varies from 1 to 5 minutes (shown in the table 2.1). Before seeing any of the doctors, patients have to collect ticket from the only one ticket counter situated in the hospital entry gate. And the ticket counter takes 2 to 5 minutes to provide tickets to the patients (shown in the table 2.2). Based on previous patients’ feedback, Dr. Karim is always on top position of patients

preferred list. A simplifying rule is that patient get treatment from Dr. Karim when both doctors are idle.

But if both are busy, the patient waits until any of them become free. Distribution of consultation time of both doctors is shown in table 2.3 and in 2.4. The hospital opens at Clock time 11.00am.

2.1: Inter Arrival distribution 2.2: Counter Time Distribution 2.3: Dr. Rahim Time Distribution 2.4 Dr. Karim Time Distribution Interarrival Probabil

ity

Assignm

ent Time Probabil

ity

Assignm

ent Time Probabil

ity

Assignme

nt Time Probabilit

y

Assignme nt

1 .30 01-30 2 .25 01-25 4 .35 01-35 2 .25 01-25

2 .40 31-70 3 .30 26-55 5 .25 36-60 3 .32 26-57

3 .20 71-90 4 .30 56-85 6 .20 61-80 4 .20 58-77

4 .05 91-95 5 .15 86-00 7 .20 81-00 5 .05 78-82

5 .05 96-00 6 .17 83-00

RD for Arrival: 77, 43, 42, 72, 98, 93, 75, 12, 97, 95, 25

RD for Counter:16, 56, 43, 85, 28, 95, 12, 54, 41, 33, 88, 16, 51, 47, 67, 60, 24,53,32

RD for Treatment: 74, 54, 22, 42, 10, 63, 75, 84, 93, 01, 26, 59, 49, 10, 19, 69, 98

(2)

3. This is a classical simulation of inventory problem where “Hossain Store” is a retailer shop of “ICY” soft drinks. They collect the soft drinks from the ICY factory. The highest level of soft drink storage in

“Hossain Store”, M is 10k bottles. The manager of “Hossain Store” checks their inventory once in a

week and places order at the end of the week, Thursday. But when the storage comes down to the half of the highest storage, the manager places order in any day of the week. As, Friday and Saturday are government holiday, manager cannot place order and factory cannot supply their drinks. Simulation will

be started from Sunday with a beginning inventory for first week of 7000 bottles and an order of 2000 bottles will be arrive based on the lead time of 2 form the Thursday of previous week. Profit will be calculated at the end of each week.

Company Policy:

At the end of the week, retailers will return their empty bottles (which were sold) to the factory. For returning each 1K empty bottles to the factory, each retailer will get 100 Tk. That means, if any shop buys 5k bottles of soft drinks, they will get 500 Tk extra profits. From the factory, retailers can buy ICY drinks at 15TK per bottle. Retailers can sell ICY drinks at 20TK per bottle.

3.1 Random Digit Assignments for daily demand 3.2 Random Digit for Lead time

Daily Demand Probability R.D Assignment Lead time Probability R.D Assignment

1000 0.15 1-15 0 .3 1-30

2000 0.20 Assign 1 .2 Assign

3000 0.35 Assign 2 .4 Assign

4000 0.30 Assign 3 .1 Assign

RD for Daily Demand: 20, 12, 99, 05, 35, 49, 85, 32,

60, 52, 18, 89, 73, 84, 16, 30 RD for Lead Time: 49, 25, 10, 19, 69, 98

Note: Use random digits from beginning if extra needed

i. Now draw a simulation table for 2 weeks of the inventory system and find out the average [8]

ending inventory from the above scenario. Repeat the random digit if necessary.

ii. Calculate the revenue for the first week. [2]

4. It has been found that 6% patients die suffering from COVID-19. What is the probability that 7 patients [2]

selected randomly and out of then at least 3 will recover?

i. Construct a simulation table for 20 minutes of operation using the above information.

ii. Draw a bar graph that shows the number of patients in the ticket counter wait in different arrival time.

[7]

[2]

Referensi

Dokumen terkait

The data will be collected through pre-test and post-test. The researcher will be give pre-test for students in the first meeting in order to know the capacity of

The NAAB requires the following documents to be widely available to students, faculty, staff, administrators, and the public on the program’s website and in the architecture library: •