GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

Acme Company is considering an investment in a new project….

Acme Company is considering an investment in a new project. The net present value of the project is $58,500 and the project has a profitability index of 1.45. What is the amount of the initial investment?

Read Details

Which of the following statements regarding the cash convers…

Which of the following statements regarding the cash conversion cycle are true? As the average accounts receivable balance increases, the cash conversion cycle increases. As the average accounts payable balance decreases, the cash conversion cycle decreases. As the average inventory balance decreases, the cash conversion cycle decreases.

Read Details

Conjunciones  Choose the option with the correct conjunction…

Conjunciones  Choose the option with the correct conjunction from the menu. La contaminación del agua no va parar [1]  pensemos en una solución inmediata. Estudia los verbos irregulares [2] haya algunos en el examen. Escribe una carta a tus amigos [3] sepan que piensas en ellos. No vayas a esa fiesta [4] tus padres te den permiso. ¡Corre! ¡Entremos a la tienda [5] cierren las puertas!

Read Details

Estructura 13.2 ¿Subjuntivo o indicativo?  Choose the correc…

Estructura 13.2 ¿Subjuntivo o indicativo?  Choose the correct verb to complete each sentence. Creo que Pablo [1] a un mono en el zoológico. Niego que mis amigos [2] un mono en su habitación. No crees que nosotros [3] al desierto mañana. Es verdad que tú [4] muchos árboles en la escuela. Estoy segura de que ustedes [5] a las tortugas marinas.

Read Details

Escoger  Choose the correct verbs from the word bank and con…

Escoger  Choose the correct verbs from the word bank and conjugate them to complete the following sentences. ¡Los verbos NO se repiten! Usa el subjuntivo. tener                       ir                      poder                      ayudar                     cuidar No creo que tú no [1] tiempo para ir a reciclar. No es verdad que nosotros no [2] el agua del lago para mantenerlo limpio. Marcos no cree que yo [3] a la playa en el invierno. Dudo que mi hermana no [4] a conservar los recursos naturales. Es probable que mañana tú [5] caminar por el sendero si hace sol.

Read Details

Instructions Name your IntelliJ project Exam2_YourName. Nam…

