Questions
The purpose of this lab is to become familiar with searching, inserting and deleting elements in...

The purpose of this lab is to become familiar with searching, inserting and deleting elements in a linked list.using java  

public boolean contains(String name) // returns true if provided name exists in the list, otherwise returns false public void add(String name) // adds name to the list in its proper lexographical (alphabetical) ordering public void delete(String name) // removes name from list

In: Computer Science

In PowerShell ISE create a script. Use the text file “its3410Users.txt” (found on Canvas) and import...

In PowerShell ISE create a script.

Use the text file “its3410Users.txt” (found on Canvas) and import the users into your domain controller. The user file has a first name, last name, and department. Using this information, create users with the following specifications:

  • Username will be first name.last name
  • User Principal Name will be first name.last name@its3410.net
  • The department signifies the OU that the user will be placed into
    • If the department does not exist, create it
  • Fill in the first name, last name, and display name fields in the user record
  • Force the user to change the password on logon
  • Have the account enabled
  • Default password for all users will be “Ch@nge123Me!”

In: Computer Science

*// 1- Add JavaDoc to This classes 2- Mak a UML */ import java.util.*; public class...

*//
1- Add JavaDoc to This classes 
2- Mak a UML
*/
import java.util.*;
public class Display
{
   public static void main(String[] args)
   {
       altEnerCar car1 = new altEnerCar(20000, 2001, 20000);
       altEnerCar car2 = new HydrogenCar(0, 2012, 50000, 100, false);
       altEnerCar car3 = new ElectricCar(0, 2014, 30000, 10, 50);
       altEnerCar car4 = new NaturalGasCar(0, 2000, 60000, 5, 20);
       altEnerCar car5 = new PropaneCar(0, 2011, 45000, 10, true);
      
       ArrayList<altEnerCar> cars = new ArrayList<altEnerCar>();
      
       cars.add(car1);
       cars.add(car2);
       cars.add(car3);
       cars.add(car4);
       cars.add(car5);
       Collections.sort(cars);
       System.out.println(cars);
      
   }


}




/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */






public class ElectricCar extends NoEmissionsCar
{
   private double batterycharge;
   public ElectricCar()
   {
       this.batterycharge = 200;
   }
   public ElectricCar(double miles, int yearmade, double price, double fuelcost, double batterycharge)
   {
       super(miles, yearmade, price, fuelcost);
       this.batterycharge = batterycharge;
   }
   @Override
   public void setFuelCost(double fuelcost)
   {
       this.fuelcost = fuelcost;
   }
   @Override
   public double getFuelCost()
   {
       return this.fuelcost;
   }
   public void setBatteryCharge(double batterycharge)
   {
       this.batterycharge = batterycharge;
   }
   public double getBatteryCharge()
   {
       return this.batterycharge;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake year: "+yearmade+"\tPrice: "+price+"\tFuel cost: "+fuelcost+"\tBatery Charge: "+batterycharge;
   }


}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */




public abstract class EmissionsCar extends altEnerCar
{
   protected double emissions;
   public EmissionsCar()
   {
       this.emissions = 60;
   }
   public EmissionsCar(double miles, int yearmade, double price, double emissions)
   {
       super(miles, yearmade, price);
       this.emissions = emissions;
   }
   public abstract void setEmissions(double emissions);
   public abstract double getEmissions();
}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */


public class HydrogenCar extends NoEmissionsCar
{
   private boolean infastructure;
   public HydrogenCar()
   {
       this.infastructure = false;
   }
   public HydrogenCar(double miles, int yearmade, double price, double fuelcost, boolean infastructure)
   {
       super(miles, yearmade, price, fuelcost);
       this.infastructure = infastructure;
   }


   
   @Override
   public void setFuelCost(double fuelcost)
   {
       this.fuelcost = fuelcost;
   }
   @Override
   public double getFuelCost()
   {
       return this.fuelcost;
   }
   public void setInfastructure(boolean infastructure)
   {
       this.infastructure = infastructure;
   }
   public boolean getInfastructure(boolean infastructure)
   {
       return this.infastructure;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake Year: "+yearmade+"\tPrice: "+price+"\tFuel Cost: "+fuelcost+"\tInfrastructure: "+infastructure;
   }
}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */


