Differences-in-Politics-and-Religion

Essay: Differences in Politics and Religion

Politics and religion result in many differences between countries and regions. Write an essay that compares and contrasts life in Asia from/to life in the US in regard to politics and religion. Within Asia, you can focus on a country or region of your choosing.

Deliverables a 750- to 1000-word essay

Activity Details Perform the following steps:

Research. Choose a country or regions within Asia. Using print, Internet, and other sources, research the major aspects of contemporary political and religious life in Asia and the United States. Be sure to note how daily life is affected by these aspects.

Summarize Using your research, summarize the key aspects of political and religious life in Asia and the US and compare these to one another. It is suggested that you begin by describing and commenting on political and religious life in Asia and the US separately, and then end by providing a comparison between the two.

Write your essay. Using your outline, write your essay. Begin with a focused analysis of the US and Asia separately and then compare them to one another. Your essay should be at least 750 words and no more than 1000.

basic-java-programming

Topic

String Tokenizer

Static Methods

Static Variables

Primitive Arrays

Description

Enhance the last assignment by providing the following additional features:

Class Statistics

In the class Statistics, create the following static methods (in addition to the instance methods already provided).

  • A public static method for computing sorted data.
  • A public static method for computing min value.
  • A public static method for computing max value.
  • A public static method for computing mean value.
  • A public static method for computing median value.

In the class Statistics, create the following static variable (in addition to the instance variables already provided).

  • A static variable count that keeps track of the total number of Statistics objects created during the program run.

Increment the static count variable from within the Statistics constructor.

Display the value of the static count variable at the end of the program.

Class TestStatistics

In the main method of the class TestStatistics, do the following:

  • Input all user data values as a single String using a single input dialog box.
  • Use a StringTokenizer object to separate individual values in the input String.
  • Store input values in the elements of the array data.
  • Create a Statistics object and pass it the array data.
  • Call instance methods of the Statistics object to compute required statistics.
  • Call static methods to compute required statistics. (Pass array data to each static method).
  • Display the required statistics two times: once after calling instance methods and a second time after calling static methods. (See the output of a test run later below).
  • Display the total number of Statistics objects created during the program run. (Do this by displaying the value of the static variable count at the end).

Details

Static Method Headers

Static methods cannot access instance variables unless they create an object. Therefore, in the header of each static method, provide array data as an input parameter. Header definitions for static methods are listed below.

public static double [ ] computeSortedData (double [] data)

public static double computeMin (double [] data)

public static double computeMax (double [] data)

public static double computeMean (double [] data)

public static double computeMedian (double [] data)

Static Variable

Create a public static variable count as below. Use this variable for keeping track of the total number of Statistics objects created during program execution.

public static int count = 0;

Input All Data As A Single String

Input all data values as a single String. Use a StringTokenizer object to tokenize the data. For this purpose, follow the steps listed below:

  • Input all data as a single String.
  • Create a StringTokenizer object and supply it the input String.
  • Use methods of StringTokenizer object to separate data values.

Testing:

Input Test Run

Enter All Data <separated by commas/spaces>:

7.2, 7.6, 5.1, 4.2, 2.8, 0.9, 0.8, 0.0, 0.4, 1.6, 3.2, 6.4

Enter the Number of Decimal Places that the Result is Required:

3

Output Test Run

Original Data:

7.2 7.6 5.1 4.2 2.8 0.9 0.8 0.0 0.4 1.6 3.2 6.4

Results Using Instance Methods:

Sorted Data:

0.0 0.4 0.8 0.9 1.6 2.8 3.2 4.2 5.1 6.4 7.2 7.6

Computed Values:

Min Value: 0.000

Max Value: 7.600

Mean: 3.350

Median: 3.000

Results Using Static Methods:

Sorted Data:

0.0 0.4 0.8 0.9 1.6 2.8 3.2 4.2 5.1 6.4 7.2 7.6

Computed Values:

Min Value: 0.000

Max Value: 7.600

Mean: 3.350

Median: 3.000

The Total Number of Statistics objects created during execution:

(display the value here).

Submit

Submit the following:

  • Source code
  • The output of the test run. Do not submit the input of the test run.

Discussion

Static versus Instance variables and methods

A java class can contain any combination of instance variables, instance methods, static variables, and static methods.

Defining static and instance variables/methods

A static variable is declared in the same way that an instance variable is except that the word static is added in the declaration.

Similarly, a static method is written the same way that an instance method is written except that the word static is added in its header.

Using static and instance variables/methods

Instance variables and methods make up the blue print (template) of the class. Static variables and methods are not considered a part of the blue print.

Instance variables and methods come to existence when an object of the class is created. During object creation, only the blue print (template) part of the class is used. Therefore, an object contains only the instance variables and methods. Each object contains its own copy of the instance variables and associated methods. When a method of an object is called, it operates on its own copy of the instance variables. You can access an instance variable or an instance method by pre-pending its name with the object name and a dot as shown below:

objectName.instanceVariable

objectName.instanceMethod ( )

One can assume that static variables and methods exist from the start of the program and remain in existence for the life of the program. There is only one copy of a static variable or a static method for the class. You can access a static variable or a static method by pre-pending its name with the class name and a dot as shown below:

className.staticVariable

className.staticMethod ( )

Accessing Static Variables/Methods From Within Instance Methods

You can access static variables and methods directly from within an instance method.

Accessing Instance Variable/Methods From Within Static Methods

However, from within a static method you can access instance variables and methods only after the corresponding object is created. You can either create the object from within the static method or pass the static method the reference of the created object.

Implementation

Accesing A Static Variable

Since static variable count is declared public, its value can be accessed directly as below.

int count = Statistics.count;

Coding Static Methods

