Questions
In early January 2019, Riverbed Corporation applied for a trade name, incurring legal costs of $17,000....

In early January 2019, Riverbed Corporation applied for a trade name, incurring legal costs of $17,000. In January 2020, Riverbed incurred $8,100 of legal fees in a successful defense of its trade name.

a. Compute 2019 amortization, 12/31/19 book value, 2020 amortization, and 12/31/20 book value if the company amortizes the trade name over 10 years.
2019 amortization $
12/31/19 book value $
2020 amortization $
12/31/20 book value $

b) Compute the 2020 amortization and the 12/31/20 book value, assuming that at the beginning of 2020, Riverbed determines that the trade name will provide no future benefits beyond December 31, 2023.

2020 amortization $
12/31/20 book value $

C) Ignoring the response for part (b), compute the 2021 amortization and the 12/31/21 book value, assuming that at the beginning of 2021, based on new market research, Riverbed determines that the fair value of the trade name is $15,440. Estimated total future cash flows from the trade name is $16,640 on January 3, 2021.

2021 amortization $
12/31/21 book value $

In: Accounting

Program in C Make both a SOURCE AND HEADER FILE WITH FUNCTIONS to run the program....

Program in C

Make both a SOURCE AND HEADER FILE WITH FUNCTIONS to run the program. Input data from csv file. Two files. grades.c and grades.h Thank you

data.csv file

Mark Prest,37468,36,113,In Person
Andy Joe,6785923,19,98,Online
Caden Miller,237741,20,70.1,In Person
Luke Jr,2347878,18,45.9,In Online
Ally Rogers,8467483,30,89.99,Online
Maya Jank,5674930,30,90,In Person

Expected output
Name: Mark Prest
ID: 37468
Age: 36
Grade: 113.00
Attending: In Person

Name: Andy Joe
ID: 6785923
Age: 19
Grade: 98.00
Attending: Online


Name: Caden Miller
ID: 237741
Age: 20
Grade: 70.10
Attending: In Person


Name: Luke Jr
ID: 2347878
Age: 18
Grade: 45.90
Attending: Online


Name: Ally Rogers
ID: 8467483
Age: 30
Grade: 89.99
Attending: Online


Name: Maya Jank
NUID: 5674930
Age: 30
Grade: 90.00
Attending: In Person
--------------

2

---- Grade Stats ----
A's: 3
B's: 1
C's: 1
D's: 0
F's: 1
Avg grade: 84.50
---- Enrollment Statistics ----
Number of in person: 5
Number of online: 1
Average age: 25.50

In: Computer Science

Implement a Composite Design Pattern for the code below that creates a family tree MAIN: public...

Implement a Composite Design Pattern for the code below that creates a family tree

MAIN:

public class Main {
public static void main(String[] args) {
/* Let's create a family tree (for instance like one used on genealogy sites).
For the sake of simplicity, assume an individual can have at most two children.
If an individual has 1-2 children, they are considered a "tree". If an individual
does not have children, they are considered a "person".
With that in mind, let's populate a family tree with some data. */

Person p1 = new Person(1);
Person p2 = new Person(2);
Person p3 = new Person(3);
Person p4 = new Person(4);

Tree t1 = new Tree(p1, 1);
Tree t2 = new Tree(p2, p3, 2);
Tree t3 = new Tree(t1, p4, 3);
Tree t4 = new Tree(t3, t2, 4);
  
t4.print();
}
}

PERSON:


public class Person {
String name;
  
public Person(int num) {
name = "person" + num;
}
  
public void print() {
System.out.println(name);
}
}

TREE:


public class Tree {
private String name;
  
private Tree tree1;
private Tree tree2;
  
private Person person1;
private Person person2;

public Tree(Person p1, int num) {
tree1 = null;
tree2 = null;
person1 = p1;
person2 = null;
name = "tree" + num;
}

public Tree(Tree t1, int num) {
tree1 = t1;
tree2 = null;
person1 = null;
person2 = null;
name = "tree" + num;
}

public Tree(Tree t1, Tree t2, int num){
tree1 = t1;
tree2 = t2;
person1 = null;
person2 = null;
name = "tree" + num;
}
  
public Tree(Tree t1, Person p2, int num){
tree1 = t1;
tree2 = null;
person1 = null;
person2 = p2;
name = "tree" + num;
}
  
public Tree(Person p1, Person p2, int num){
tree1 = null;
tree2 = null;
person1 = p1;
person2 = p2;
name = "tree" + num;
}
  
public void print() {
System.out.println(name);
if (tree1 != null) {
tree1.print();
}
if (tree2 != null) {
tree2.print();
}
if (person1 != null) {
person1.print();
}
if (person2 != null) {
person2.print();
}
}
}

In: Computer Science

