In: Nursing
In: Operations Management
JAVASCRIPT:
- Please create an object (grade) with 10 names and 10
grades.
- Create a method (inputGrade) that can put a name and a grade to
the grade object.
- Create another method (showAlltheGrades) to show all the grade in
that object.
- Create the third method (MaxGrade) that can display the maximum
grade and the student name.
- Using “prompt” and inputGrade method input 10 student names and
their grades.
- Display all the grades and names by using showAlltheGrades
method.
NOTE: Make sure to use the push() method when adding elements to the arrays.
Prefer to use NotePad++ or Note Pad to type code. Please add on to the Pseudo Code and convert it into the javascript needed. Thank you
PLEASE USE THE REFERENCE JAVASCRIPT CODE BELOW!
[Reference JavaScript code]
<<html>
<body>
<script>
// Declare a class
class Student {
// initialize an object
constructor(grade, name) {
this.grade=grade;
this.name=name; }
//Declare a method
detail() {
document.writeln(this.grade + " " +this.name)
}//detail
}//class
var student1=new Student(1234, "John Brown");
var student2=new Student(2222, "Mary Smith");
student1.detail();//call a method
student2.detail();
</script>
</body>
</html>
[Find max pseudo code]
max← A[1]
while i < 10
if A[i] > max
max = A[i]
i ← i + 1
end while
In: Computer Science
1. The closed end of a Boyle’s law crooks tube is shown to the right. The internal diameter of the tube is 4.0 mm. The tube is cylindrical topped by a hemisphere with the same radius as the tube. It is 3.8 cm from the mercury to the bottom of the hemisphere.
What is the volume of gas trapped in this tube in cm3?
2. 4.25 L of air was trapped in a balloon at sea level where the pressure is 1.00 atm. You throw it in your car and drive to red Lodge Montana (at 5500 ft) and then up the Beartooth Pass at 10,006 ft, (See the next page) where atmospheric pressure is 0.703 atm.
What is the volume of the balloon on top of the pass?
3. In actuality it is cold on top of this pass. The winter snow typically keeps the pass closed until about Memorial Day and sometimes July 4th.
Suppose the balloon was filled on a hot day when T = 28oC. On top of the pass on a June day is it a cool 3oC. (I hope you remembered you coat!)
Considering both the pressure and temperature, what is he balloon’s volume?
In: Chemistry
Explain what Fair Trade seeks to do. State two advantages produced by the Fair Trade model and two disadvantages.
In: Economics
Descirbe what energy transformations and/or transfers are occuring in the following activities. Add enough detail to justify your answer.
A) Chemical energy to thermal energy followed by work done.
B) Kinetic energy to potential energy with no change in thermal energy.
In: Physics
This week we have been learning about the methods archaeologists and paleontologists use to reconstruct the past. Now it’s time to get creative and apply this new knowledge to the present day. This is going to involve a little bit of research and creativity on your part. Pick a room in your house, apartment, dorm, or alternative domicile. If you walked out the door today and your room remained untouched for 100, 1,000 or 50,000 years, what would be left for archaeologists in the future to analyze?
Think about the types of materials that make up your room and how they will degrade over time. Do you have metal, ceramic, glass, and wood in your room? Did you leave chicken bones in your trash or canned soup in the pantry? What types of methods that we employ today, would researchers use to “date” your room? For example if you have ceramic dishes an archaeologist might use thermoluminescence dating to try to figure out when they were made.
Post a paragraph discussing a few of the main things that you think might still be around for archaeologists to find, and include how researchers might identify how old they are. You can insert pictures or drawings in your post if you would like too. In addition, think about what types of issues researchers in the future could have trying to analyze materials from today?
In: Biology
Think about a bacterial cell entered the blood stream of a human. State the probable sequence of immunological interactions and responses that will occur in both innate and adaptive immune system and support your answer with molecules, receptors, pathways and cells involved. (200-300 words)
In: Biology
CASE MATERIALS: THE CLASSIC PEN COMPANY CASE
Case Abstract
The case is designed to help you develop an understanding of how to build an activity-based-costing model and why activity-based-costing may be more appropriate in practice than functional unit-based overhead cost allocation methods. The case requirements ask you to apply overhead and calculate product costs and gross profit using traditional plant-wide overhead allocation methods, assess the accuracy of the costing methodology given the operational environment, apply activity-based-costing concepts to recalculate the product costs and gross profit, and then effectively communicate the results of your analysis, evaluation, and recommendations in the form of a professional written memo.
Case Narrative
Jane Dempsey, controller of the Classic Pen Company, was concerned about the recent financial trends in operating results. Classic Pen had been the low-cost producer of traditional blue pens and black pens. Profit margins were over 20% of sales.
Several years earlier, Dennis Selmor, the sales manager, had seen opportunities to expand the business by extending the product line into new products that offered premium selling prices over the traditional blue and black pens. As a result, five years ago, red pens were introduced. Red pens required the same basic production technology but could be sold at a 3% premium. Last year, purple pens were introduced because of the 10% premium in selling price they could command.
Jane reviewed the financial results for the most recent year and was keenly disappointed. While the new red and purple pens seemed to be more profitable than the blue and black pens, the overall profits were down and none of the product lines were earning profits at the level that the blue and black pens had earned in the past. She is wondering if more specialty pens selling at higher margins should be introduced to boost profits.
The production manager, Jeffrey Donald, was concerned about this approach. “Five years ago, life was a lot simpler. We produced just blue and black pens in long production runs, and everything went smoothly. Difficulties started when the red pens were introduced and we had to make more changeovers. To product red pens, we have to stop production; empty the vats, clean out all remnants of the previous color, and then start production of red pens. Making black pens was easy. We didn’t even have to clean out the residual blue ink from the previous run. It was absorbed in the darker black ink. However, even small traces of either blue or black ink caused quality problems with the red pens and to a lesser extent, with the purple pens.” Jeffrey also reported that the new pens caused more time to be spent on purchasing, scheduling, and tracking.
Operations
Classic produces pens in a single factory. The major task was preparing and mixing the ink for different colored pens. The ink was inserted into the pens in a semi automated process. A final packing and shipping stage was performed manually.
Each product had a bill of materials that identified the quantity and cost of direct materials required for the product. A routing sheet identified the sequence of operations required for each manufacturing process. The information was used to calculate the labor expenses for each of the four products. All of the plant’s indirect expenses were aggregated at the plant level and allocated to products based on direct labor cost. Labor is paid at the rate of $10 per hour.
Indirect costs were estimated as follows:
|
Expense |
Amount |
|
Indirect labor |
20,000 |
|
Fringe benefits |
16,000 |
|
Computer systems |
10,000 |
|
Machinery |
8,000 |
|
Maintenance |
4,000 |
|
Energy |
2,000 |
|
Total |
60,000 |
Fringe benefits were 40% of direct and indirect labor.
About half of the indirect labor resulted from scheduling production runs, which includes scheduling orders, purchasing, preparing, and releasing material for each run. Approximately 40% of the indirect labor was required for the physical changeover from one color pen to another. As noted previously, the changeover from blue to black ink was relatively short (1 hour) while the changeover for the other color pens was much more extensive, particularly for red pens. The remaining 10% of indirect labor was for time spent maintaining records on the four products. This activity was essentially equal for each product.
Most of the computer expense was used to scheduling production runs in the factory and to order and pay for the materials required in each production run. Since each production run was specific to a single customer, the computer time required to prepare shipping documents and to invoice and collect from a customer was also included in this activity. In total, about 80% of the computer resource was involved in the production run activity. The remaining time was used to keep records on the four products, which was essentially equal.
The remaining three categories of overhead expenses were incurred to supply machine capacity to produce the pens. The machines had a practical capability of 10,000 hours of productive time.
Sales and production information for the four product lines is as follows:
|
Blue |
Black |
Red |
Purple |
|
|
Production sales volume |
50,000 |
40,000 |
9,000 |
1,000 |
|
Unit selling price |
$1.50 |
$1.50 |
$1.55 |
$1.65 |
|
Material cost per unit |
$0.50 |
$0.50 |
$0.52 |
$0.55 |
|
Direct labor per unit (hrs) |
.02 |
.02 |
.02 |
.02 |
|
Machine hours per unit |
.1 |
.1 |
.1 |
.1 |
|
Production runs |
50 |
50 |
38 |
12 |
|
Setup time per run (hrs) |
4 |
1 |
6 |
4 |
Case Requirements
[1] This case is an adaptation of a Harvard Business School Case 9/17/98.
In: Finance
In: Economics