Questions
Multiple choice Questions: 1) A simple (but incomplete) definition of a/an______ is that it is a...

Multiple choice Questions:

1) A simple (but incomplete) definition of a/an______ is that it is a mathematical entity that has a specific magnitude and direction.

A. director B. aviator C. bisector D. scalar E. vector

2) It is a physical quantity expressible by a single real number whose value is independent of the coordinate system (of ordinary physical space). A ________can have a direction in an abstract space. For example, temperature on the Celsius scale: it can have positive or negative value. But many_________ quantities only have positive values like temperature on the Kelvin scale. A__________ can be regarded as a one-dimensional vector with the one-direction being in an abstract space, but in the usual way of speaking one would say it is NOT a vector.

A. director B. aviator C. bisector D. scalar E. vector

3)Vector components are computed by multiplying the magnitude (or length) of a vector by the cosines of the angles the vector makes with the positive coordinate directions of a:

A. circle B. coordinate system C. rotation D. square E. wheel

4) The components of multi-dimensional physical vectors:

A. are unique

B. can be chosen only two ways: the two ways will lead to different physical behavior

C. can be chosen in infinitely many ways: each way leads to a different physical behavior

D. can be chosen in infinitely many ways. However, the physics of the vector remains the same and in any problem the choice of components (i.e., the choice of a coordinate system) is arbitrary. But some choices make the problem a lot easier.

E. cannot be determined at all in principle

5) A vector of magnitude 20 is added to a vector of magnitude 25. The magnitude of this sum might be:

A.zero B.3 C.12 D.47 E.50

6) For general vectors A and B, the dot product A · B equals:

A) B · B

B) A · A

C) A · B^2

D) A^2 · B

7) A man walks 40 m on level ground to an elevator and then rises 70 m. What approximately is the magnitude of his displacement from the starting point?

A. 8m B. 110m C. 30m D. 6500m E. 80m

8) The eye of a hurricane passes over Bermuda moving 20.0 ◦ north of west at 40 km/h for 2 hours and then turns due north moving at 20 km/h. What is its displacement relative to Bermuda after 4 hours being at Bermuda: give distance from Bermuda and angle relative to north? Neglect the curvature of the Earth.

In: Physics

When you say “dog” I think of my hound dog and you think of your chocolate...

When you say “dog” I think of my hound dog and you think of your chocolate lab. This is an example of the concept that language is: (Points : 2)

       Symbols are arbitrary
       Symbols are ambiguous
       Symbols are abstract
       Symbols are concrete

Question 2.2. Jan just graduated from college and makes a good salary. The word “good” best represents which of the concepts of the symbolic nature of language? (Points : 2)

       Symbols are arbitrary
       Symbols are ambiguous
       Symbols are abstract
       Symbols are concrete

Question 3.3. Samantha is from South Carolina and was brought up to say things like, “yes Ma'am” and “no sir.” Which of the principals of verbal communication is she illustrating? (Points : 2)

       The meanings of language are subjective
       Punctuation shapes meaning
       Language defines phenomena
       Language and culture reflect each other

Question 4.4. Among his family members, Jacob has learned that joke telling helps to alleviate stress, but that the same behavior is not appropriate with his colleagues at work. This is an example of which of the principals of verbal communication? (Points : 2)

       The meanings of language are subjective
       Punctuation shapes meaning
       Language is rule-guided
       Language and culture reflect each other

Question 5.5. Craig thinks his boss is amazing and always calls her “the problem solver.” In his mind, there is nothing she cannot do and he is quick to overlook some of her mistakes. This is an example of which of the symbolic activities of language? (Points : 2)

       Language defines phenomena
       Language allows for hypothetical thought
       Language allows for self-reflection
       All of the above

Question 6.6. Language is not _____. (Points : 2)

       Complicated
       Objective
       Loaded
       Neutral

Question 7.7. Speech communities can best be defined as: (Points : 2)

       People who like each other
       People who share norms about how to talk and what purpose it serves
       People who live near each other
       People who share a similar ethnic background

Question 8.8. Which of the following is an example of a speech community? (Points : 2)

       An all women basketball team
       An all men's coding group
       A mom’s club
       All of the above

Question 9.9. When we engage in dual perspective we are: (Points : 2)

       Being self-centered
       Owning our thoughts and feelings
       Recognizing the perspective of another
       Striving for accuracy and clarity

Question 10.10. Misunderstandings are less likely when we (Points : 2)

       Engage in dual perspective
       Respect what others feel and say about their thoughts and feelings
       Own our thoughts and feelings
       All of the above

