Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Your next task is to correlate the large losses from the roulette tables with the dealer schedule. This will help you determine which dealer and
Your next task is to correlate the large losses from the roulette tables with the dealer schedule. This will help you determine which dealer and player are colluding to steal money from Lucky Duck.
NOTE
Winnings for Lucky Duck Casino are indicated with a positive number and losses are indicated with a negative number.
Complete the player analysis with the following steps:
Navigate to the PlayerAnalysis directory.
Use grep to isolate all of the losses that occurred on March and
Place those results in a file called RouletteLosses.txt
Preview the file RouletteLosses.txt and analyze the data.
Record the following in the NotesPlayerAnalysis.txt file:
The times the losses occurred on each day.
Whether there is a certain player who was playing during each of those times.
The total count of times this player was playing. Hint: Use the wc command to find this value.
Complete the dealer analysis with the following steps:
Navigate to the DealerAnalysis directory.
This file contains the dealer schedules for the various Lucky Duck casino games: Blackjack, Roulette, and Texas Hold Em
Preview the schedule to view the format and to understand how the data is separated.
Using your findings from the player analysis, create a separate script to look at each day and time that you determined losses occurred. Use awk, pipes, and grep to isolate out the following four fields:
Time
ampm
First name of roulette dealer
Last name of roulette dealer
For example, if a loss occurred on March at pm you would write one script to find the roulette dealer who was working at that specific day and time.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started