In coding a static method of class Statistics follow the steps below: (See sample code below).

  • Create a Statistics object from within the static method.
  • Call the appropriate instance method of the Statistics object to obtain the required statistic.
  • Save the result obtained from the instance method.
  • Return the result to the caller.

Sample Code

//sample code for static method computeMin

public static double computeMin (double [ ] data)

{

//Create a Statistics object. Pass it the array data during construction.

Statistics st = new Statistics ( data );

//Ask Statistics object to find min of the array passed during creation.

double min = st.findMin ( );

//return min to the caller

return min;

}

Discussion-1-Business-Admin-Capstone-Wk-2

Discussion 1 – Business Admin Capstone – Wk 2 “Union Pacific Corporation” • Perform an analysis of the social / demographic, technological, economic, environmental / geographic, and political/legal / governmental segments to understand the general environment facing Union Pacific. • Describe how Union Pacific will be affected by each of these external factors. ***This is a discussion, NOT a paper. Need 2 strong paragraphs and references.***

Best-organizational-form-and-to-discuss-ethical-concerns-with-the-business-scenario

Purpose of Assignment

The purpose of this assignment is to select the best organizational form, and to discuss ethical concerns with the business scenario.

Assignment Steps

Scenario: Adam and Laura wish to open a pet grooming shop called Dazzling Doggies Day Spa. Laura’s mother Beth would like to contribute the startup costs in exchange for a share of profits, but she doesn’t want to participate in the daily operations of the business. She also doesn’t want to have any personal liability in the business.

Develop a 350- to 700-word summary with the following information:

  • Which business organizational form would be best given the above circumstances, and why?
  • Unbeknownst to Laura and Beth, Adam begins to use Dazzling Doggies Day Spa’s checking account to pay all his personal bills. Are his actions ethical? Why or why not?

Cite a minimum of two scholarly references.

Format your paper consistent with APA guidelines.

Along-with-consolidation-of-services-when-merging-entities-together-there-can-be-duplication

Along with consolidation of services when merging entities together there can be duplication of services/personnel/products/delivery systems, etc. that will require management’s attention. There are certain economies of scale (EOS) that benefit from larger numbers being serviced by a single (or smaller circle) of providers. However, the “down side” of this practice is the need to reduce so that there is an efficiency achieved. Using your reply of the VAs how were they effected? Did you see the changes for consolidate worth the need to reduce duplications? Why or why not? 100 word thanks one reference

Technologys-Influence-on-Society

Business and Society

Technology’s Influence on Society

  • Select a specific industry (healthcare, manufacturing, financial, etc.) OR field (logistics, sales, marketing, etc.).
  • Research and describe how technological advancements during your lifetime have changed how the industry or field operates.

The requirements below must be met for your paper to be accepted and graded:

  • Write between 750 – 1,250 words (approximately 3 – 5 pages) using Microsoft Word in APA style, see example below.
  • Use font size 12 and 1” margins.
  • Include cover page and reference page.
  • At least 80% of your paper must be original content/writing.
  • No more than 20% of your content/information may come from references.
  • Use at least three references from outside the course material, one reference must be from EBSCOhost. Text book, lectures, and other materials in the course may be used, but are not counted toward the three reference requirement.
  • Cite all reference material (data, dates, graphs, quotes, paraphrased words, values, etc.) in the paper and list on a reference page in APA style.

References must come from sources such as, scholarly journals found in EBSCOhost, CNN, online newspapers such as, The Wall Street Journal, government websites, etc. Sources such as, Wikis, Yahoo Answers, eHow, blogs, etc. are not acceptable for academic writing.

Edmund-Leach-s-rights-of-marriage-and-media-influence

According to Edmund Leach (1955), depending on the society, several different kinds of rights are allocated by marriage. What are these rights? Which among these rights do you consider to be more fundamental in your definition of marriage? Which ones can you do without? Why?

Please separate each response with a line break or spacing

. Chapter 22 describes how sports and the media reflect culture. Can you come up with examples of how sports and media influence culture?

University-security-breach

Please read the following document, University of Nebraska Breach.doc, which discusses a security breach at one of the country’s largest Universities. Discuss the ramifications of the event, what might be the vulnerabilities that were exploited, regulatory and compliance issues associated with the event and what, if you were the CISO would be your recommended course/courses of action to ensure this type of incident did not happen in the future. Please remember to cite your sources.

Organizational-Behavior

The Myers-Briggs Type Indicator (MBTI) personality inventory is a tool designed to help individuals understand themselves and to enhance their relationships with others in a variety of settings, including the work setting. Describe how the MBTI could be useful in an organizational setting. Use 3-4 peer reviewed resources with 250-500 words APA format.

Describe-to-your-project-sponsor-how-you-intend-to-develop-and-implement-an-infrastructure-of-your-project-s-management-systems-business-finance-homework-help

Team:

One student brought to my attention the fact that there seems to be some confusion on the statement of the Assignment. Here is the statement of the assignment:

Refer to the project from your local community or state that you described in Week 8, Discussion 1. You have learned that the unk-unk mind-set necessitates team management and creates a culture of encouraging problem reporting, valuing diversity, and utilizing social cohesion.

Write a three to four (3-4) page paper in which you:

  1. Describe to your project sponsor how you intend to develop and implement an infrastructure of your project’s management systems, focusing on at least two (2) significant unk-unks.
  2. Prepare a communication on how your project team uses social cohesion as it implements an infrastructure of one (1) of the five (5) areas of management systems.
  3. Use at least two (2) quality resources in this assignment. Note: Wikipedia and similar Websites do not qualify as quality resources.

Well, I checked the DQ for Week 8 – and I see no reference to a project for the local community or the state in which you live. There seems to be a disconnect.

Therefore, in this case. in the first section of your assignment, simply identify a project for your local community or the city or the state in which you live – and then based your paper on that project.