Implement and test a TaskList application in Java that will allow a client to manage information...

Implement and test a TaskList application in Java that will allow a client to manage information about daily tasks.  A task has a task name, is scheduled on a specific day of the week and can have a comment attached to it. Together, the task name and day uniquely identify a task. There may be tasks with the same name scheduled for different days of the week. The application should allow the client to start with an empty TaskList and then manage it by adding, deleting, searching and displaying information about tasks from the TaskList according to the specifications below.

Your application should offer the client a menu with the following operations:

                0. Exit.

1. Add a task.

                2. Delete a task on a specified day.

                3. Delete a specified task.

                4. Print content of TaskList.

                5. Search day for tasks.

Here is the specification of the functionality of the TaskList application:  

1. Add a task: Adds information about a task to the TaskList. Requests the following input from the client: day, task name, and comment. If there is already a task with this name scheduled for that week day, the task cannot be added and the user should be notified of this fact.

2. Delete a task on a specified day:  Deletes a specified task on a specified day from the TaskList. Requests the following input from the client: task name and day. The user should be notified if there is no task with that name scheduled for that day in the TaskList.

3. Delete a specified task. Deletes a specified task from any day it may appear in the TaskList. Requests the following input from the client: task name. The user should be notified if there is no task with that name in the TaskList.

4. Display content of TaskList: Displays information about all tasks in the TaskList. Requests the following input from the client: None. For each task in the TaskList, displays task name, day it is scheduled on and comment attached to it.

5. Search day for tasks: Displays information about the tasks registered for a specified day. Requests the following input from the client: day.

Hint:  Make sure that you use object oriented design in your solution. In future applications the TaskList class may be used in an application used to manage several clients’ task lists. You should be able to extend your design without changes to the TaskList.

In: Computer Science

1/Your team was asked to program a self-driving car that reaches its destination with minimum travel...

1/Your team was asked to program a self-driving car that reaches its destination with minimum travel time.

Write an algorithm for this car to choose from two possible road trips. You will calculate the travel time of each trip based on the car current speed and the distance to the target destination. Assume that both distances and car speed are given.

2/

Write a complete Java program that do the following:

  1. Declare String object and a variable to store your name and ID.
  2. DisplayYour Name and Student ID.
  3. Display Course Name, Code and CRN
  4. Replace your first name with your mother/father name.
  5. Display it in an uppercase letter.

Note:Your program output should look as shown below.

My Name: Ameera Asiri

My student ID: 123456789

My Course Name: Computer Programming

My Course Code: CS140

My Course CRN: 12345

AIYSHA ASIRI

Note: Include the screenshot of the program output as a part of your answer.

3/

Write a tester program to test the mobile class defined below.

Create the class named with your id (for example: Id12345678) with the main method.

  1. Create two mobiles M1 and M2 using the first constructor.
  2. Print the characteristics of M1 and M2.
  3. Create one mobile M3 using the second constructor.
  4. Change the id and brand of the mobile M3. Print the id of M3.

Your answer should include a screenshot of the output. Otherwise, you will be marked zero for this question.

public class Mobile {

private int id;

private String brand;

public Mobile() {

    id = 0;

    brand = "";

}

public Mobile(int n, String name) {

    id = n;

    brand = name;

}

public void setBrand(String w) {

    brand = w;

}

public void setId(int w) {

    id = w;

}

Public int getId() {

return id;

}

public String getBrand() {

return brand;

}

}

4/

Write a method named raiseSalary that accepts two integers as an argument and return its sum multiplied by 15%. Write a tester program to test the method. The class name should be your ID (for example: Id12345678).

Your answer should include a screenshot of the output. Otherwise, you will be marked zero for this question.

In: Computer Science

1/Your team was asked to program a self-driving car that reaches its destination with minimum travel...

1/Your team was asked to program a self-driving car that reaches its destination with minimum travel time.

Write an algorithm for this car to choose from two possible road trips. You will calculate the travel time of each trip based on the car current speed and the distance to the target destination. Assume that both distances and car speed are given.

2/

Write a complete Java program that do the following:

  1. Declare String object and a variable to store your name and ID.
  2. DisplayYour Name and Student ID.
  3. Display Course Name, Code and CRN
  4. Replace your first name with your mother/father name.
  5. Display it in an uppercase letter.

Note:Your program output should look as shown below.

My Name: Ameera Asiri

My student ID: 123456789

My Course Name: Computer Programming

My Course Code: CS140

My Course CRN: 12345

AIYSHA ASIRI

Note: Include the screenshot of the program output as a part of your answer.

3/

Write a tester program to test the mobile class defined below.

Create the class named with your id (for example: Id12345678) with the main method.

  1. Create two mobiles M1 and M2 using the first constructor.
  2. Print the characteristics of M1 and M2.
  3. Create one mobile M3 using the second constructor.
  4. Change the id and brand of the mobile M3. Print the id of M3.