I did this quiz but half the answers were wrong.

In: Psychology

please , im sorting by name, address, dependent and hours. i got a lot of errors...

please , im sorting by name, address, dependent and hours. i got a lot of errors i need help please. Thanks

package application;

import java.io.BufferedReader;

import java.io.IOException;

import java.io.InputStreamReader;

import java.util.*;

class Emprec {

String name;

String address;

double hours;

double rate;

int dependents;

char gender;

boolean degree;

// This is the classes's constructor !!!!

Emprec(String name, String address, String hours,String dependents) {

try {

this.name = name;

this.address = address;

this.hours = Double.valueOf(hours).doubleValue();

this.dependents = Integer.parseInt(dependents);

} catch (NumberFormatException errmsg) {

System.out.println("Invalid format" + errmsg);

this.name = "";

this.hours = 0.0;

}// catch

}// Emprec constructor !!!!

double calc_fed_tax(double hours, double rate) {

double yearly_income;

yearly_income = hours * rate * 52;

if (yearly_income < 30000.00)

return (hours * rate * .28);

else if (yearly_income < 50000.00)

return (hours * rate * .32);

else

return (hours * rate * .38);

}// calc_fed_tax

double calc_state_tax(double hours, double rate) {

double state_tax;

state_tax = hours * rate * .0561;

return (state_tax);

}// calc_state_tax

public void setName(String name) {

this.name = name;

}

public String getName() {

return name;

}

public String getAddress() {

return address;

}

public double getHours() {

return hours;

}

public int getDependents() {

return dependents;

}

  

public double getRate(){

return rate;

}

  

public char getGender(){

return gender;

}

public String toString() {

return ("\n Name: " + name +

"\n Address: " + address +

"\n Hours: " + hours+

"\n Dependents " + dependents);

}// toString

}// Emprec

public abstract class CompDemo3Sorts_Improved {

public abstract void main(String args[]);{

Scanner sc=new Scanner(System.in);

System.out.println("Enter the fields to sort by");

String s=sc.next();

if(s=="name"){

String str[]=name.split(" ");

List<String> slist= new ArrayList<String>();

str=Arrays.asList(str);

List<String> sortedList=slist.stream().sorted().collect().(collector().toList());

sortedList.forEach(System.out.println());

}

if(s=="address"){

String str1[]=address.split(" ");

List<String> slist1= new ArrayList<String>();

str1=Arrays.asList(str1);

List<String> sortedList=slist1.stream().sorted().collect().(collector().toList());

sortedList.forEach(System.out.println());

}

if(s=="hours"){

String str2[]=hours.split(" ");

List<String> slist2= new ArrayList<String>();

str2=Arrays.asList(str2);

List<String> sortedList=slist2.stream().sorted().collect().(collector().toList());

sortedList.forEach(System.out.println());

}

if(s=="dependent"){

String str[]3=dependent.split(" ");

List<String> slist3= new ArrayList<String>();

str3=Arrays.asList(str3);

List<String> sortedList=slist3.stream().sorted().collect().(collector().toList());

sortedList.forEach(System.out.println());

}

}}

In: Computer Science

Submission Question 3: Polymorphism Problem You are writing software for a company’s human resources department. As...

Submission Question 3: Polymorphism

Problem

You are writing software for a company’s human resources department. As part of the requirements, it would like to have a function that calculates the salary of an individual based on the position he or she holds, years of service, and hours worked.

This program will demonstrate the following:

  • How to create an abstract class,
  • How to overload a method,
  • How to use polymorphism to call functions on similar objects.

Solving the Problem

Step 1

The first thing that you must determine is what attributes are common to all employees and what methods they can share. Can salary be easily calculated by the same method without some additional input from the user? By using polymorphism, you can make one method that calculates salaries for different groups. First, determine the base class and what method needs to be implemented by the child classes. By making the calcSalary() method abstract, it will be a required method of the child classes.

Step 2

You can then define the child classes that inherit the shared attributes from the base Employee class but also inherit the requirement that they implement from the calcSalary() method. Each employee type will have a different set of attributes and a different method of calculating the salary, but the same method call will be used to calculate it.

Step 3

You can now create a list to hold all employee types and populate it.

Step 4

Because you used polymorphism in the classes, you can now use one loop to calculate and output the salaries of the employees.

Documentation Guidelines:

Use Python Programming. Use good programming style (e.g., indentation for readability) and document each of your program parts with the following items (the items shown between the '<' and '>' angle brackets are only placeholders. You should replace the placeholders and the comments between them with your specific information). Your cover sheet should have some of the same information, but what follows should be at the top of each program's sheet of source code. Some lines of code should have an explanation of what is to be accomplished, this will allow someone supporting your code years later to comprehend your purpose. Be brief and to the point. Start your design by writing comment lines of pseudocode. Once that is complete, begin adding executable lines. Finally run and test your program.

Deliverable(s):

Your deliverable should be a Word document with screenshots showing the source code and running results, and discuss the issues that you had for this project related to AWS and/or Python IDE and how you solved them for all of the programs listed above as well as the inputs and outputs from running them. Submit a cover sheet with the hardcopy of your work.

In: Computer Science

JAVA Programming (Convert decimals to fractions) Write a program that prompts the user to enter a...

JAVA Programming

(Convert decimals to fractions)

Write a program that prompts the user to enter a decimal number and displays the number in a fraction.

Hint: read the decimal number as a string, extract the integer part and fractional part from the string, and use the Rational class in LiveExample 13.13 to obtain a rational number for the decimal number. Use the template at

https://liveexample.pearsoncmg.com/test/Exercise13_19.txt

for your code.

Sample Run 1

Enter a decimal number: 3.25
The fraction number is 13/4

Sample Run 2

Enter a decimal number: -0.45452
The fraction number is -11363/25000

The output must be similar to the Sample Runs ( Enter a decimal number: etc.)


Class Name MUST be Exercise13_19

If you get a logical or runtime error, please refer https://liveexample.pearsoncmg.com/faq.html.

RATIONAL CLASS:

/* You have to use the following template to submit to Revel.
   Note: To test the code using the CheckExerciseTool, you will submit entire code.
   To submit your code to Revel, you must only submit the code enclosed between
     // BEGIN REVEL SUBMISSION

     // END REVEL SUBMISSION
*/
import java.util.Scanner;

// BEGIN REVEL SUBMISSION
public class Exercise13_19 {
  public static void main(String[] args) {
    // Write your code
  }
}
// END REVEL SUBMISSION

// Copy from the book
class Rational extends Number implements Comparable<Rational> {
  // Data fields for numerator and denominator
  private long numerator = 0;
  private long denominator = 1;

  /** Construct a rational with default properties */
  public Rational() {
    this(0, 1);
  }

  /** Construct a rational with specified numerator and denominator */
  public Rational(long numerator, long denominator) {
    long gcd = gcd(numerator, denominator);
    this.numerator = (denominator > 0 ? 1 : -1) * numerator / gcd;
    this.denominator = Math.abs(denominator) / gcd;
  }

  /** Find GCD of two numbers */
  private static long gcd(long n, long d) {
    long n1 = Math.abs(n);
    long n2 = Math.abs(d);
    int gcd = 1;
    
    for (int k = 1; k <= n1 && k <= n2; k++) {
      if (n1 % k == 0 && n2 % k == 0) 
        gcd = k;
    }

    return gcd;
  }

  /** Return numerator */
  public long getNumerator() {
    return numerator;
  }

  /** Return denominator */
  public long getDenominator() {
    return denominator;
  }

  /** Add a rational number to this rational */
  public Rational add(Rational secondRational) {
    long n = numerator * secondRational.getDenominator() +
      denominator * secondRational.getNumerator();
    long d = denominator * secondRational.getDenominator();
    return new Rational(n, d);
  }

  /** Subtract a rational number from this rational */
  public Rational subtract(Rational secondRational) {
    long n = numerator * secondRational.getDenominator()
      - denominator * secondRational.getNumerator();
    long d = denominator * secondRational.getDenominator();
    return new Rational(n, d);
  }

  /** Multiply a rational number to this rational */
  public Rational multiply(Rational secondRational) {
    long n = numerator * secondRational.getNumerator();
    long d = denominator * secondRational.getDenominator();
    return new Rational(n, d);
  }

  /** Divide a rational number from this rational */
  public Rational divide(Rational secondRational) {
    long n = numerator * secondRational.getDenominator();
    long d = denominator * secondRational.numerator;
    return new Rational(n, d);
  }

  @Override  
  public String toString() {
    if (denominator == 1)
      return numerator + "";
    else
      return numerator + "/" + denominator;
  }

  @Override // Override the equals method in the Object class 
  public boolean equals(Object other) {
    if ((this.subtract((Rational)(other))).getNumerator() == 0)
      return true;
    else
      return false;
  }

