Questions
Create a java program for Student profile with the following requirements. Each Student has: two variables...

Create a java program for Student profile with the following requirements.

  1. Each Student has: two variables id, and name.
  2. A Student can be initialization with two constructers:
  • Constructer without parameters, that set the id to zero and the name to an empty string.
  • Constructer with tow parameters to initialize the variables id and name by a specific value.
  1. Add a set method for each variable that change them to a specific value.
  2. Add a get method for each variable which return its value.

To test the program, create a class StudentTest with the main method.

In the main method:

  1. Create two empty Student profiles S1and S2.
  2. Print the S1and S2 information.
  3. Create a new student profile S3, specify the student id and name.
  4. Change S3id and name.
  5. Print the id and name of S3.

Answer:

In: Computer Science

Lab 1-Refreshing Linux basics Objective: (Complete using Netlab) Please try each command in Linux system, and...

Lab 1-Refreshing Linux basics

Objective: (Complete using Netlab)

Please try each command in Linux system, and get screenshots (you may put multiple commands in one screenshot) which can show how actually each command runs. Also, give a brief description (one or two sentences) for each command. For the commands which have multiple switches/parameters, please try one popular switch/parameter.

If after the command, there is “date”, please run date to show the system date and time before you run the command; but if there is “name”, please type your first and last name, such as “Levis (First name)   Johnson (Last Name)” before you run this command. Your screenshot must include the above information.

Linux Commands

grep (date), find, man, ls , chmod, chown (name), passed, useradd and adduser, su, vi, rmdir (date), wherein, lsmod, insmod (name), make, | pipe, ln, rm, cp, mv, (name), ld, ftp, more, less, cat (date), tar, top , ps (name), kill, df, last, patch, mkdir (date)

In: Computer Science

This assignment involves the use of text files, lists, and exception handling and is a continuation...

This assignment involves the use of text files, lists, and exception handling and is a continuation of the baby file assignment. You should now have two files … one called boynames2014.txt and one called girlnames2014.txt - each containing the top 100 names for each gender from 2014. Write a program which allows the user to search your files for a boy or girl name and display where that name ranked in 2014. For example …

>>> Enter gender (boy/girl): boy

Enter the name to search for: Michael

Michael was ranked # 7 in 2014 for boy names.

>>> ================================ RESTART ================================

Enter gender (boy/girl): boy

Enter the name to search for: MIchAel

MIchAel was ranked # 7 in 2014 for boy names.

>>> ================================ RESTART ================================

Enter gender (boy/girl): boy

Enter the name to search for: Jeremiah

Jeremiah was ranked # 56 in 2014 for boy names.

>>> ================================ RESTART ================================

Enter gender (boy/girl): girl

Enter the name to search for: olivia

olivia was ranked # 2 in 2014 for girl names.

>>> ================================ RESTART ================================

Enter gender (boy/girl): girl

Enter the name to search for: billie jean

billie jean was not ranked in the top 100 girl names for 2014.

>>> ================================ RESTART ================================

Enter gender (boy/girl): gril

Enter the name to search for: sue

Invalid gender >>>

Make sure to use try/except blocks to handle the exception if the files are not found or unavailable. Use the index method on the list to find the baby name. Use a try/except block to handle the exception caused when the name is not found in the file. Also, check for an invalid gender entry.

In: Computer Science

Carlsbad Corporation's sales are expected to increase from $5 million in 2016 to $6 million in...

Carlsbad Corporation's sales are expected to increase from $5 million in 2016 to $6 million in 2017, or by 20%. Its assets totaled $2 million at the end of 2016. Carlsbad is at full capacity, so its assets must grow in proportion to projected sales. At the end of 2016, current liabilities are $1 million, consisting of $250,000 of accounts payable, $500,000 of notes payable, and $250,000 of accrued liabilities. Its profit margin is forecasted to be 5%, and the forecasted retention ratio is 40%. Use the AFN equation to forecast the additional funds Carlsbad will need for the coming year. Write out your answer completely. For example, 5 million should be entered as 5,000,000. Round your answer to the nearest cent.

$

In: Finance

Right Now, Inc. purchases a large piece of equipment from ARCSOFT Corp. The terms of the...

