Questions
1. From now until 2050, the human population is expected to grow bigger, more slowly, older,...

1. From now until 2050, the human population is expected to grow bigger, more slowly, older, and more urban. Of these four factors, which do you think will have the biggest effect on the climate or environment?

2. In the U.S., more and more people are living alone in their own homes and buying their own cars instead of living with family or carpooling. How can materialism and capitalism impact climate or environment?

3. The author proposes three lines of action to reduce both poverty and global greenhouse gas emissions: universal secondary education, voluntary contraception, and maternal health services, and smarter urban design and construction. Of these three, which do you think will have the greatest impact and why? Alternatively, suggest a different line of action and explain why you chose that.

4. Demographic factors (household size, city size, population density), institutional and economic factors (availability of public transport at reasonable cost/convenience), and a host of behavioral factors (propensity to walk, bike, carpool, or drive solo to work) can influence a person’s carbon footprint. Think about your personal carbon footprint. What do you think is your number one contributing factor to CO2emissions? What is one way that you think you could reasonably reduce your carbon footprint?

In: Other

Language C++ Most people know that the average human body temperature is 98.6 Fahrenheit (F). However,...

Language C++

Most people know that the average human body temperature is 98.6 Fahrenheit (F). However, body temperatures can reach extreme levels, at which point the person will likely become unconscious (or worse). Those extremes are at or below 86 F and at or above 106 F.

Write a program that asks the user for a body temperature in Fahrenheit (decimals are ok). Check if that temperature is in the danger zone (for unconsciousness) or not and produce the relevant output shown below. Also check if the user entered a number greater than zero. If they didn't, display an error message and don't process the rest of this program.

If the entry was valid, convert the temperature from Fahrenheit to Celsius. and output it to the user.

F to C formula: (temp - 32) * 5 / 9

Prompts:

Enter a body temperature in Fahrenheit: [possible user input: 107]

Possible Outputs:

This person is likely unconscious and in danger
Temperature in Celsius is: 41.6667

This person is likely conscious
Temperature in Celsius is: 37

Invalid entry

Notes and Hints:

1) This exercise is testing your knowledge of Flags and Logical Operators. Use both!

2) Do not use constants for the numbers in the F to C formula. Write it as-is.

3) Hint: The order in which you do your decision/conditional statements makes all the difference

4) Remember: Do not let this program do any math if the user's entry is invalid!

In: Computer Science

Please Submit Different Answer Than Already Posted. You are a Human Resources representative for your company....

Please Submit Different Answer Than Already Posted.

You are a Human Resources representative for your company. Your manager gives you a bulleted list of notes she took in a meeting, describing a new company position. She asks you to use her notes to draft a paragraph describing the job so that she can post it on the company’s internal careers website. Below are your manager’s notes. Use them to draft your job listing paragraph in a Word document. Make sure you include a topic sentence and transitional expressions if appropriate.

Brand new position in the marketing department—social media marketing role.

The hiring team doesn’t have much time to hire, so we won’t keep this position posted very long.

Looking for candidates who know a bunch about Twitter, Snapchat, Instagram, Facebook, etc.— they should know a lot about how to use all that stuff!

Mid-level position, so they won’t make a lot of money, but this department is always growing, so there is lots of opportunity if they stick around for a while.

Needs to be someone who is a real go-getter, nobody too lazy. This department is exciting and the candidates need to show that they can fit in with that kind of attitude.

Everyone who applies needs to have examples of the kinds of postings they would do if they get the job—they want to be able to see what kinds of ideas they have about marketing on social networking sites.

Applications will only be received through the company intranet—make sure nobody drops off their resumes at the HR office front desk.

In: Operations Management

Psychologists have found that human memory involves three processes: encoding information into memory, storing information in...

Psychologists have found that human memory involves three processes: encoding information into memory, storing information in memory, and retrieving information from memory. Psychologists have also identified specific strategies to help people encode, store, and retrieve information. How can this research help you study for this class more efficiently? What strategies could help you encode and store information in your memory as you study? What strategies could help you retrieve this information when you take a test?

In a multi-paragraph essay, describe how you could use specific memory strategies to improve your study skills. Be sure to explain how each strategy will improve how you encode, store, or retrieve information in memory. Include details from class materials, readings, and research on memory to support your discussion.

In: Psychology

Social cognitive theory posits that human functioning results from reciprocal interactions among personal factors, such as...

Social cognitive theory posits that human functioning results from reciprocal interactions among personal factors, such as cognitions, emotions, behaviors, and environmental conditions. It contends that learners set goals that they feel self-efficacious about attaining and believe that when attained will result in positive outcomes. Bandura's theory identifies two types of expectations—outcome expectation and efficacy expectation. Outcome expectations are beliefs about the likely consequences of actions (Bandura, 1986).Efficacy expectations, or self-efficacy, refer to personal beliefs about an individual's capabilities to learn or perform actions at designated levels (Bandura, 1997).

Based on your understanding of the above and relevant research, answer the following questions:

What is self-efficacy and what is the self-efficacy model based on?

In: Psychology

Consciousness Psychologists have discovered that human beings experience several different states of consciousness during the course...

Consciousness

Psychologists have discovered that human beings experience several different states of consciousness during the course of a day. For example, people have times when they are especially alert and times when they are awake but not alert, often called "daydreaming." Also, while people are asleep, they experience different stages of sleep, each characterized by different patterns of brain and bodily activity.

