Questions
Ford buys in about two thirds of its car parts from outside suppliers. At one time,...

Ford buys in about two thirds of its car parts from outside suppliers. At one time, Ford employed 500 people to order components, receive the parts and pay suppliers. Ford believed that by rationalizing procedures and installing new computer systems, it could reduce staffing levels to about 400. However, Mazda a Japanese car company, already did the same job using less than 100 staff. Even allowing for scale differences between the two organizations, the gap was enormous. The main difference was in business procedures. Mazda did not wait for invoices from its suppliers. In contrast, Ford’s purchasing department created a purchase order, a copy of which is sent to accounts payable. Subsequently, when the goods were received, goods inward sent a copy of the receiving documents to accounts payable; which also received an invoice from the supplier. It was accounts payable’s responsibility to match the purchase order against the receiving document and the invoice, then issue payment. In practice, the department spent most of its time investigating mismatches. Ford’s original idea was to use computers to streamline the investigation procedure. However, Mazda’s experience highlighted the need for a redesign of a complete business process. As a result, Ford has developed an ‘invoiceless processing’ payment system. In this system, when purchasing department raises an order, it enters information into an online database. When parts arrive at goods inward department, it enters the information into an online database. When parts arrive at goods inward department, a warehouse man waves a barcode reader over the label, entering the parts inventory and sending electronic payment to the supplier. As a result, the clerical and data processing complexity is eliminated. Through these changes, ford has achieved a 75% reduction in headcount, rather than the 20% it would have achieved had the original plan gone ahead. With reference to the Case Study above, identify and briefly explain any benefit (only one) that Ford enjoyed, or expected to have enjoyed, by adopting Mazda’s Business Handling Style. Your responses to this question should be done using the following three separate components; and clearly numbering each component. In one word, a phrase or at most one sentence, identify and state the benefit.

In: Computer Science

Write a C++ or Java program name that conducts the BFS traversal of a graph and...

Write a C++ or Java program name that conducts the BFS traversal of a graph and displays city names in the range of hop(s) from a starting city

Input format: This is a sample input from a user.

4

Monterey

LA

SF

SD

6

Monterey LA

LA SD

SD Monterey

SF Monterey

SF LA

SF SD

Monterey

2

The first line (= 4 in the example) indicates that there are four vertices in the graph. The following four lines describe the names of four cities. The next line (= 6 in the example) indicates the number of edges in the graph. The following six lines are the edge information with the “source city” and “destination city”. The following city (= Monterey in the example) is the starting city, and the last line (= 2 in the example) indicates the hops from the starting city. Thus, the problem is to list the city names that can be reached from the source in two hops. This is the graph with the input information.


Sample Run 0: Assume that the user typed the following lines

4

Monterey

LA

SF

SD

6

Monterey LA

LA SD

SD Monterey

SF Monterey

SF LA

SF SD

Monterey

2

This is the correct output. Your program should present the city names with the hop in the ascending order like below.  Note that LA can be reached from Monterey in one hop, Monterey in zero hop, and SD in two hops. For the problem, you can assume that the city name is always one word. Also, your program should consider only the minimum number of hops from the starting city.

LA:1

Monterey:0

SD:2

Sample Run 1: Assume that the user typed the following lines

4

Monterey

LA

SF

SD

6

Monterey LA

LA SD

SD Monterey

SF Monterey

SF LA

SF SD

LA

1

This is the correct output.

LA:0

SD:1

Sample Run 2: Assume that the user typed the following lines

5

Fresno

LA

SD

SF

NYC

6

SD LA

SD NYC

LA NYC

SF Fresno

SF SD

Fresno SD

SF

2

This is the correct output.

Fresno:1

LA:2

NYC:2

SD:1

SF:0

In: Computer Science

the following two questions are related to these two articles: 1) Pseuderanthemum palatiferum leaf extract inhibits...

the following two questions are related to these two articles:

1) Pseuderanthemum palatiferum leaf extract inhibits the proinflammatory cytokines, TNF-a and IL-6 expression in LPS-activated macrophages.

Sittisart P, Chitsomboon B, Kaminski NE