Instructions Name your IntelliJ project Exam2_YourName. Name your .java files as indicated by the questions. Write a comment at the top of your .java files that includes the program name, the date, and your name. When you’re ready to submit your work, zip your IntelliJ project folder. Use the Add a File button to select your zipped IntelliJ project and upload it. The exam must be completed in-person. You have 50 minutes, from the beginning of the class period until the end of the class period, to take the exam. You are not permitted to receive assistance during the exam. You are not permitted to access other websites during the exam. You are not permitted to use artificial intelligence (AI) during the exam. You are permitted to use your programming assignments and in-class programming practices during the exam. Ensure you have your programming assignments and in-class programming practices on the computer prior to starting the exam. You are not permitted to use other resources during the exam. Mobile phones and other electronic devices need to be turned off / silenced and put away during the exam. Good luck! 1. Vehicles (25 points) Name: Vehicle.java and Car.java Implement a Vehicle class that meets the following specification represented as a UML class diagram. The attributes are indicated as being private in the UML diagram, but it’s also acceptable to make them protected. Implement a Car class that is a subclass of Vehicle that meets the following specification represented as a UML class diagram and overrides toString(). Numeric attributes are to have default values of 0.  String attributes are to have default values of “abc”. The toString() for each class should contain the name of the class, the name, and if a Car the plate, in parentheses, the at symbol, and then the speed followed by mph. For example: “Vehicle (abc) @ 0.0 mph” “Car (Jaguar, ABC-123) @ 120.5 mph” Do not modify the contents of the provided TestVehicles.java. Also note that the attribute and method names will need to match the specification exactly. TestVehicles.java: public class TestVehicles { public static void main(String[] args) { Vehicle v1 = new Vehicle(); System.out.println(“toString(): ” + v1); Vehicle v2 = new Vehicle(5000.5, “Shuttle”); System.out.println(“toString(): ” + v2); v1.setSpeed(123.456); v1.setName(“Some vehicle”); v2.setSpeed(0.0); v2.setName(“Nameless”); Car c1 = new Car(); System.out.println(“toString(): ” + c1); Car c2 = new Car(120.5, “Jaguar”, “ABC-123”); System.out.println(“toString(): ” + c2); Vehicle v3 = new Car(145.5, “Porsche”, “XYZ-456”); System.out.println(“toString(): ” + v3); System.out.println(); c1.setSpeed(789.123); c1.setName(“Junk”); c1.setPlate(“XYZ-123”); c2.setSpeed(0.0); c2.setName(“Honda”); c1.setPlate(“111-222”); printVehicle(v1); printVehicle(v2); printVehicle(c1); printVehicle(c2); printVehicle(v3); } public static void printVehicle(Vehicle v) { System.out.println(“Print Vehicle”); System.out.println(“\tSpeed: ” + v.getSpeed()); System.out.println(“\tName: ” + v.getName()); System.out.println(); } } Sample Run (TestVehicles.java): toString(): Vehicle (abc) @ 0.0 mph toString(): Vehicle (Shuttle) @ 5000.5 mph toString(): Car (abc, abc) @ 0.0 mph toString(): Car (Jaguar, ABC-123) @ 120.5 mph toString(): Car (Porsche, XYZ-456) @ 145.5 mph Print Vehicle Speed: 123.456 Name: Some vehicle Print Vehicle Speed: 0.0 Name: Nameless Print Vehicle Speed: 789.123 Name: Junk Print Vehicle Speed: 0.0 Name: Honda Print Vehicle Speed: 145.5 Name: Porsche 2. Payroll (25 points) Name: Payroll.java Write a program that reads a text file named payroll.txt such that each line contains a first name, a last name, and a salary. Assume each is separated by a single space. Print each line out to the screen. Calculate the average of the salaries and display it on the screen as well. Do not ask the user for the name of the file, assume the file is named payroll.txt. Be aware that the actual text file used for grading may be different than the sample file provided, so do not assume the number of lines in the file, etc. Sample Run: File Contents: John Doe 23400.0 Jane Doe 23400.0 John Smith 12340.0 Vader Smith 99000.99 Jack Sparrow 2.19 Bob Builder 80000.0 Pizza Lord 120000.0 Average: $51163.311428571425 Where payroll.txt looks like: John Doe 23400.0 Jane Doe 23400.0 John Smith 12340.0 Vader Smith 99000.99 Jack Sparrow 2.19 Bob Builder 80000.0 Pizza Lord 120000.0

Read Details

More and more Americans are worried about Global Warming, ac…

More and more Americans are worried about Global Warming, according to a recent Gallup Poll. In 2016 a random sample of 900 adults, living in all 50 U.S. states and the District of Columbia, 333 of them said that they “worry a great deal” about global warming. In 2019 another random survey of 1020 Americans, 459 of them said that they “worry a great deal” about global warming.  Has the opinions of Americans changed from 2016 to 2025?  Create and interpret a 98% confidence interval to answer this question using PANIC.

Read Details

In a recent survey of working Americans they were asked if t…

In a recent survey of working Americans they were asked if they were satisfied with their careers. 0.36721 with a Margin of Error of 0.1962 said that they are satisfied with their jobs.  State the confidence interval using interval notation or a compound inequality (This problem is worth 5 points)

Read Details

A company is considering a capital budgeting project that wo…

