Using Java, Complete LinkedListSet:
package Homework3;
public class LinkedListSet <T> extends LinkedListCollection
<T> {
LinkedListSet() {
}
public boolean add(T element) {
// Code here
return true;
}
}
Homework3 class:
public class Homework3 {
public static void main(String[] args) {
ArrayCollection ac1 = new ArrayCollection(); // Calling
Default
Constructor
ArrayCollection ac2 = new ArrayCollection(2); // Calling
overloaded
constructor
ArraySet as1 = new ArraySet();
ac2.add("Apple");
ac2.add("Orange");
ac2.add("Lemon"); // This can't be added into ac2 as collection is
full
System.out.println(ac2.remove("Apple")); // This should return
true
System.out.println(ac2);
ac2.enlarge(10);
ac2.add("Watermelon");
System.out.println("Equals: " + ac1.equals(ac2));
as1.add("Avocado");
as1.add("Avocado"); // This will not be added, since the
collection is "set"
}
}
In: Computer Science
Now why is it important from an accounting perspective to classify a lease into operating or capital lease? What is the criteria to classify the lease into operating and capital lease ? Do you think the lessee tends to prefer an operating lease or a capital lease? Why?
In: Accounting
Carlsbad Corporation's sales are expected to increase from $5 million in 2016 to $6 million in 2017, or by 20%. Its assets totaled $5 million at the end of 2016. Carlsbad is at full capacity, so its assets must grow in proportion to projected sales. At the end of 2016, current liabilities are $1 million, consisting of $250,000 of accounts payable, $500,000 of notes payable, and $250,000 of accrued liabilities. Its profit margin is forecasted to be 6%, and the forecasted retention ratio is 40%. Use the AFN equation to forecast Carlsbad's additional funds needed for the coming year. Write out your answer completely. For example, 5 million should be entered as 5,000,000. Round your answer to the nearest cent.
$
Now assume the company's assets totaled $3 million at the end of
2016. Is the company's "capital intensity" the same or different
comparing to initial situation?
-Select-Different or The same
In: Finance
Gallatin Carpet Cleaning is a small, family-owned business operating out of Bozeman, Montana. For its services, the company has always charged a flat fee per hundred square feet of carpet cleaned. The current fee is $23.60 per hundred square feet. However, there is some question about whether the company is actually making any money on jobs for some customers—particularly those located on remote ranches that require considerable travel time. The owner’s daughter, home for the summer from college, has suggested investigating this question using activity-based costing. After some discussion, she designed a simple system consisting of four activity cost pools. The activity cost pools and their activity measures appear below: Activity Cost Pool Activity Measure Activity for the Year Cleaning carpets Square feet cleaned (00s) 7,500 hundred square feet Travel to jobs Miles driven 394,000 miles Job support Number of jobs 1,800 jobs Other (organization-sustaining costs and idle capacity costs) None Not applicable The total cost of operating the company for the year is $363,000 which includes the following costs: Wages $ 138,000 Cleaning supplies 28,000 Cleaning equipment depreciation 15,000 Vehicle expenses 40,000 Office expenses 68,000 President’s compensation 74,000 Total cost $ 363,000 Resource consumption is distributed across the activities as follows: Distribution of Resource Consumption Across Activities Cleaning Carpets Travel to Jobs Job Support Other Total Wages 77 % 11 % 0 % 12 % 100 % Cleaning supplies 100 % 0 % 0 % 0 % 100 % Cleaning equipment depreciation 75 % 0 % 0 % 25 % 100 % Vehicle expenses 0 % 84 % 0 % 16 % 100 % Office expenses 0 % 0 % 56 % 44 % 100 % President’s compensation 0 % 0 % 31 % 69 % 100 %
Required:
1. Prepare the first-stage allocation of costs to the activity cost pools.
2. Compute the activity rates for the activity cost pools.
3. The company recently completed a 800 square foot carpet-cleaning job at the Flying N ranch—a 53-mile round-trip journey from the company’s offices in Bozeman. Compute the cost of this job using the activity-based costing system.
4. The revenue from the Flying N ranch was $188.80 (800 square feet @ $23.60 per hundred square feet). Calculate the customer margin earned on this job.
In: Accounting
LONG-TERM FINANCING NEEDED
At year-end 2016, total assets for Arrington Inc. were $1.6 million and accounts payable were $330,000. Sales, which in 2016 were $3 million, are expected to increase by 30% in 2017. Total assets and accounts payable are proportional to sales, and that relationship will be maintained; that is, they will grow at the same rate as sales. Arrington typically uses no current liabilities other than accounts payable. Common stock amounted to $445,000 in 2016, and retained earnings were $335,000. Arrington plans to sell new common stock in the amount of $195,000. The firm's profit margin on sales is 6%; 35% of earnings will be retained.
a. What were Arrington's total liabilities in 2016? Write out your answer completely. For example, 25 million should be entered as 25,000,000. Round your answer to the nearest cent.
b. How much new long-term debt financing will be needed in 2017? Write out your answer completely. For example, 25 million should be entered as 25,000,000. Do not round your intermediate calculations. Round your answer to the nearest cent. (Hint: AFN - New stock = New long-term debt.)
In: Finance
what is C++?
what is embedded computer?
In: Computer Science
Do an assessment of the production strategy and supply chain of Samsung. Be sure to address outsourcing and TQM. Where does Samsung produce product? Apply in detail the country, technological and production factors involved.
In: Operations Management
Quantitative Problem: Barton Industries estimates its cost of common equity by using three approaches: the CAPM, the bond-yield-plus-risk-premium approach, and the DCF model. Barton expects next year's annual dividend, D1, to be $2.30 and it expects dividends to grow at a constant rate g = 3.4%. The firm's current common stock price, P0, is $28.00. The current risk-free rate, rRF, = 4.7%; the market risk premium, RPM, = 6%, and the firm's stock has a current beta, b, = 1.3. Assume that the firm's cost of debt, rd, is 8.06%. The firm uses a 4% risk premium when arriving at a ballpark estimate of its cost of equity using the bond-yield-plus-risk-premium approach. What is the firm's cost of equity using each of these three approaches? Round your answers to 2 decimal places.
CAPM cost of equity: | % |
Bond yield plus risk premium: | % |
DCF cost of equity: | % |
Answer those three above please and thank you :)
What is your best estimate of the firm's cost of equity?
In: Finance
In: Computer Science
Name and identify four (4) challenges that a manager may confront in over-seeing a centralized structure. Back each of your four statements up with a minimum of four sentences, for each challenge cited. Providing a realistic example is a great way, as part of each explanation. I wish to see a separate paragraph for each of the challenges?
In: Operations Management
There are a lot of networking and network security jobs and every IT company has network engineers, admins, etc. Why and how do think understanding the OSI Model and Network Devices are important from a work standpoint? Looking for some original content.
In: Computer Science
Using Java Languse, Complete ArraySet.java down below by using (Array collection) :
package Homework3;
public class ArraySet extends ArrayCollection {
public ArraySet() {
}
public ArraySet(int size) {
super(size);
}
public boolean add(T element) {
// Complete your code here
return true;
}
}
ArrayCollection.java:
package Homework3;
public class ArrayCollection {
protected static final int DEFAULT_CAPACITY = 100;
protected T[] elements;
protected int numberOfElements;
public ArrayCollection() {
this(DEFAULT_CAPACITY);
}
public ArrayCollection(int size) {
elements = (T[]) new Object[size];
numberOfElements = 0;
}
public boolean isEmpty() {
return numberOfElements == 0;
}
public boolean isFull() {
return numberOfElements == elements.length;
}
public int size() {
return numberOfElements;
}
public String toString() {
String collection = "";
for (int i = 0; i < numberOfElements; i++)
collection += elements[i] + "\n";
return collection;
}
public boolean add(T element) {
// Complete your code here
return true;
}
public boolean remove(T target) {
// Complete your code here
return true;
}
public boolean removeAll(T target) {
// Complete your code here
return true;
}
public void removeDuplicate() {
// Remove any duplicated elements
}
public boolean equals(ArrayCollection that) {
// Return true if ArrayCollection are identical.
boolean result = true;
// Complete your code here.
return result && this.size() == that.size();
}
public int count(T target) {
// Return count of target occurrences
int c = 0;
// Complete your code here
return c;
}
public void merge(ArrayCollection that) {
// Merge that ArrayCollection into this ArrayCollection
// Complete your code here
}
public void enlarge(int size) {
// Enlarge elements[] with additional size
// Complete your code here
}
public void clear() {
// Remove all elements in the collection
}
//Note: Different from textbook, this implementation has no 'found'
and
'location' attributes.
// There is no find() method.
// There is a new methods findIndex().
public boolean contains(T target) {
// Return true if target is found
boolean found = false;
// Complete your code here
return found;
}
public int findIndex(T target) {
// Return index of target
int index = 0;
// Complete your code here
return index;
}
}
Homework3 class:
public class Homework3 {
public static void main(String[] args) {
ArrayCollection ac1 = new ArrayCollection(); // Calling
Default
Constructor
ArrayCollection ac2 = new ArrayCollection(2); // Calling
overloaded
constructor
ArraySet as1 = new ArraySet();
ac2.add("Apple");
ac2.add("Orange");
ac2.add("Lemon"); // This can't be added into ac2 as collection is
full
System.out.println(ac2.remove("Apple")); // This should return
true
System.out.println(ac2);
ac2.enlarge(10);
ac2.add("Watermelon");
System.out.println("Equals: " + ac1.equals(ac2));
as1.add("Avocado");
as1.add("Avocado"); // This will not be added, since the
collection is "set"
}
}
In: Computer Science
What the importance of Subnetting? Why do we need to learn Subnetting? How is it useful in day-to-day operations at a company? Looking for some original content.
In: Computer Science
Sales revenue $5,625,000
Variable manufacturing expense 1,875,000
Variable selling and admin expense 625,000
Fixed manufacturing expense 1,000,500
Fixed selling and administrative expense 562,000
Total Expenses (4,062,500)
Net operating income $ 1,562,500
Company produced and sold 625,000 units of products.
Requirements:
In: Accounting
The implementations of the methods addAll, removeAll, retainAll are omitted in the MyList interface. Implement these methods.
/** Adds the elements in otherList to this list.
* Returns true if this list changed as a result of the call
*/
public default boolean addAll(Collection<? extends E> c)
/** Removes all the elements in otherList from this list
* Returns true if this list changed as a result of the call
*/
public default boolean removeAll(Collection<?> c)
/** Retains the elements in this list that are also in
otherList
* Returns true if this list changed as a result of the call
*/
public default boolean retainAll(Collection<?> c)
Write a test program that creates two MyArrayLists, list1 and
list2, with the initial values {"Tom", "George", "Peter", "Jean",
"Jane"} and {"Tom", "George", "Michael", "Michelle", "Daniel"},
then perform the following operations:
■ Invokes list1.addAll(list2), and displays list1 and list2.
■ Recreates list1 and list2 with the same initial values, invokes
list1.removeAll(list2), and displays list1 and list2.
■ Recreates list1 and list2 with the same initial values, invokes
list1.retainAll(list2), and displays list1 and list2.
In: Computer Science