2)Early Weaning Stress in Pigs Impairs Innate Mucosal Immune Responses to Enterotoxigenic E. coli Challenge and Exacerbates Intestinal Injury and Clinical Disease  

            McLamb B, Gibson A,Overman E, Stahl C and Moeser A

Question 1: Summarize research studies using simple equations and graphs to represent experimental design and results

  • Read the abstracts and the introduction section (especially the last paragraph) of the research articles indicated above
  • 1) Identify the type of samples that were analyzed in the research (for example..did they take biopsies of specific organs/tissue?)
  • 2) Determine whether the research involved in vitro and/or in vivo experiments
  • 3) Propose a control group and an experimental group (or groups) based on the information provided
  • 4) Identify the method used for analyzing samples (or propose a reasonable method based on information provided in the abstract and your own knowledge)
  • 5) Propose measurements (y-axis labels) for the data based on information provided
  • 6) Summarize the main question being addressed by the research (For example: What effect does ____________have on ____________?   
    • 2. Question 2: Use bar graphs as an alternative representation of various types of data
  • Identify the components of samples represented in Figure 3a of the article by Sittisart et al. by filling in the following sentences. More than one word may be needed to fill in certain blanks.
  • 1) The negative control group contains _______________(cells) that were treated with ______________
  • 2) The positive control group contains ________________(cells) that were treated with ______________.
  • 3) One of the experimental groups contains _______________(cells) that were treated with _________________.(remember…a negative control is a group that is expected to provide a low measurement and a positive control is a group that is expected to provide a higher measurement. These insure that the methods used are working properly)
  • 4) Convert the data in Figure 6b of the article by Sittisart et al. into a bar graph, similar to the bar graph in Figure 3a. Propose a yaxis label that indicates what is being assessed in the experiment.

In: Biology

I need a different answer than others. Marketing Plan From the real international market, select a...

I need a different answer than others.

Marketing Plan

From the real international market, select a company of your choice wishing to start its activities in Saudi Arabia. The Company hired you as Marketing Manager of Saudi Arabian Region.

You have to establish a marketing department starting from the Analysis of the market, formulate overall marketing goals, objectives, strategies, and tactics within the context of an organization's business, mission, and goals designing and planning the entire function.

Write a Marketing Plan considering the following points (2x5=10 Marks)

  1. Introduction, Goals and Objectives

To introduce this section you should include the "mission statement" of the business; an idea of what its goals are for customers, clients, employees and the consumer.

  1. Introduction about the business.
  2. Business vision and mission
  3. Business objective.
  4. Products and services offered

  1. Environmental Analysis

Conduct an environmental analysis that looks at and comments on your local area and your network of business contacts, competitors and customers.

  1. Target Market Analysis

Identify the target market, describing how the company will meet the needs of the consumer better than the competition does.

  1. SWOT Analysis

Conduct a SWOT analysis for your chosen company based on your research.

Strengths: List the strengths of the business approach;

Weaknesses: Describe the areas of weakness in the company's operations;

Opportunities: Examine factors that may improve the business's chances of success;

Threats: List the external threats to the business' success.

  1. Marketing Mix (4 P’s ) Analysis

Describe each of the 4Ps of your chosen company.

Product or Service

Identify the product or service by what it is, who will buy it, how much they will pay for it and how much it will cost for the company to produce it, why a consumer demand exists for your product, and where the product sits in comparison to similar products/services now available.

Place

Identify the location of the business, why it is located there (strategic, competitive, economic objectives), the expected methods of distribution, and timing objectives.

Promotion

Describe the type of promotional methods that will be used. Identify techniques such as word of mouth, personal selling, direct marketing, sales promotion etc. television, radio, social media and newspaper ads.

Price

The prices of the products or services that reflects the overall company strategy. Should be competitive as well as a reflection of the quality, costs and profit margin.

In: Operations Management