In a multi-paragraph essay, discuss the different states of consciousness that you have experienced in the past 24 hours, including any periods when you were asleep, alert, or "daydreaming." Be sure to describe both the brain and bodily activity you experienced during each state of consciousness. Include information from class materials, readings, and research on states of consciousness to support your discussion.

In: Psychology

Human resource Mangament, benefits and compensation: Merit / Performance Pay Basic Life Insurance Benefit Voucher for...

Human resource Mangament, benefits and compensation:

Merit / Performance Pay
Basic Life Insurance
Benefit Voucher for Gym Membership, Company Cafeteria and/or Child Care
Benefit Voucher for Tuition Reimbursement / Professional Development
Dental Insurance
Federal Unemployment
Flexible Spending Account
Health Insurance
Incentive Pay for Extra Duties
Long Term Disability
Medicare
Paid Time Off (4 weeks or 20 days)
Retirement – 401k
Salary
Short Term Disability
Social Security
State Unemployment
Vision Insurance
Worker’s Compensation

Based upon the information above, place each item in a specific Category. An Item can only be placed in one category.

The categories are:

  1. BASE PAY
  2. OTHER CASH / INCOME BENEFITS
  3. INSURANCE BENEFITS
  4. RETIREMENT BENEFITS
  5. TIME OFF BENEFITS
  6. MANDATED BENEFITS
  7. SPECIAL BENEFITS

In: Operations Management

Twocombinationdrugtherapies(TreatmentAandTreatmentB)have been developed for eradicating Helicobacter pylori in human patients. The effectiveness of these treatments depends...

Twocombinationdrugtherapies(TreatmentAandTreatmentB)have been developed for eradicating Helicobacter pylori in human patients. The effectiveness of these treatments depends on whether or not the patient is resistant to the chemical compound Metronidazole, but apatient’s resistance status is not routinely determined before beginningtreatment. Treatment A successfully eradicates Helicobacter pylori in 92% of resistant patients and 87% of non-resistant patients. The corresponding proportions for Treatment B are 75% and 95%.

(i) Denote by θ (0 < θ < 1) the proportion of the affected population that is resistant. If a patient from this population is unsuccessfully treated with Treatment B, write down an expression for the probability that the patient is resistant.

(ii) For what values of θ would a greater proportion of patients from this population be successfully treated by Treatment B than by Treatment A?

(iii) Suppose that θ = 0.2. If 20 patients, selected at random from the affected population, are independently treated with Treatment B, find the probability that at least 18 of them will be treated successfully.

In: Math

chapter 8: Human Development Assignment: Developmental Psychology Instructions: Select an adult to study (someone who is...

chapter 8: Human Development

Assignment: Developmental Psychology

Instructions:

  1. Select an adult to study (someone who is a prominent person, singer/actor, politician, athlete, or someone in the news), I prefer president Donald Trump

  2. Prepare a 700-1000 word paper in which assess the following issues:

    1. What family issues or support systems may have influenced this person's learning style and behaviors?
    2. Select two theories of learning and apply them to the person you selected to study
      1. How does each theory explain their behavior, ideas, and achievements?
      2. Why?
      3. Include in paragraph citations and references

In: Psychology

Binary files are convenient to computers because they’re easily machine readable. Text files are human readable,...

Binary files are convenient to computers because they’re easily machine readable. Text files are human readable, but require parsing and conversion to process in the computer. Consider a class Person that has the following structure:

public class Student {
    private String name;
    private int age;
    private double gpa;

    public Student() {
    }

    public Student(String name, int age, double gpa) {
        this.name = name;
        this.age = age;
        this.gpa = gpa;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return this.age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getGpa() {
        return this.gpa;
    }

    public void setGpa(double gpa) {
        this.gpa = gpa;
    }

    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("Student{");
        builder.append(String.format("%s=%s", "name", name));
        builder.append(String.format(",%s=%d", "age", age));
        builder.append(String.format(",%s=%.2f", "gpa", gpa));
        builder.append("}");
        return builder.toString();
    }
    
    @Override
    public boolean equals(Object obj) {
        if (obj != null && obj instanceof Student) {
            return equals((Student)obj);
        }
        return false;
    }
    
    public boolean equals(Student other) {
        if (other == null) {
            return false;
        }
        return name.equals(other.name) &&
            age == other.age &&
            Math.abs(gpa - other.gpa) < 0.0001;
    }
}

A number of student records were written out to a file using the toString() method given above. Roughly, they look like the following:

Student{name=Joe O'Sullivan,age=22,gpa=3.14}
Student(name=Jane Robinson,age=19,gpa=3.81}
....
Student{name=Jill Gall,age=21,gpa=2.98}

Your task is to implement a method that will return an array of Students based on a parameter file name that is passed into the method. You will open the text file, read lines, split lines into fields, and then call the setters based on the key/value pairs in the string. Fields will always be in the same order: name, age, gpa. The array should be exactly the same size as the number of lines in the file you are reading. At most, there will be 20 lines in the file. You should not throw any exceptions from the function. if the file doesn't exist, return a zero-length array.

Some hints:

  • You can use the File class to connect the name to the file on disk.
  • You can create a Scanner object by passing in the File to read lines.
  • You can use the split() method of String to take a line from the file and break it up based on delimiters You may need to do this multiple times (e.g. once on a comma, and then on an equals sign).
  • To convert from string data to integer data, use Integer.parseInt(). You can do the same with doubles and Double.parseDouble()

In: Computer Science