  @Override // Implement the abstract intValue method in Number 
  public int intValue() {
    return (int)doubleValue();
  }

  @Override // Implement the abstract floatValue method in Number 
  public float floatValue() {
    return (float)doubleValue();
  }

  @Override // Implement the doubleValue method in Number 
  public double doubleValue() {
    return numerator * 1.0 / denominator;
  }

  @Override // Implement the abstract longValue method in Number
  public long longValue() {
    return (long)doubleValue();
  }

  @Override // Implement the compareTo method in Comparable
  public int compareTo(Rational o) {
    if (this.subtract(o).getNumerator() > 0)
      return 1;
    else if (this.subtract(o).getNumerator() < 0)
      return -1;
    else
      return 0;
  }
}

In: Computer Science

Listing the muscles of the shoulder, their origin, insertion and function Identifying and listing the boundaries...

  1. Listing the muscles of the shoulder, their origin, insertion and function
  2. Identifying and listing the boundaries of the axillary fossa
  3. Contrasting the components of the quadrangular space, triangular space and triangular interval
  4. Listing the muscles of the arm, their origin, insertion and function
  5. Listing the muscles of the forearm and their function
  6. Organizing the muscles of the forearm based on their respective compartments
  7. Organizing the muscles of the forearm based on their respective layers
  8. Listing the boundaries of the cubital fossa
  9. Listing the muscles of the Thenar eminence and their function
  10. Listing the muscles of the Hypothenar eminence and their function
  11. Listing the muscles of the intermediate region of the Hand and their function

  1. A 27-year-old male comes to the outpatient clinic complaining of pain in the shoulder region, after a proper physical evaluation you determine that the there’s a supraspinatous muscle tear.

Which is the function of the supraspinatous muscle?

Which is the insertion of the supraspinatous muscle?

  1. A 23-year-old male comes to the emergency department after sustaining a penetrating injury to the right arm. There’s damage of a muscle inserted in a tubercle in the lateral aspect of the humerus.

Which is the function of the affected muscle?

What’s the origin of the affected muscle?

  1. A 22-year-old male comes to the emergency after sustaining a humeral fracture, after proper evaluation and imaging studies, you identify a fracture of the lesser humeral tubercle.

              Which movement is most likely to be compromised in this patient? What’s the origin of the most likely affected muscle?

2.1 Based on image #1: list the boundaries of the axillary fossa

3.1 Based on image #2: List the boundaries of the quadrangular space, triangular space and triangular interval and mention at least 1 structure that passes through the space

  1. A 22-year-old male comes to the emergency department complaining of a bulge in the anterior aspect of the arm, after a proper evaluation, you find out he was lifting heavy weights and ruptured a tendon.

              Which muscle is most likely to be affected?

            What the main function of the affected muscle?

    Which is the insertion/origin of the affected muscle?

  1. Which muscles originate from the coracoid process?

5, 6, 7, 9, 10 and 11 = Lab

  1. Based on the image provided, list the boundaries and contents of the cubital fossa
  2. Which structure is at risk of damage if the aponeurosis of the Biceps Brachii is pierced by a needle during a phlebotomy?

In: Anatomy and Physiology

Case Study Thomas Gilbert and Susan Bradley formed a professional corporation called “Financial Services Inc.---A Professional...

Case Study

Thomas Gilbert and Susan Bradley formed a professional corporation called “Financial Services

Inc.---A Professional Corporation,” each taking 50 percent of the authorized common stock.

Gilbert is a CPA and a member of the AICPA. Bradley is a CPCU (Chartered Property Casualty

Underwriter). The corporation performs auditing and tax services under Gilbert’s direction and

provides insurance services under Bradley’s supervision. The plan has been to allow each

shareholder to refer services to the other, in return for referral fees.

One of the corporation’s first audit clients is Grandtime Company. Grandtime had total assets of

$600,000 and total liabilities of $270,000. In the course of his audit examination, Gilbert found

that Grandtime’s building, with a carrying value of $240,000 was pledged as collateral for a 10-

year term note in the amount of $200,000. The client’s financial statements did not mention that

the building was pledged as collateral. However, as the failure to disclose the lien did not affect

either the value of the assets or the amount of the liabilities, and his examination was satisfactory

in all other respects, Gilbert rendered an unmodified opinion on Grandtime’s financial

statements.

Two months after the date of his opinion, Gilbert learned that an insurance company was

