Questions
MARKOV ANALYSIS An IE student falls in line i a copier machine to reproduce his materials....

MARKOV ANALYSIS

An IE student falls in line i a copier machine to reproduce his materials. Students arrive according to exponential distribution process at a mean time of 20 minutes. The copier operator can finish reproducing the materials  according to exponential distribution at a rate of 5 per hour.

a) What is the probability that exactly 5 students fall in line in the copier machine. Answer in 4 decimal places.

b) What is the approximate time in minutes student will fall in line? Answer in integer value.  

c) How many students will be falling in line to avail of the service of the copier operator? Answer in integer value.  

d) If the school administrator wants to limit students' waiting time to 2 minutes, how many copier machines should be installed? Answer in integer value.  

e) What is the waiting time (in minutes) if the number of copier machine will be installed based on your answer in (d). Answer in 3 decimal places.  

In: Operations Management

write a program that: 1) asks the user to enter grades, a negative number is the...

write a program that:

1) asks the user to enter grades, a negative number is the signal to stop entering. (while loop) - add each grade to a list (do not add the negative number to the list)

after the while loop to enter grades is finished:

2) use a for loop on the list to calculate the average of all numbers in the list

3) use a for loop on the list to find the largest number in the list

4) use a for loop on the list to find the smallest number in the list

your program should have 1 while loop and 3 for loops

python code

In: Computer Science

In Python please! Given an unsorted list (ls) of values (you do not know the datatype)....

In Python please!

Given an unsorted list (ls) of values (you do not know the datatype). Only two values appear in the list but they appear many times and are not sorted. Without using any significant additional space (i.e. you cannot copy the list) sort the elements in linear time going through the list only once. For example:

Given the list [‘a’, ‘a’, ‘b’, ‘a’, ‘a’, ‘b’, ‘b’, ‘a’] after the function, the list is [‘a’, ‘a’, ‘a’, ‘a’, ‘a’, ‘b’, ‘b’, ‘b’] Given the list [1, 0, 1, 0, 1, 1] after the function, the list is [0,0,1,1,1,1]

In: Computer Science

State University employs a large number of graduate students to work as teaching assistants. The teaching...

State University employs a large number of graduate students to work as teaching assistants. The teaching assistants often complain about their work. They feel that faculty and administrators demand too much. A common complaint is their low wages. The graduate students frequently point out that they do much the same work as faculty members, yet they receive only a very small percentage of the pay that faculty members receive. They also claim that faculty members frequently treat them unfairly. Teaching assistants are often asked to do large amounts of grading in very short time periods. Many also feel that faculty members are not very good at communicating expectations.

In response to the dissatisfaction of the teaching assistants, a local union representing public workers has begun efforts to organize a labor union. Union representatives have obtained campaign card signatures from 40 percent of the teaching assistants. An election is scheduled for next month. Union representatives have been busy making a case that the union can help ensure that teaching assistants are treated more fairly. They have publicized statistics showing that unionized workers make significantly more than nonunionized workers. University administrators have decided not to actively oppose union organization. They have simply stated that it is important for teaching assistants to have the opportunity to decide whether they should be represented by a labor union.

Some faculty members are sympathetic to the concerns voiced by graduate students. They publicly state their concern that wages are too low. They also express frustration when they see some of their colleagues take advantage of students by assigning them large amounts of work to complete in short time periods. Other faculty members are less sympathetic. These professors talk about how they were treated even worse when they were graduate assistants. They seem to find joy in looking back and telling war stories about “the old days.” They seem to think that working hard for little pay is a right of passage that helps prepare students for future careers. Overall, the faculty at State University thus seems to be about evenly split in their support for student efforts to unionize.

A majority of the undergraduate students at State University don't seem to know anything about the unionization efforts. A few politically active students have joined public rallies supporting the unionization efforts. Others seem to have used the unionization issue to complain about the quality of teaching provided by graduate students. These students recently met with administrators to complain about having too many graduate students as instructors. Just last week the local newspaper printed an article detailing some of the problems experienced when courses are taught by graduate students.

As a community, State University thus seems to be quite divided over the unionization issue. No matter who prevails in the election, it seems likely that a large number of people will be unhappy with the result.
Question:

1. Do you think a union would help resolve the complaints of the teaching assistants?

2. What makes the position of teaching assistant different from many jobs frequently represented by unions?

3. Do you think the administration's response is appropriate?

4. If you were a graduate student at State University, would you vote for the union? Why?

In: Operations Management

State University employs a large number of graduate students to work as teaching assistants. The teaching...

State University employs a large number of graduate students to work as teaching assistants. The teaching assistants often complain about their work. They feel that faculty and administrators demand too much. A common complaint is their low wages. The graduate students frequently point out that they do much the same work as faculty members, yet they receive only a very small percentage of the pay that faculty members receive. They also claim that faculty members frequently treat them unfairly. Teaching assistants are often asked to do large amounts of grading in very short time periods. Many also feel that faculty members are not very good at communicating expectations.

In response to the dissatisfaction of the teaching assistants, a local union representing public workers has begun efforts to organize a labor union. Union representatives have obtained campaign card signatures from 40 percent of the teaching assistants. An election is scheduled for next month. Union representatives have been busy making a case that the union can help ensure that teaching assistants are treated more fairly. They have publicized statistics showing that unionized workers make significantly more than nonunionized workers. University administrators have decided not to actively oppose union organization. They have simply stated that it is important for teaching assistants to have the opportunity to decide whether they should be represented by a labor union.

