Problem #2
PERT Analysis: The following represents a project with four activities. All times are in weeks.
|
Activity |
Immediate Predecessor |
Optimistic Time |
Most Likely Time |
Pessimistic Time |
|
A |
- |
3 |
8 |
14 |
|
B |
- |
8 |
8 |
9 |
|
C |
A |
6 |
9 |
18 |
|
D |
B |
6 |
11 |
17 |
According to the data in the above Table:
What is the critical path?
What is the minimum expected completion time for the project?
According to the above Table, there are four activities in the project. Assume the normal distribution is appropriate to use to determine the probability of finishing by a particular time. If you wished to find the probability of finishing the project in 20 weeks or fewer, it would be necessary to find the variance and then the standard deviation to be used with the normal distribution. What is the probability of completing this project in 20 weeks or fewer?
In: Operations Management
STEP 1: Respond to the following prompt in a post between 200 and 400 words:
Pick one of the mental disorders you learned about in this module. Think of a fictional character who you think might fit, at least to some extent, that type of disorder. Consider cartoon characters, Disney princesses, favorite sitcom characters, etc. Do some more research on the disorder to write up a diagnosis. Explain which disorder the character may have, describe the disorder, then provide at least three evidences or examples of how or why that character meets the description of the mental illness.
In: Psychology
During June, the following changes in inventory item 27 took place:
June 1 Balance 1,400 units @ £24
14 Purchased 900 units @ £36
24 Purchased 700 units @ £30
8 Sold 400 units @ £50
10 Sold 1,000 units @ £40
29 Sold 500 units @ £44
Perpetual inventories are maintained in units only.
Instructions
What is the cost of the ending inventory for item 27 under the following methods? (Show calculations.)
(a) FIFO.
(b) Average Cost.
In: Accounting
1. Given a string of at least 3 characters as input, if the length of the string is odd return the character in the middle as a string. If the string is even return the two characters at the midpoint.
public class Class1 {
public static String midString(String str) {
//Enter code here
}
}
-----------
2. Given an array of integers return the sum of the values stored in the first and last index of the array. The array will have at least 2 elements in it
public class Class1 {
public static int endSum(int[] values) {
//Enter code here
}
}
-----------
3. The method takes a string as a parameter. The method prints treat if the string is candy or chocolate (of any case, such as CaNdY) Otherwise print trick
import java.util.Scanner;
public class Class1 {
public static void trickOrTreat(String str) {
//Enter code here
}
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
trickOrTreat(s.nextLine());
}
}
In: Computer Science
Thinking about Treatment
STEP 1: Choose ONE of the following questions and respond to it in a post of at least 200 words.
Psychoanalytic theory is no longer the dominant therapeutic approach, because it lacks empirical support. Yet many consumers continue to seek psychoanalytic or psychodynamic treatments. Do you think psychoanalysis still has a place in mental health treatment? If so, why?
What might be some advantages and disadvantages of technological advances in psychological treatment? What will psychotherapy look like 100 years from now?
Some people have argued that all therapies are about equally effective, and that they all affect change through common factors such as the involvement of a supportive therapist. Does this claim sound reasonable to you? Why or why not?
When choosing a psychological treatment for a specific patient, what factors besides the treatment’s demonstrated efficacy should be taken into account?
In: Psychology
(Area of a convex polygon)
A polygon is convex if it contains any line segment that connects
two points of the polygon. Write a program that prompts the user to
enter the number of points in a convex polygon, then enter the
points clockwise, and display the area of the polygon.
Sample Run
Enter the number of points: 7
Enter the coordinates of the points:
-12 0 -8.5 10 0 11.4 5.5 7.8 6 -5.5 0 -7 -3.5 -5.5
The total area is 244.575
In: Computer Science
Description: In April 2020, the Toyota-backed startup Pony.ai has teamed up with the online Asian ecommerce site Yamibuy3 to delivery packages and groceries in Irvine, California due to Covid-19. Read the news story published by Bloomberg4 and visit the Pony.ai website5 to acquire background information. You may explore more information from other pieces of news and video clips. Now assumed that customers purchased groceries in the online website, they would like to use Pony.ai app for a home delivery. You are asked to develop diagrams to capture the main features of such autonomous delivery service. Remember, online shopping and checkout are not integral part of your application, but only autonomous delivery service (PonyPilot6 ). Tasks: Develop the following diagrams to capture the autonomous delivery service. You may make any assumptions as necessary since the PonyPilot app is not readily available to everyone (invitation only). 1. Use case diagram (focus on delivery service) 2. Sequence diagram (focus on delivery service) 3. ERD diagram to store necessary data (focus on delivery service)
In: Operations Management
CODE IN JAVA
Create a class Student includes name, age, mark and necessary methods. Using FileWriter, FileReader and BufferedReader to write a program that has functional menu:
|
Menu -------------------------------------------------
Your choice: _ |
+ Save to File: input information of several students and write that information into a text file, each student in a line (use tabs to separate the fields)
+ Read File: read and display information of students
In: Computer Science
Choose any country except the United States, and your native country (if different from the United States). Describe the culture of this country in detail. What are some key cultural aspects of which a U.S. expatriate on assignment in this country should be aware? What aspects of this country’s culture could cause culture shock for a U.S. expatriate? What advice would you give to someone who was preparing for a long-term assignment in this culture? Finally, would you want to spend an extended amount of time as an expatriate in this country? Why or why not? Support your assessment.
In: Operations Management
In: Psychology
JAVA code
Create a new class called BetterDiGraph that implements the EditableDiGraph interface See the interface below for details.
EditableDigraph below:
import java.util.NoSuchElementException;
/**
* Implements an editable graph with sparse vertex support.
*
*
*/
public interface EditableDiGraph {
/**
* Adds an edge between two vertices, v and w. If vertices do not
exist,
* adds them first.
*
* @param v source vertex
* @param w destination vertex
*/
void addEdge(int v, int w);
/**
* Adds a vertex to the graph. Does not allow duplicate
vertices.
*
* @param v vertex number
*/
void addVertex(int v);
/**
* Returns the direct successors of a vertex v.
*
* @param v vertex
* @return successors of v
*/
Iterable getAdj(int v);
/**
* Number of edges.
*
* @return edge count
*/
int getEdgeCount();
/**
* Returns the in-degree of a vertex.
* @param v vertex
* @return in-degree.
* @throws NoSuchElementException exception thrown if vertex does
not exist.
*/
int getIndegree(int v) throws NoSuchElementException;
/**
* Returns number of vertices.
* @return vertex count
*/
int getVertexCount();
/**
* Removes edge from graph. If vertices do not exist, does not
remove edge.
*
* @param v source vertex
* @param w destination vertex
*/
void removeEdge(int v, int w);
/**
* Removes vertex from graph. If vertex does not exist, does not try
to
* remove it.
*
* @param v vertex
*/
void removeVertex(int v);
/**
* Returns iterable object containing all vertices in graph.
*
* @return iterable object of vertices
*/
Iterable vertices();
/**
* Returns true if the graph contains at least one vertex.
*
* @return boolean
*/
boolean isEmpty();
/**
* Returns true if the graph contains a specific vertex.
*
* @param v vertex
* @return boolean
*/
boolean containsVertex(int v);
}
In: Computer Science
Murray, the longtime lab director in the R&D (research and development) department, has announced his retirement. Marianne, the head of R&D for three years, has received great advice from Murray on every topic she has asked him about. Murray is a modest man, but she suspects that he knows more about their department than the rest of the group put together. They meet in his office to talk about ways Murray can document his knowledge so that it doesn’t “walk out the door” with him when he retires. Murray shows Marianne dozens of binders and several file cabinet field with one of a kind documents that predate the use of personal computer and electronic file. He suggests that he spend the rest of his time labeling everything and putting together a list of what he has. Marianne has a different idea. She appreciates Murray’s interest in preserving the past, but she believes it is essential to capture his perspective on the new technologies,
new products, and new processes that have been implemented over the years. She wants to put together an ad hoc committee to work with Murray. she asks him to meet with her in two days to talk about the committee and what can be accomplished before Murray retires.
In: Operations Management
An ALP to print only lowercase alphabets[A-Z] using emu8086 and the code will be written like this form EX:
MOV AX, @DATA ; initialize
DS MOV DS, AX
and please write explanation when writing the code so we can understand it
In: Computer Science
PEER EDUCATION
Read each of the statements below. Write down or discuss with others why these statements might be offensive. Do they reinforce a stereotype, treat people in non-parallel ways (indicating that one type of person has more power/privilege or prestige than another), or assume that certain groups must behave in certain ways? In some cases, the words equate a person or group of people to a trait. Rewrite each statement so that it treats people in parallel ways, does not reinforce stereotypes, and does not equate groups of people to a trait.
The men’s competition starts at 7:00 pm, and the ladies’ begins at 9:00 pm.
Lisa’s campaign is gaining steam. Smith (last name) is considering withdrawing from the race.
Despite being in a wheelchair, Rafael is quite successful.
Over 100 people attended with their girlfriend.
The jocks use the room on Tuesdays.
We need more manpower.
I see she forgot to turn in her paper. She is acting a little blonde today.
The socks are flesh colored.
In: Psychology
This company uses a perpetual inventory system. It had the following beginning inventory and current year purchases of its product.
Jan 1. Beginning Inventory ..... 50 units @ $100 = $5,000
Jan 14. Purchase .......................150 units @ $120 = 18,000
Apr 30. Purchase........................ 200 units @ $150= 30,000
Sept 26th. Purchase................... 300 units @ $200= 60,000
The company transacted sales on the following dates at $350 per unit sales price.
Jan 10. 30 units (specific cost: 30 @ $100)
Feb 15. 100 units (specific cost: 100 @ $120)
Oct 5. 350 units (specific cost: 100 @ $150 and 250 @ $200)
USING (THE WEIGHTED AVERAGE COSTING METHOD) ANSWER THE FOLLOWING QUESTIONS:
A. Identify and compute the costs to assign to the units sold. (Round per unit costs to three decimals.)
B. Identify and compute the costs to assign to the units in ending inventory. (Round inventory balances toe the dollar)
C. How likely is it that the Weighted Average method will reflect the actual physical flow of goods? How relevant is that factor in determining wether this is an acceptable method to use?
D. What is the impact of this method versus others in determining net income and income taxes?
E. How closely does the ending inventory amount reflect replacement cost?
In: Accounting