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 26 May 2017 My Price 9.00

1411246 – Object Oriented programming with Java

1411246 – Object Oriented programming with Java

Homework #1

Using eclipse

 

 

 

Page|11411246 – Object Oriented programming with JavaHomework #1Spring 2015/2016Due Date: Mar. 6, 2016Objectives:Learn drawing techniques on an appletUse Graphics2D APIHow to complete this HW:1.First read and analyze each problem; then implement both problems in a project calledHW1.2.For each exercise, insert comments on ID, Name, and HW#.3.Submit the zipped solution on BB link. The name of each file should beHW1_q#_myID_.java.For example, HW1_q1_u00011111.java (q? stands for question #).Note on Honor Code:You must NOT look at previously published solutions of any of these problemsin preparing your answers. You may discuss these problems with other students in the class (in fact,you are encouraged to do so) and/or look into other documents (books, web sites), with the exceptionof published solutions, without taking any written or electronic notes. If you have discussed any of theproblems with other students, indicate their name(s) in the comments section at the top of yourprogram. Any intentional transgression of these rules will be considered an honor code violation.1.City Scape AppletYou have been hired to design a city scape of buildings. This is a competition! Top city scapes inthe class will receive extra credit on this assignment. Get creative! Below is an example of whatyou could do.Grading will be based on adherence to the following specifications:You must name your fileCityScape.javaexactly.The dimensions of your applet must be at least 500 pixels in each direction and no morethan 800 pixels in each direction.You must add a comment at the top of your code stating that you are the author, thedate, ID, name, and HW number.You must print your first name on top of one of the buildings.You must use at least three different colors (you can pick the colors).You must color in the background - do not usesetBackgroundinstead, usefillRectandfill the entire dimensions of your applet before you start drawing.Create your own drawing; use the applet output as a guideline.You must use each of the following methods at least oncea.drawLineb.drawArc or fillArcc.drawRect or fillRectd.drawOval or fillOval as a circlee.drawOval or fillOval as an ellipse (non-circle)f.drawPolygon or fillPolygonYou may also use drawString and drawImage if you like.

Answers

(11)
Status NEW Posted 26 May 2017 07:05 AM My Price 9.00

-----------

Not Rated(0)