public class NaturalGasCar extends EmissionsCar
{
   private double methaneemissions;
   public NaturalGasCar()
   {
       this.methaneemissions = 15;
   }
   public NaturalGasCar(double miles, int yearmade, double price, double emissions, double methaneemissions)
   {
       super(miles, yearmade, price, emissions);
       this.methaneemissions = methaneemissions;
   }


    
   @Override
   public void setEmissions(double emissions)
   {
       this.emissions = emissions;
      
   }
   @Override
   public double getEmissions()
   {
       return this.emissions;
   }
   public void setMethaneEmissions(double methaneemissions)
   {
       this.methaneemissions = methaneemissions;
      
   }
   public double getMethaneEmissions()
   {
       return this.methaneemissions;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake Year: "+yearmade+"\tPrice: "+price+"\tEmission: "+emissions+"\tMethane Emission: "+methaneemissions;
   }


}
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */




public abstract class NoEmissionsCar extends altEnerCar
{
   protected double fuelcost;
   public NoEmissionsCar()
   {
       this.fuelcost = 30;
   }
   public NoEmissionsCar(double miles, int yearmade, double price, double fuelcost)
   {
       super(miles, yearmade, price);
       this.fuelcost = fuelcost;
   }
   public abstract void setFuelCost(double fuelcost);
   public abstract double getFuelCost();
}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */


public class PropaneCar extends EmissionsCar
{
   private boolean infastructure;
   public PropaneCar()
   {
       this.infastructure = true;
   }
   public PropaneCar(double miles, int yearmade, double price, double emissions, boolean infastructure)
   {
       super(miles, yearmade, price, emissions);
       this.infastructure = infastructure;
   }
   @Override
   public void setEmissions(double emissions)
   {
       this.emissions = emissions;
      
   }
   @Override
   public double getEmissions()
   {
       return this.emissions;
   }
   public void setMethaneEmissions(boolean infastructure)
   {
       this.infastructure = infastructure;
      
   }
   public boolean getMethaneEmissions()
   {
       return this.infastructure;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake Year: "+yearmade+"\tPrice: "+price+"\tEmissions: "+emissions+"\t Infrastructure: "+infastructure;
   }


}
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */
public class altEnerCar implements Comparable<altEnerCar>
{
   protected double miles;
   protected int yearmade;
   protected double price;
  
   public altEnerCar()
   {
       this.miles = 0;
       this.yearmade = 2019;
       this.price = 50000;
   }
   public altEnerCar(double miles, int yearmade, double price)
   {
       this.miles = miles;
       this.yearmade = yearmade;
       this.price = price;
   }
   public void setMiles(double miles)
   {
       this.miles = miles;
   }
   public void setYearMade(int yearmade)
   {
       this.yearmade = yearmade;
   }
   public void setPrice(double price)
   {
       this.price = price;
   }
   public double getMiles()
   {
       return this.miles;
   }
   public int getYearMade(int yearmade)
   {
       return this.yearmade;
   }
   public double getPrice()
   {
       return this.price;
   }
   public String toString()
   {
       return "\nmiles: "+miles+"\nyear made: "+yearmade+"\nprice: "+price;
   }
   public int compareTo(altEnerCar otherAECar)
   {
       return -1*(Double.valueOf(otherAECar.getPrice()).compareTo(this.price));
   }
  
}

In: Computer Science

The following information pertains to PCX Company: Temporary differences for the year 2016 are summarized below....

The following information pertains to PCX Company:

Temporary differences for the year 2016 are summarized below.

Expenses deducted in the tax return, but not included in the income statement:

Depreciation: $60,000