Some faculty members are sympathetic to the concerns voiced by graduate students. They publicly state their concern that wages are too low. They also express frustration when they see some of their colleagues take advantage of students by assigning them large amounts of work to complete in short time periods. Other faculty members are less sympathetic. These professors talk about how they were treated even worse when they were graduate assistants. They seem to find joy in looking back and telling war stories about “the old days.” They seem to think that working hard for little pay is a right of passage that helps prepare students for future careers. Overall, the faculty at State University thus seems to be about evenly split in their support for student efforts to unionize.

A majority of the undergraduate students at State University don't seem to know anything about the unionization efforts. A few politically active students have joined public rallies supporting the unionization efforts. Others seem to have used the unionization issue to complain about the quality of teaching provided by graduate students. These students recently met with administrators to complain about having too many graduate students as instructors. Just last week the local newspaper printed an article detailing some of the problems experienced when courses are taught by graduate students.

As a community, State University thus seems to be quite divided over the unionization issue. No matter who prevails in the election, it seems likely that a large number of people will be unhappy with the result.

Question:

Do you think a union would help resolve the complaints of the teaching assistants?

What makes the position of teaching assistant different from many jobs frequently represented by unions?

Do you think the administration's response is appropriate?

If you were a graduate student at State University, would you vote for the union? Why?

In: Operations Management

Using the textbook implementation of integer node given below; public class IntegerNode { public int item;...

Using the textbook implementation of integer node given below;

public class IntegerNode

{

public int item;

public IntegerNode next;

public IntegerNode(int newItem)

{

item = newItem;

next = null;

} // end constructor

public IntegerNode(int newItem, IntegerNode nextNode)

{

item = newItem;

next = nextNode; } // end constructor

} // end class IntegerNode

You need to implement add( ), delete( ), traverse( ) methods for an ordered linked list. And after insertion and deletion, your linked list will remain ordered.

Here is the procedure for testing. Please include this.

  • Add the numbers 2, 3, and 6 to the list
  • Display the list contents
  • Add 5 to the list
  • Display the list contents
  • Delete 3 from the list
  • Display the list contents
  • Delete 2 from the list
  • Display the list contents

THANK YOU!!!

In: Computer Science

list.h file #ifndef LIST_H_ #define LIST_H_ struct ListNode { long value; struct ListNode *next; }; struct...

list.h file

#ifndef LIST_H_
#define LIST_H_

struct ListNode {
long value;
struct ListNode *next;
};

struct ListNode *list_prepend(struct ListNode *list, long value);

int list_length(struct ListNode *list);
struct ListNode *list_remove(struct ListNode *list, long value);

#endif /* LIST_H_ */

given.c file

#include

#include "list.h"

struct ListNode *list_prepend(struct ListNode *list, long value) {
struct ListNode *node = malloc(sizeof(struct ListNode));
node->value = value;
node->next = list;

return node;
}

list.c file

#include

#include "list.h"

/* Counts and returns the number of nodes in the given list. */
int list_length(struct ListNode *list) {
return -1;

}


/* Searches the given list for the first node containing the given
* value. If such a list element is found, it is removed from the list
* and freed
* Returns the resulting list after any adjustments are made. */
struct ListNode *list_remove(struct ListNode *list, long value) {
return NULL;
}

In: Computer Science

This LinkedListUtil class tests various usages of the LinkedList class. The single param is an array...

This LinkedListUtil class tests various usages of the LinkedList class. The single param is 
an array of string. You will create a linked list with the string elements and return the 
linked list with all but the 1st two elements removed.

Java code

Complete the following file:

LinkedListUtil.java

import java.util.LinkedList;
import java.util.ListIterator;

/**
This LinkedListUtil class tests various usages of the LinkedList class
*/
public class LinkedListUtil
{



/**
Constructs a LinkedListUtil.
@param list is the initialized list
*/
public LinkedListUtil(LinkedList<String> list)
{
this.list = list;
}

/**
deletes all but the first two linked list enries
*/
public void processList()
{
// TODO: create a list iterator and remove all but the first two elements
}


private LinkedList<String> list;

// this method is used to check your work
public static LinkedList<String> check(String[] values)
   {  
LinkedList<String> list = new LinkedList<String>();
for (String s : values)
       list.addLast(s);

LinkedListUtil tester = new LinkedListUtil(list);
tester.processList();
return list;
}

}

In: Computer Science

Write a Python program stored in a file q3.py that: Gets single-digit numbers from the user...

Write a Python program stored in a file q3.py that:

  • Gets single-digit numbers from the user on one line (digits are separated by white space) and adds them to a list. The first digit and the last digit should not be a zero. If the user provides an invalid entry, the program should prompt for a new value.

  • Converts every entry in the list to an integer and prints the list. The digits in the list represent a non-negative integer. For example, if the list is [4,5,9,1], the entries represent the integer 4591. The most significant digit is at the zeroth index of the list.

  • Adds the integer that the reversed value of the integer. For example, if the list is [4,5,9,1], the addition will be 4591 + 1954 = 6545 and the resulting list will be [6,5,4,5]

Sample Output#1:

  1. **************************************************

  2. Enter single digits separated by one space: 0 5 1 1

  3. Invalid list, try again.

  4. Enter single digits separated by one space: 8 5 9 0

  5. Invalid list, try again.

  6. Enter single digits separated by one space: 0 58 1 14

  7. Invalid list, try again.

  8. Enter single digits separated by one space: 4 5 9 1

  9. The initial list is: [4,5,9,1]

  10. The reversed list is: [1,9,5,4]

  11. The addition list is: [6,5,4,5]

  12. **************************************************

In: Computer Science

Which effect size index is used frequently? A. Cohen’s d B. F-ratio C. Cramér’s V D....

Which effect size index is used frequently?

A.

Cohen’s d

B.

F-ratio

C.

Cramér’s V

D.

t

In: Nursing