Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Part - 1
Implement the following algorithm in C# by creating class Student. 

Data members include studFirstName, studLastName, studExam1, studExam2, studExam3,

and studAvg.

Methods should include get and set for all data members listed above.

Create a stud objects and find out his/her final grade, studAvg.

Submit source and run window as a zip file in assignment box.

start
declare variables
print "Enter student first name"
input studFirstName
print "Enter student last name"
input studLastName
print "Enter score for exam 1"
input studExam1
print "Enter score for exam 2"
input studExam2
print "Enter score for exam 3"
input studExam3
compute studScore = studExam1 + studExam2 + studExam3
compute studAvg = studScore / 3
print "Student's Final Grade"
stop

Part - 2
Create a gradStudent class which Inherits from Student class created earlier.

The gradStudent class should include the following data members:

string bsDegreeName //BS degree name

float bsGPA //BS GPA

string ProgName //Master's program name

Also create two constructors one of which is the default constructor.

Test out your gradStudent class by creating one graduate student object.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M979125

Have any Question?


Related Questions in Computer Engineering

Problem belowwrite a program that uses a function that

Problem below: Write a program that uses a function that returns a number between 1 and 6. Use this function to simulate the roll of a die. Allow the user to specify the number of trials and then tabulate that number of ...

A country has a total of three cities and city a has a

A country has a total of three cities and city A has a population of 550,000 and city B has a population of 200,000 and city C a population of 10,000. Sixty physicians in the country. The per capita demand for medical ca ...

1 a cpu manufacturing company knows based on the machines

1. A CPU manufacturing company knows, based on the machines working at maximum productivity, that 90% of the CPU's coming off the line meet quality standards. The quality control inspector pulls 25 CPU's off the line to ...

Why is formative evaluation importantprovide at least three

Why is formative evaluation important? Provide at least three reasons for using it. What is the difference between formative and summative evaluation? Provide any two types formative evaluation and two types of summative ...

Referring to myerss article there is a quote from stu card

Referring to Myers's article, there is a quote from Stu Card on page 52.This represents 1998's reality and vision for HCI research. Do you think that this vision explains innovation and research in HCI 1998-2017? Researc ...

Decision support systems dss what sorts of dss tools do you

Decision support systems (DSS). What sorts of DSS tools do you use at your work - e.g., what-if analysis, sensitivity analysis, scenario analysis, goal-seeking analysis, optimization analysis, etc.? Even if you don't use ...

1 what is the purpose of exclusive gates such as the xor

1. What is the purpose of exclusive gates such as the XOR and XNOR? 2. What function do these gates perform?

Question suppose that you discover that ram addresses

Question : Suppose that you discover that RAM addresses 000C0000 to 000C7FFF are reserved for a PC's video adapter in a 32-bit computer. How many bytes of memory is this?

The marginal revenue and marginal cost functions for a

The marginal revenue and marginal cost functions for a monopolist firm that mines diamonds are given by:

A real estate office manages 50 apartment units when the

A real estate office manages 50 apartment units. When the rent is $550 per month, all units are occupied. However, for each $55 increase in rent per month, one unit becomes vacant. How many units should be rented to maxi ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As