A company is considering a capital budgeting project that would require an initial investment of $670,000 and working capital of $61,000. The working capital would be released for use elsewhere at the end of the project in 3 years. The investment would generate annual cash inflows of $227,000 for the life of the project. At the end of the project, equipment that had been used in the project could be sold for $20,000. The company’s discount rate is 10%.The net present value of the project is closest to:Present Value of $1; 1 ( 1 + r ) nPeriods4%5%6%7%8%9%10%11%12%13%14%15%10.9620.9520.9430.9350.9260.9170.9090.9010.8930.8850.8770.8720.9250.9070.890.8730.8570.8420.8260.8120.7970.7830.7690.75630.8890.8640.840.8160.7940.7720.7510.7310.7120.6930.6750.65840.8550.8230.7920.7630.7350.7080.6830.6590.6360.6130.5920.57250.8220.7840.7470.7130.6810.650.6210.5930.5670.5430.5190.49760.790.7460.7050.6660.630.5960.5640.5350.5070.480.4560.43270.760.7110.6650.6230.5830.5470.5130.4820.4520.4250.40.37680.7310.6770.6270.5820.540.5020.4670.4340.4040.3760.3510.327Present Value of an Annuity of $1 in Arrears; 1 r [ 1 – 1 ( 1 + r ) n ]Periods4%5%6%7%8%9%10%11%12%13%14%15%10.9620.9520.9430.9350.9260.9170.9090.9010.8930.8850.8770.8721.8861.8591.8331.8081.7831.7591.7361.7131.691.6681.6471.62632.7752.7232.6732.6242.5772.5312.4872.4442.4022.3612.3222.28343.633.5463.4653.3873.3123.243.173.1023.0372.9742.9142.85554.4524.3294.2124.13.9933.893.7913.6963.6053.5173.4333.35265.2425.0764.9174.7674.6234.4864.3554.2314.1113.9983.8893.78476.0025.7865.5825.3895.2065.0334.8684.7124.5644.4234.2884.1686.7336.4636.215.9715.7475.5355.3355.1464.9684.7994.6394.487

Read Details

A company is considering the purchase of a factory machine t…

A company is considering the purchase of a factory machine that would cost $358,263 would have a useful life of 7 years, and would have no salvage value. The machine would allow the company to earn additional net cash inflows of $81,000 per year. The internal rate of return on the investment in the machine is closest to:Present Value of $1; 1 ( 1 + r ) nPeriods4%5%6%7%8%9%10%11%12%13%14%15%10.9620.9520.9430.9350.9260.9170.9090.9010.8930.8850.8770.8720.9250.9070.890.8730.8570.8420.8260.8120.7970.7830.7690.75630.8890.8640.840.8160.7940.7720.7510.7310.7120.6930.6750.65840.8550.8230.7920.7630.7350.7080.6830.6590.6360.6130.5920.57250.8220.7840.7470.7130.6810.650.6210.5930.5670.5430.5190.49760.790.7460.7050.6660.630.5960.5640.5350.5070.480.4560.43270.760.7110.6650.6230.5830.5470.5130.4820.4520.4250.40.37680.7310.6770.6270.5820.540.5020.4670.4340.4040.3760.3510.327Present Value of an Annuity of $1 in Arrears; 1 r [ 1 – 1 ( 1 + r ) n ]Periods4%5%6%7%8%9%10%11%12%13%14%15%10.9620.9520.9430.9350.9260.9170.9090.9010.8930.8850.8770.8721.8861.8591.8331.8081.7831.7591.7361.7131.691.6681.6471.62632.7752.7232.6732.6242.5772.5312.4872.4442.4022.3612.3222.28343.633.5463.4653.3873.3123.243.173.1023.0372.9742.9142.85554.4524.3294.2124.13.9933.893.7913.6963.6053.5173.4333.35265.2425.0764.9174.7674.6234.4864.3554.2314.1113.9983.8893.78476.0025.7865.5825.3895.2065.0334.8684.7124.5644.4234.2884.1686.7336.4636.215.9715.7475.5355.3355.1464.9684.7994.6394.487

Read Details

Posts pagination

Newer posts 1 … 65 66 67 68 69 … 69,579 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top