Room.java: public class Room { // fields private String roomNumber; private String buildingName; private int capacity;...

Room.java:

public class Room
{
// fields
private String roomNumber;
private String buildingName;
private int capacity;

public Room()
{
this.capacity = 0;
}
/**
* Constructor for objects of class Room
*
* @param rN the room number
* @param bN the building name
* @param c the room capacity
*/
public Room(String rN, String bN, int c)
{
setRoomNumber(rN);
setBuildingName(bN);
setCapacity(c);
}
  
/**
* Mutator method (setter) for room number.
*
* @param rN a new room number
*/
public void setRoomNumber(String rN)
{
this.roomNumber = rN;
}
  
/**
* Mutator method (setter) for building name.
*
* @param bN a new building name
*/
public void setBuildingName(String bN)
{
this.buildingName = bN;
}
  
/**
* Mutator method (setter) for capacity.
*
* @param c a new capacity
*/
public void setCapacity(int c)
{
this.capacity = c;
}
  
/**
* Accessor method (getter) for room number.
*
* @return the room number
*/
public String getRoomNumber()
{
return this.roomNumber;
}
  
/**
* Accessor method (getter) for building name.
*
* @return the building name
*/
public String getBuildingName()
{
return this.buildingName;
}
  
/**
* Accessor method (getter) for capacity.
*
* @return the capacity
*/
public int getCapacity()
{
return this.capacity;
}
}

Put the ideas into practice by extending the original Room class to create an AcademicRoom.java class.

  1. The AcademicRoom.java should store information about the building name, room number, capacity, academic department associated with the room (CPSC, MATH, BUAD, ...) and also whether or not the room contains a projector. Make sure to utilize inheritance (only add new fields to AcademicRoom).
  2. Include a constructor for the AcademicRoom class that takes advantage of the reserved word super. Also include appropriate getter/setter methods for the AcademicRoom.
  3. Add James Farmer B6 to your list as well as two or three other classrooms of your choosing.
  4. Implement a test program (TestAcademicRoom.java) with a main() that creates an ArrayList of AcademicRooms. After the list is created, allow the user to: (1) add another room to the list, and (2) search for rooms. The program should not add the room if it already exists in the list. The user should search by inputting a building name and optionally a room number. If a room number is not provided, the program should print all rooms in that building. If matches are found in the list, print all the data members associated with the AcademicRoom(s).

In: Computer Science

Question 5 0/1 point (graded) The following is the full path to a homework assignment file...

Question 5

0/1 point (graded)

The following is the full path to a homework assignment file called "assignment.txt": /Users/student/Documents/projects/homeworks/assignment.txt.

Which line of code will allow you to move the assignment.txt file from the “homeworks” directory into the parent directory “projects”?

mv assignment.txt

mv assignment.txt .

mv assignment.txt ..

mv assignment.txt /projects incorrect

Answer

Incorrect:

Try again. This code does not provide enough information about where to move the file. You need to specify a relative or full path to the location where you want to move the file to.

Question 9

0/1 point (graded)

The source function reads a script from a url or file and evaluates it. Check ?source in the R console for more information.

Suppose you have an R script at ~/myproject/R/plotfig.R and getwd() shows ~/myproject/result, and you are running your R script with source('~/myproject/R/plotfig.R').

Which R function should you write in plotfig.R in order to correctly produce a plot in ~/myproject/result/fig/barplot.png?

ggsave('fig/barplot.png'), because this is the relative path to the current working directory.

ggsave('../result/fig/barplot.png'), because this is the relative path to the source file ("plotfig.R"). incorrect

ggsave('result/fig/barplot.png'), because this is the relative path to the project directory.

ggsave('barplot.png'), because this is the file name.

Question 12

1 point possible (graded)

Which of the following meanings for options following less are not correct?

(Hint: use man less to check.)

-g: Highlights current match of any searched string

-i: case-insensitive searches

-S: automatically save the search object

-X: leave file contents on screen when less exits.

Question 13

1 point possible (graded)

Which of the following statements is incorrect about preparation for a data science project?

Select ALL that apply.

Always use absolute paths when working on a data science project.

Saving .RData every time you exit R will keep your collaborator informed of what you did.

Use ggsave to save generated files for use in a presentation or a report.

Saving your code in a Word file and inserting output images is a good idea for making a reproducible report.

In: Computer Science

Vigenère Cipher The Vigenère Cipher was more or less completely unbreakable from its introduction sometime in...

Vigenère Cipher

The Vigenère Cipher was more or less completely unbreakable from its introduction sometime in the 1500s until well into the 1800s.

The key in Vigenère is a key word that is used over and over again to give a different key to the Caesar cipher for each letter of the encryption (and decryption), with 'A', in good Python form, representing a rotation of 0. (We Pythonistas start at 0, not 1!)

So if the key is ABACUS, then we encrypt:

  • the first letter of our message with a Caesar cipher with a key/rotation of 0, because A is the first letter of the alphabet,
  • the second letter with a key/rotation of 1 (for the 'B'),
  • the third letter with a rotation of 0 (for the second 'A' of ABACUS),
  • the fourth letter with a key/rotation of 2 for the 'C',
  • the fifth letter with a key/rotation of 20 for the 'U',
  • the sixth letter with a key/rotation of 18 for the 'S',
  • and wrap back to the start of our keyword ABACUS and encrypt the seventh letter with a key/rotation of 0 for the first 'A' in ABACUS

Back in the 1800s people wanting to use this system would make use of a Vigenère square, also known as the tabula recta, shown in the middle of the Wikipedia entry for the Vigenère cipher, but we can use Python.

Vigenère part of the homework: Write vig_encrypt() and vig_decrypt() functions. Each takes two strings as inputs, with the first being the plaintext/ciphertext, and the second being the key. Both should be calling functions you wrote earlier to help make the work easier.

The key will be a string consisting only of letters, but the letters might be in upper, lower, or mixed case. Important: If the plaintext to be encrypted has non-alphabetic characters (e.g., spaces or punctuation):

  • Leave the non-alphabetic character unchanged just as you did for Caesar Cipher.
  • Do not advance in use of the key for non-alphabetic characters in the plaintext. So for vig_encrypt('Hi Mom!', 'LEMON'), the H is encrypted according to the L from the key, the i (after conversion to I) is encrypted according to the E in the key, and the M in the plaintext is encrypted according to the M in the key (rather than according to the O in the key).

One check on your work: vig_encrypt('ATTACKATDAWN', 'LEMON') should return the string LXFOPVEFRNHR; another is that  vig_encrypt('Hi Mom!', 'LEMON') should return the string SM YCZ!

In: Computer Science

Marketing Plan From the real international market, select a company of your choice wishing to start...

Marketing Plan

From the real international market, select a company of your choice wishing to start its activities in Saudi Arabia. The Company hired you as Marketing Manager of Saudi Arabian Region.

You have to establish a marketing department starting from the Analysis of the market, formulate overall marketing goals, objectives, strategies, and tactics within the context of an organization's business, mission, and goals designing and planning the entire function.

Write a Marketing Plan considering the following points (2x5=10 Marks)

  1. Introduction, Goals and Objectives

To introduce this section you should include the "mission statement" of the business; an idea of what its goals are for customers, clients, employees and the consumer.

  1. Introduction about the business.
  2. Business vision and mission
  3. Business objective.
  4. Products and services offered

  1. Environmental Analysis

Conduct an environmental analysis that looks at and comments on your local area and your network of business contacts, competitors and customers.

  1. Target Market Analysis

Identify the target market, describing how the company will meet the needs of the consumer better than the competition does.

  1. SWOT Analysis

Conduct a SWOT analysis for your chosen company based on your research.

Strengths: List the strengths of the business approach;

Weaknesses: Describe the areas of weakness in the company's operations;

Opportunities: Examine factors that may improve the business's chances of success;

Threats: List the external threats to the business' success.

  1. Marketing Mix (4 P’s ) Analysis

Describe each of the 4Ps of your chosen company.

Product or Service

Identify the product or service by what it is, who will buy it, how much they will pay for it and how much it will cost for the company to produce it, why a consumer demand exists for your product, and where the product sits in comparison to similar products/services now available.

Place

Identify the location of the business, why it is located there (strategic, competitive, economic objectives), the expected methods of distribution, and timing objectives.

Promotion

Describe the type of promotional methods that will be used. Identify techniques such as word of mouth, personal selling, direct marketing, sales promotion etc. television, radio, social media and newspaper ads.

Price

The prices of the products or services that reflects the overall company strategy. Should be competitive as well as a reflection of the quality, costs and profit margin.

In: Operations Management

From the real international market, select a company of your choice wishing to start its activities...

From the real international market, select a company of your choice wishing to start its activities in Saudi Arabia. The Company hired you as Marketing Manager of Saudi Arabian Region.

You have to establish a marketing department starting from the Analysis of the market, formulate overall marketing goals, objectives, strategies, and tactics within the context of an organization's business, mission, and goals designing and planning the entire function.

Write a Marketing Plan considering the following points (2x5=10 Marks)

  1. Introduction, Goals and Objectives

To introduce this section you should include the "mission statement" of the business; an idea of what its goals are for customers, clients, employees and the consumer.

  1. Introduction about the business.
  2. Business vision and mission
  3. Business objective.
  4. Products and services offered

  1. Environmental Analysis

Conduct an environmental analysis that looks at and comments on your local area and your network of business contacts, competitors and customers.

  1. Target Market Analysis

Identify the target market, describing how the company will meet the needs of the consumer better than the competition does.

  1. SWOT Analysis

Conduct a SWOT analysis for your chosen company based on your research.

Strengths: List the strengths of the business approach;

Weaknesses: Describe the areas of weakness in the company's operations;

Opportunities: Examine factors that may improve the business's chances of success;

Threats: List the external threats to the business' success.

  1. Marketing Mix (4 P’s ) Analysis

Describe each of the 4Ps of your chosen company.

Product or Service

Identify the product or service by what it is, who will buy it, how much they will pay for it and how much it will cost for the company to produce it, why a consumer demand exists for your product, and where the product sits in comparison to similar products/services now available.

Place

Identify the location of the business, why it is located there (strategic, competitive, economic objectives), the expected methods of distribution, and timing objectives.

Promotion

Describe the type of promotional methods that will be used. Identify techniques such as word of mouth, personal selling, direct marketing, sales promotion etc. television, radio, social media and newspaper ads.

Price

The prices of the products or services that reflects the overall company strategy. Should be competitive as well as a reflection of the quality, costs and profit margin.

In: Operations Management

The debate regarding the legalization of drugs, particularly that of soft drugs like cannabis (or marijuana)...

The debate regarding the legalization of drugs, particularly that of soft drugs like cannabis (or marijuana) is capable of being characterized as one which pits the concept of freedom of the individual against the concept of a paternalistic State. Advocates of legalization argue, amongst other things, that cannabis is not only less harmful than legal substances like alcohol and tobacco, but as a matter of fact has been proven to possess certain medicinal properties. In stark contrast, those opposed to legalization argue that the legalization of cannabis will act as a precursor to increased addiction to hard drugs, and will necessarily lead to an increase in the crime rate itself.

In 1937, the Marijuana (Marijuana) Tax Act was introduced by Henry Anslinger and passed, levying taxes on anyone who was associated with cannabis, hemp, or marijuana. These types of association include possession, use, sale, and many other acts which would be considered illegal today. In addition to the taxes provisioned by the bill, penal codes for the procedural use and possession of marijuana were also outlined - violators could face five years in prison in up to a $2,000 fine. In 1951, an act that superseded the Marijuana Tax Act was passed criminalizing the possession and use of cannabis, hemp, and/or marijuana. In 1969, in the case of Leary v. United States, the Marijuana Tax Act of 1937 was overturned on the grounds of the 5th Amendment because those seeking a tax stamp would have to incriminate themselves. In 1970, Congress passed the Controlled Substances Act listing cannabis as a Schedule I drug. Despite the Controlled Substances Act of 1970, many states and local cities began to decriminalize marijuana citing possession/use/sale/etc. as low priority offenses. Although many attempts have been made to reschedule cannabis off Schedule I, the Supreme Court ruled in a 2005 decision in the case of United States v. Raich, the federal government has jurisdiction over the legal status of marijuana.

Today, States are debating, and in some cases, bringing to their voters, the legalization of Marijuana.

What are the characteristics of absolute and relative moral theories? What is the relationship between the two?

Using the information above about marijuana legalization, what arguments can be made both "for" and "against" using these moral theories?

500 WORD MINIMUM

In: Psychology