Mostafa Darder's repositories
aastmt-cast-website
aastmt cast website
Assignment-Implement-List-Class
Assignment Implement List Class
CPU-scheduling-simulation-Using-FCFS
CPU scheduling simulation Using FCFS
Empirical-distribution-calculation
Empirical distribution calculation code
Exponentially-distributed-IAT-and-ST
program that automates the simulation table that we constructed in the lecture. Your program should read the values of λ1 for arrival rate and λ2 for service rate and use the steps we discussed so that the distributions of IAT and ST are exponential. The program should calculate and print the values in the simulation table
Hotel-Reservation-System
Hotel Reservation System
inter-arrival-times-and-service-times
A store is run by one employee selling goods to arriving customers following a first-come firstserve scheme (single server single queue system) Assume the inter-arrival times and service times for the store follow the distributions defined by the opposite tables. The store owner asked you to help him make estimates for the following: 1- Average waiting time for a customer 2- Maximum waiting time for a customer 3- Percentage of customers who need to wait in a queue 4- Percentage of customers who wait more than 10 minutes in the queue 5- Server utilization (percentage of time the employee is busy serving a customer) 6- Percentage of time the system is overcrowded (8 or more customers waiting in the queue) In order to provide the required statistics, you want to write code to simulate the system. Each run should simulate service of 100 customers and you should repeat the simulation 1000 times to provide accurate values to the store owner. Your program should not print the simulation table, only the final values are printed after the 1000 runs.
Poisson-distribution-coding
program that read a positive real number alpha, The program should calculate and print a table showing the pmf and cdf for Poisson distribution assuming the parameter equals the value of alpha read by the program.
Simulate-a-game-of-rolling-dice
program to simulate a game of rolling dice between two players and to print who is the winner
simulation-table-
A bank starts the customer service with one teller the input modeling for customers is empirically described in the following table.
Tutorials
All of the smaller projects I have done in tutorials / project files
Unfair-die-simulation-code
program that simulates a die that is not fair First read from user the PMF for the die (probabilities of each of the six outcomes of die roll) Then provide an output to the user (between 1 and 6) that can be result of rolling a die with the given PMF Copied or shared code is considered cheating and will be penalized
Unit-testing-code
Add test code to test the cases: 1.Sum of zero and zero returns zero 2.Sum of -1000 and 1000 returns zero