Right Now, Inc. purchases a large piece of equipment from ARCSOFT Corp. The terms of the purchase call for Right Now to take delivery of the equipment on June 1 , 2016 upon transfer of $50,000 to ARCSOFT on that same day. Additional payments of $200,000 is to be paid by Right Now to ARCSOFT on June 1, 2017 and June 1, 2018. The equipment will be usable upon delivery with no further involvement by ARCSOFT. Both companies only make adjusting entries at the end of the year. The normal borrowing rate for Right Now is 8%.

What journal entries should Right Now and ARCSOFT make on:

June 1, 2016

Dec 31, 2016

Dec 31, 2017

June 1, 2018

In: Accounting

Carlsbad Corporation's sales are expected to increase from $5 million in 2016 to $6 million in...

Carlsbad Corporation's sales are expected to increase from $5 million in 2016 to $6 million in 2017, or by 20%. Its assets totaled $4 million at the end of 2016. Carlsbad is at full capacity, so its assets must grow in proportion to projected sales. At the end of 2016, current liabilities are $1 million, consisting of $250,000 of accounts payable, $500,000 of notes payable, and $250,000 of accrued liabilities. Its profit margin is forecasted to be 5%, and the forecasted retention ratio is 35%. Use the AFN equation to forecast the additional funds Carlsbad will need for the coming year. Write out your answer completely. For example, 5 million should be entered as 5,000,000. Round your answer to the nearest cent.

In: Finance

Lorelei files HOH and owns an inn called The Dragon Fly. Currently The Dragon Fly is...

Lorelei files HOH and owns an inn called The Dragon Fly. Currently The Dragon Fly is a single member LLC and all income is reported on her personal income tax return. During 2016, the net profit from The Dragon Fly was $175,500. Lorelei has additional taxable income of $115,000. She is considering incorporating The Dragon Fly. Please calculate the following:

What is Lorelei’s 2016 income tax liability if The Dragon Fly remains a Single Member LLC?

What is Lorelei’s minimum 2016 income tax liability (both individual & corporate) if she incorporates The Dragon Fly, assuming she is able to pay herself the desired salary?

What should she do? Explain.

In: Accounting

Right Now, Inc. purchases a large piece of equipment from ARCSOFT Corp. The terms of the...

Right Now, Inc. purchases a large piece of equipment from ARCSOFT Corp. The terms of the purchase call for Right Now to take delivery of the equipment on June 1 , 2016 upon transfer of $50,000 to ARCSOFT on that same day. Additional payments of $200,000 is to be paid by Right Now to ARCSOFT on June 1, 2017 and June 1, 2018. The equipment will be usable upon delivery with no further involvement by ARCSOFT. Both companies only make adjusting entries at the end of the year. The normal borrowing rate for Right Now is 8%.

What journal entries should Right Now and ARCSOFT make on:

June 1, 2016

Dec 31, 2016

Dec 31, 2017

June 1, 2018

In: Accounting

Yellow Company a distributor of machinery bought a machine from manufacturer in November 2016 for P500,000....

Yellow Company a distributor of machinery bought a machine from manufacturer in November 2016 for P500,000. On December 30, 2016, the entity sold this machine for P750,000 under the following terms: 2% discount if paid within 30 days, 1% discount if paid after 30 days but within 60 days or payable in full within 90 days if not paid within the discount period.However, the customer had the right to return this machine to Yellow Company if it was unable to resell the machine before expiration of the 90-day period, in which case the customer’s obligation to Yellow Company would be cancelled. In the net sales for the year ended December 21, 2016, what amount should be included for the sale of the machine?

In: Accounting

QS 14-7 Recording bond issuance and discount amortization LO P1, P2 Sylvestor Company issues 10%, five-year...

QS 14-7 Recording bond issuance and discount amortization LO P1, P2

Sylvestor Company issues 10%, five-year bonds, on December 31, 2016, with a par value of $110,000 and semiannual interest payments.

Semiannual Period-End Unamortized Discount Carrying Value
(0) 12/31/2016 $ 8,200 $ 101,800
(1) 6/30/2017 7,380 102,620
(2) 12/31/2017 6,560 103,440


Use the above bond amortization table and prepare journal entries to record

(a) the issuance of bonds on December 31, 2016

(b) the first interest payment on June 30, 2017

(c) the second interest payment on December 31, 2017.
  

In: Accounting