Instructions and data move generally from left to right thro…

Instructions and data move generally from left to right through the five stages of the pipeline. If the data has to travel from right to left, it causes [ans3]. However, there are two exceptions when the data travels from right to left in a pipeline without causing any problem, and they are [ans1] and [ans2].

Write a Python program to simulate a queue for managing cust…

Write a Python program to simulate a queue for managing customers at a service desk. Each customer has a name, address, and a customer_number. You must: Create a Customer class with: Attributes: name, address, customer_number A __str__ method that prints the customer’s info neatly. Create a CustomerQueue class with: __init__ method to create an empty queue using a Python list with a maxsize. [if you want to use deque or Lifoqueue if needed instead of list, but list will be the simplest.] enqueue(customer) Method to add a new customer to the end of the queue. You should never enqueue a customer to a full queue dequeue() Method to remove and return the customer from the front of the queue. You should never dequeue a customer from an empty queue. is_empty() method to check if the queue is empty. is_full() method to check if the queue is empty. For testing the program: Create a CustomerQueue. Add three customers to the queue. Dequeue one customer and print the info. Rubric : Part 1 – Customer class – 10 points Part 2 :  __init__ (15), enqueue (15), dequeue(15), is_empty(5), is_full(5) Part 3:   Create a CustomerQueue. (10) Add three customers to the queue. (10) Dequeue one customer and print the info. (10) Comment, clean code, and indentation – (5)

Note: This question has Part A and Part B. Each part carries…

Note: This question has Part A and Part B. Each part carries 5 points, for a total of 10 points.Instructions (Please read them carefully):Complete and submit Test 3. Ensure all questions are answered before submission.Go to “Module 13 Shoreliens” and locate “Question 45 Part A – Test 3” in the “Complete these assignments” folder.Follow the instructions provided for Question 45 Part A – Test 3.Then, locate “Question 45 Part B – Test 3” in the same folder and answer it.Please ensure that both answers are submitted within two hours of submitting the Test 3.

 An automobile insurance company selected samples of policyh…

 An automobile insurance company selected samples of policyholders between two states, one “smaller” population state and one “larger” population state, and recorded the number of policyholders who made claims over the preceding three-year period.  The data between the two state samples are as follows:  “Large” state   “Small” state Claims = 214 n = 930 Claims = 76 n = 380 ​   Confidence Interval questions: Provide all confidence interval answers to 2 decimal places. a.  What is the margin of error for a 95% confidence interval for the difference between the proportion ofclaims in the large population state versus the proportion of claims in the small population state?  [MofE] b.  What is the confidence interval estimate for the difference between the two population proportions ata 95% confidence? Low value: [LowCI] ⇔ High value: [HighCI] Hypothesis testing: Provide values as appropriate for hypothesis testing.The insurance company wants to statistically test if the proportion of claims in the large state are greater thanthe proportion of claims in the small state.  We will conduct the hypothesis test at α = .10 c.  Provide the hypothesis test criteria:   HO:  pLarge – pSmall [NullOperator] [MuNull]       HA:  pLarge – pSmall [AltOperator] [MuAlt] d.  Critical value approach: Compare the test statistic of  [TestStat] to the critical value of  [CriticalValue] e.  P-value approach:     Compare the p-value of  [Pvalue]  to α = .10 f. Conclusion:  (Type either Accept or Reject):  [AcceptReject]  HO g.  What does this mean?  That is, what does this hypothesis test decision tell us about the claims historyproportions comparison between large population states and small population states?(Business decision):  [WDTM]