Prepaid Expense: $8,000

Expenses reported in the income statement, but not deducted in the tax return:

Warranty Expense: $9,000

No temporary differences existed at the beginning of 2016.

Pretax accounting income was $67,000

The tax rate is 30%.

Required-

Prepare the journal entry to record the tax provision for 2016.

Account Debit Credit

In: Accounting

Income taxation Compute allowable MACRS, section 179 and special first year write off for Queen Corp....

Income taxation

Compute allowable MACRS, section 179 and special first year write off for Queen Corp. (QC) for 2016, 2017, 2018, 2018 and 2019. Compute gain/loss on widget sold in 2019.

In 2016 QC purchased a Framus (ten-year item) for $3 million. QC mad no special elections for 2016.

In 2017 QC purchased four widgets (five-year) items for 450,000 each, QC declined special first year write off only.

In: Accounting

On January 1, 2016, Badger Inc. adopted the dollar-value LIFO method. The inventory cost on this...

On January 1, 2016, Badger Inc. adopted the dollar-value LIFO method. The inventory cost on this date was $114,000. The 2016 ending inventory, valued at year-end costs, was $165,000. The relative cost index for this inventory in 2016 was 1.20.

  

Suppose that Badger's 2017 ending inventory, valued at year-end costs, was $176,400 and that the relative cost index for this inventory in 2017 was 1.26. In determining the inventory balance should Badger report in its 12/31/17 balance sheet:

In: Accounting

Danisco Manufacturing consists of 85 full-time employees and 25 part-time employeess. The full-time employees' working hours...

Danisco Manufacturing consists of 85 full-time employees and 25 part-time employeess. The full-time employees' working hours are 8-hour per day, 5 days per weel in a year. The total overtime worked by the full-time employee is 2900 hours, and the total hours worked by the part-time employee is 1500 hours in year 2016. 18 injuries were recorded at the workplace in year 2016. Determine the OSHA incidence rate based on injuries for year 2016.

In: Other

3. MACRS Compute allowable MACRS, section 179 and special first year write off for Queen Corp....

3. MACRS

Compute allowable MACRS, section 179 and special first year write off for Queen Corp. (QC) for 2016, 2017, 2018, 2018 and 2019. Compute gain/loss on widget sold in 2019.

In 2016 QC purchased a Framus (ten-year item) for $3 million. QC mad no special elections for 2016.

In 2017 QC purchased four widgets (five-year) items for 450,000 each, QC declined special first year write off only.

In: Accounting

List the Ratios for 2016 and 2017- for the companies LOCKHEED MARTIN AND RAYTHEON! (4) PROFITABILITY:...

List the Ratios for 2016 and 2017- for the companies LOCKHEED MARTIN AND RAYTHEON!

(4) PROFITABILITY:

         FY 2017        FY 2016

Net profit Margin:

LMT    .                       3.92                 11.22

            Raytheon                     9.19                 7.98

Return on Assets:

LMT                            4.24                 10.94

            Raytheon                     7.45                 6.65

Return on Equity:

LMT                            483.57             230.12

            Raytheon                     21.90               20.21

                        Modified Du Pont Equation, FY 2016:

                                                                     LMT            Raytheon

Net Profit Margin                    ____                ____

Total Asset Turnover              ____                ____

Equity Multiplier                     ____                ____

            Comments On The Company’s Profitability:

In: Finance

During 2016, Savage Co. disposed of A Division, a major component of its business. Savage realized...

During 2016, Savage Co. disposed of A Division, a major component of its business. Savage realized a gain of $3200000, net of taxes, on the sale of A's assets. A's operating losses, net of taxes, were $5900600 in 2016. How should these facts be reported in Savage's income statement for 2016?

Total Amount to be Included in
Income from Results of
Continuing Operations Discontinued Operations
$3600000 loss $2940000 gain
0 660000 loss
660000 loss 0
2940000 gain 3600000 loss

In: Accounting