GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Suppose you have been given the following programming proble…

Suppose you have been given the following programming problems, design a solution to solve the problem. One acre of land is equivalent to 43,560 square feet. Design a program that asks the user to enter the total square feet in a tract of land and calculates the number of acres in the tract.Hint: Divide the amount entered by 43,560 to get the number of acres. 1, What programming designing tools would you use to solve this problem and how would you use them? (4 points) 2, Write the algorithm (step by step instructions) in plain English below. (6 points)    

Read Details

Specify the exact output of the following Java code. Specify…

Specify the exact output of the following Java code. Specify exactly what is output in the blanks below, one line in each blank. If nothing will appear on a line, type No output in that blank.   [l1]     [I2]   [i3]   [i4]

Read Details

Develop a program that calculates a student’s grade point av…

Develop a program that calculates a student’s grade point average (gpa) using the class and application described below.      Class: A Student class that stores the following:  the student’s id number the student’s name the student’s birth year the student’s gpa Include the following methods. Be sure to incorporate error checking, when appropriate. •       a default constructor, •       a second constructor that receives three parameters—the student’s id number , name and the year of birth •       accessor and mutator methods for the student id number, name and the student’s birth year, an accessor for the gpa, but no setter for the gpa •       a method named calculateGpa() that calculates and displays the gpa. The calculateGpa() method inputs the five (5) grades the student has earned this semester, which the user will enter on the keyboard as a numeric value (4 for an A, 3 for a B, 2 for a C, 1 for a D, and 0 for an F). The gpa is calculated by adding up all the grades and dividing the total by five (5). You MUST use a loop to input the grades and calculate the gpa. Be sure to use constants when appropriate.  Application: An application program that contains the main method. The main method must do the following, in the order shown below: •       create a Student object named student1 and initialize this object using the default constructor, •       create another Student object named student2 using the second constructor to initialize her student id number to “SR1234”, name to “Maria” and birth year to 2001, •       set the student id number for student1 to “FR9876” •       set the student name for student1 to “John”  •       set the birth year for student1 to 2000  •       print the student’s name for student1, and then calculate and print the student’s gpa •       print the student’s id for student2, and then calculate and print student’s gpa.   Extra Credit: This part of the problem is not required. However, any points earned on this part of the problem will be added to your exam score, improving your score. Each item in this part of the problem is worth the number of points indicated below. •       Write the code for an additional method in the application named printStudentInfo(), which receives a Student object as a parameter. The printStudentInfo() method should display the student id number, name age, and the gpa.      (6 points) •       Add code statements to the main() method to call the printStudentInfo() method twice, once for each of the objects created in the main() method.     (4 points)

Read Details

Translate: We have some blue jeans.                    blue…

Translate: We have some blue jeans.                    blue = azul

Read Details

What are the five features of Object-Oriented Programming? 

What are the five features of Object-Oriented Programming? 

Read Details

Listen to the audio and respond in English to the comprehens…

Listen to the audio and respond in English to the comprehension check questions that follow. Copy the questions into the text entry box.  Answer questions next to corresponding question.  You need to answer fully, but you need not answer in complete sentences. 1.  Where is Olivia from?   2.  Where does she work?   2.  What articles of clothing does she wear to work usually?   3.  What sport does she play?   4. What articles of clothing she wears while playing this sport?   5.  What does she say about her shopping preferences?  Be as thorough as possible in your response.    

Read Details

In Spanish, identify the vocabulary from the module describe…

In Spanish, identify the vocabulary from the module described below. Es una forma de pago.  No es un cheque.  Es de plástico.

Read Details

Translate: The shoes are inexpensive.

Translate: The shoes are inexpensive.

Read Details

Translate: The coat is expensive!  

Translate: The coat is expensive!  

Read Details

Draw class diagram for Dog class described below.  The Dog c…

Draw class diagram for Dog class described below.  The Dog class includes an attribute named breed and an attribute named weight. The class also includes a default constructor initialize both attributes to empty String and value 0.0; an overloaded constructor that has a parameter for the breed attribute followed by the parameter for the weight attribute;  and accessor and mutator methods for breed and weight. 

Read Details

Posts pagination

Newer posts 1 … 37,113 37,114 37,115 37,116 37,117 … 58,758 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top