ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 27 May 2017 My Price 8.00

Computer Programming II (CS141)Assignment

  • Answers to questions 1, 2, 3 and 4 must deliver in a document file such as (.doc; Microsoft Word).
  • Answers to questions 5 must deliver in java format (.java). since black board does not accept the extension of .java you should use winZip, winRar, or any Archive application.
  • For questions 4 and 5 you must follow the Some Style Issues in Java(see blogs)

 

Computer Programming II (CS141)Assignment 1•Deadline: Saturday 20/02/2016 at 11:59 pm•Submission has to be made via the submission folder assigned by your Instructor onBlackboard.•No Email Submission will be accepted.•Late submission will result in ZERO marks.•Identical work will result in ZERO marks.•This Assignment worth 5 marks.Q1. In the waterfall model and a programmer at the implementation stage noticed thedesign need to be changed to have high performance software. Would it be possible tochange or add some specifications, justify your answer?(0.5 Marks)Q2. Can you convert a superclass reference into a subclass reference?A subclass referenceinto a superclass reference?If so, give examples.If not, explain why not.(0.5 Marks)Q3. Draw the state machine diagram for the following scenario?Consider a copy of book in a library that can go through several states: available, on loan,reserved, etc. Suppose, for simplicity, we put reservations on a copy rather than a book.(1 Mark)Q4. Write the code to declare the trivial class inside a method?(1 Mark)Q5.Consider the following problem description and write java code.(2 Marks)A.Consider a superclass PurchaseItem which models customer’s purchases. This class has:1.Two private instance variables name and unit price.2.One constructor to initialize the instance variables.3.A default constructor to initialize name to “no item”, and unit price to 0.4.A method that returns the price.5.A toString method to return the name of the item followed by @ symbol, then the unitprice.

Attachments:

Answers

(11)
Status NEW Posted 27 May 2017 03:05 AM My Price 8.00

-----------

Attachments

file 1495857105-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)