planning to loan Grandtime $150,000 in the form of a first-mortgage note on the building.

Realizing that the insurance company was unaware of the existing lien on the building, Gilbert

had Bradley notify the insurance company of the fact.

Shortly after the events described above, Gilbert was charged with several violations of

professional ethics.

Identify and discuss at least four ethical implications of those acts by Gilbert that were in

violation of the AICPA Code of Professional Conduct

In: Accounting

Bill Jobs was a keen competitor in the computer industry. The name of his company was...

Bill Jobs was a keen competitor in the computer industry. The name of his company was Winpple Computers. His products did reasonably well in the market but lately his profit margin has been declining. This was partly because his company had not come up with anything new. He then decided to make a small laptop in a tablet form and call it HiPad. Apple Computers, a major player in the industry had released a similar type of handheld computer in the market a year ago and it was called IPad.

Winpple’s HiPad was manufactured in Australia but when it was sold, all advertisements concerning the product were set against an American background and the packaging for the product also omitted to mention that it was manufactured in Australia. The packaging came in red, white and blue colour with white stars surrounding the edges. The product has become very popular in the market. Its pricing was also comparatively lower than the IPad. One of his legal associates has recently told Bill Jobs that there might be legal implications because of the product and packaging.

There was also concern raised by some purchasers that the tablets developed problems after a period of six months and could not be fixed. The sale and purchase terms of the contracts for HiPads contained the following clause.

“The company excludes liability for breaches of the contract relating to product suitability and quality that occur after a period of three months after the purchase of the product.”

Advise Bill Jobs and dissatisfied purchasers whether there have been breaches of the Australian Consumer Law and the remedies that may be sought.                             

In: Economics

For each of the situations? listed, identify which of three principles? (integrity, objectivity and? independence, or...

For each of the situations? listed, identify which of three principles? (integrity, objectivity and? independence, or due? care) from the AICPA Code of Professional Conduct that is violated. Assume all persons listed in the situations are members of the AICPA.? (Note: Refer to the AICPA Code of Professional? Conduct.

a.

?Mariah's company is switching to? FIFO, after using the LIFO method for several years. Mariah does not remember how to apply the FIFO? method, but is too busy to review the technique. She figures the auditors will catch anything she does wrong.

b.

Xun is the chief accountant for a furniture manufacturer. Two years? ago, Xun changed the? company's inventory method to FIFO. This? year, Xun is changing back to LIFO. The motivation for the changes is solely to manipulate net income.

c.

Eboni is an auditor at a public accounting firm. She is auditing one of her? firm's largest clients. Her aunt is the CEO of this client. Eboni does not mention the relationship to her manager.

d.

A fire at? Sean's company has destroyed most of the accounting records and a significant amount of inventory. He finds some partial records to be able to reconstruct most of the financial records using the gross profit method. He has the opportunity to substitute a higher number for the quantity on hand so that insurance will pay the company more than the actual loss. He knows that the quantity on hand was much lower than he reports on the insurance claim? form, but rationalizes that his company has paid insurance premiums for many years.

In: Accounting

Anna and Jorge Peleo are in the middle of a bitter divorce. Anna’s attorney called Sam...

Anna and Jorge Peleo are in the middle of a bitter divorce. Anna’s attorney called Sam Blakely, a forensic accountant, because he suspected that Jorge was hiding assets from the divorce. Anna claimed that Jorge secretly owned a beach condominium on the Pacific coast of Costa Rica. He had frequently traveled there on business trips, and about a year ago, she received a mysterious call from a woman living in Costa Rica. The woman claimed that she was Jorge’s ex-girlfriend and that he had bought a condo for her to live in. The caller seemed very angry because Jorge had left her for another woman and had thrown her out of the condo.

The alleged ex-girlfriend left only her first name (Nora). She did mention the city where the condo was located, but it was a long Spanish name that Anna could not recall.

Anna’s attorney deposed Jorge and asked him many questions about the girlfriend and the condo. Jorge claimed it was all crazy talk, and he completely denied any knowledge of a condominium or girlfriend.

During the 20 years of marriage, Jorge worked as the vice president of marketing for a large machine parts company. Anna knew only that he was very highly paid, but she had never worked or paid much attention to their finances. Now she feels she is completely at his mercy in the divorce.

Explain how you think Sam Blakely would proceed with his investigation.

Assuming that there is a secret condo in Costa Rica, what do you think Sam’s chances are of discovering it?

In: Accounting