Your answer should include a screenshot of the output. Otherwise, you will be marked zero for this question.

public class Mobile {

private int id;

private String brand;

public Mobile() {

    id = 0;

    brand = "";

}

public Mobile(int n, String name) {

    id = n;

    brand = name;

}

public void setBrand(String w) {

    brand = w;

}

public void setId(int w) {

    id = w;

}

Public int getId() {

return id;

}

public String getBrand() {

return brand;

}

}

4/

Write a method named raiseSalary that accepts two integers as an argument and return its sum multiplied by 15%. Write a tester program to test the method. The class name should be your ID (for example: Id12345678).

Your answer should include a screenshot of the output. Otherwise, you will be marked zero for this question.

In: Computer Science

1.How would you effectively limit the use of social media? Name 4 effective ways. 2.Name four...


1.How would you effectively limit the use of social media? Name 4 effective ways.

2.Name four important ways social media may be used.

3. List four dangers of using social media.

4. What is your own comfort level with computers and social media?

In: Nursing

1.How would you effectively limit the use of social media? Name 4 effective ways. 2.Name four...

1.How would you effectively limit the use of social media? Name 4 effective ways.

2.Name four important ways social media may be used.

3. List four dangers of using social media.

4. What is your own comfort level with computers and social media?


please do not write your answer on a sheet of paper. i need it to be typed. thanks

In: Nursing

Employee ID First Name Last Name email Title Address Extension Department Department ID Hiring Date Department...

Employee ID

First Name

Last Name

email

Title

Address

Extension

Department

Department ID

Hiring Date

Department Phone #

0001

John

Smith

jsmith

Accountant

1300 West st

5775

Accounting

2100

8/1998

407-366-5700

0002

Brian

Miller

badams

Admin Assistant

1552 Palm dr

5367

Human resource

2300

4/1995

407-366-5300

0003

James

Miller

miller

Inventory Manager

2713 Buck rd

5432

Production

2520

8/1998

407-366-5400

0004

John

Jackson

jackson_sam

Sales Person

433 tree dr

5568

Sales

2102

6/1997

407-366-5500

0005

Robert

Davis

Davis

Manager

713 corner st

5642

Production

2520

1/2001

407-366-5400

0006

Paul

Thompson

thompsonp

Market Analyst

205 Bridge dr

5744

Marketing

2101

5/2003

407-366-5600

0007

Sandy

Davis

SDavis

Manager

713 Corner st

5702

Accounting

2100

11/1999

407-366-5700

1. List the major entities identified in the table above

2. After examining the table carefully identify candidate keys. Remember from the lecture that a candidate key field has to be unique, but should not hold private information that might compromise person's identity. For example SSN is unique and can be used to determine student information, so it is a candidate key, but using SSN might compromise student security for that it will not be used as primary key. The combination of first name and last name is not unique and cannot be used as a candidate key. Once the candidate keys been identified, some will be as primary keys and will be used to normalize the table. To connect the tables, the primary key of one table can be used as a foreign key in the other.

In: Computer Science

Complete the following problems using R.  Name the file with your last name, e.g., “Prob set 6-Smith.eoc”Clearly...

Complete the following problems using R.  Name the file with your last name, e.g., “Prob set 6-Smith.eoc”Clearly label problems, and be sure to turn in explanations and interpretations where appropriate.

3.Total cholesterol has been reported to be 200 mg/dL on average in the US by the Centers for Disease Control.  You measure total cholesterol on a random sample of 80 Alabama adults, with the intention of comparing Alabamians’ cholesterol level to that of the US average. Data are included in the assignment .xlsx file. Assume

that cholesterol is approximately normally distributed with a known standard deviation of 70 mg/dL.

a.What is the mean value observed for Alabamians’ cholesterol?

b.What is the standard error of Alabamians’ cholesterol assuming the given known standard deviation?

c.Find the 95% confidence interval for the unknown population mean of Alabamians’ cholesterol level values and interpret its meaning.

d.Test the hypothesis that Alabamians have higher average cholesterol than that of the US at the =0.05 level.  (Be sure to right down all steps, as in the lecture notes, and interpret the meaning of the test!)

e.How would your answer in (d) change if you used an =0.01 level?

116
282
213
252
150
219
221
289
226
265
234
256
208
263
155
206
201
283
208
142
279
155
231
143
218
243
162
125
212
149
250
184
210
236
241
294
196
226
184
208
278
144
263
245
212
205
208
151
266
224
276
203
222
199
272
197
176
241
269
217
206
239
238
237
187
203
283
156
283
138
234
198
172
277
172
157
267
160
243
189

In: Math