What action would you like to implement

Assignment Help C/C++ Programming
Reference no: EM131783707

Program # 1

1. Show StudentsADT interface

2. Create a Course class with the following methods: default constructor, overloaded constructor, copy constructor, setCourseName, setSectionNumber, setNumberOfCredits, setLink, getCourseName, getSectionNumber, getNumberOfCredits, getLink, toString

3. Create a Students class with the following methods: default constructor, overloaded constructor, copy constructor, setMaxNumberOf Students, add5tudent, addCourse (pass 2 args), dropCourse (2 args), toString

4. Create an Inner class called Student inside Students class with the following methods: default constructor, overloaded constructor, setID, setCourses, getID, getCourses, addCourse (pass 1 arg), dropCourse (1 erg), toString

5. Create a Studentsbemo class by adding the students with Ms: 1111, 1234, 2357

- Display the following menu:

"What action would you like to implement?"

1: Show all Students
2: Add a Course
3: Drop a Course
9: Quit

 

Program # 2

1. Show PolynomialADT interface

2. Create the PolyNodeClass with the following methods: default constructor, overloaded constructor, copy constructor, setCoefficient, setExponent, setNext, getCoefficient, getExponent, getNext

3. Create the Polynomialbata5trucClass with the following methods: default constructor, overloaded constructor, copy constructor, isEmpty, setFirstNode, getFirstNode, addPolyNodeFirst (PolyNode is created and set to beginning of polynomial), addPolyNodeLast, addPolyNode (PolyNode is set to the end of polynomial), addPolynomials, toString

4. Create the PolynomialDemoClass: instantiate and initialize Polynomialbata5trucClass objects pl, p2, p3, p4

Add terms to the polynomials (pass 2 arguments to the method: coefficient and exponent- for example: pl.addPolyNodeLast(4, 3);)
Print out pl, p2 and sum of the polynomials AND p3, p4, and sum of the polynomials

Use: p1 = 4x^3 + 3x^2 - 5;  P2= 3x^5 + 4x^4 + x^3 - 4x^2 + 4x^1 + 2

AND

p3= -5x^0 + 3x^2 + 4x^3 ; p4 = -4x^0 + 4x^3 + 5x^4

Reference no: EM131783707

Questions Cloud

Analysis based off of global expansion for company nucor : Provide a cost benefit analysis based off of global expansion for the company Nucor.
Determine the influence coefficients for the mass system : Determine the influence coefficients for the three-mass system of Figure and calculate the principal modes by matrix iteration.
Weighted average cost of capital : Calculate the weighted average cost of capital if the firm has a cost of equity of 12%, a cost of debt of 5%, and a tax rate of 30%.
Difference in? reverse logistics-closed-loop supply? chains : Which of the following is NOT a key difference between? "reverse logistics" and? "closed-loop supply? chains"?
What action would you like to implement : Create a Students class with the following methods: default constructor, overloaded constructor, copy constructor, setMaxNumberOf Students, add5tudent, addCours
Compute kimm total standard cost per unit : Compute Kimm’s total standard cost per unit.
Explain how net income could increase for nanotech : Explain how net income could increase for NanoTech while its operating cash flows decrease. Your answer should include three illustrative examples
Determine the three natural frequencies and modes : Using matrix iteration, determine the three natural frequencies and modes for the cantilever be am of Figure.
Capital market expands the money supply for borrowers : The international capital market expands the money supply for borrowers by providing access to international sources of capital.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  What is the difference between protected and private members

What is the difference between protected and private members? How do the default constructors and destructors behave in an inheritance hierarchy? What is a virtual member function?

  What are the operations done on tupples

What are tuples in c++? What are the operations done on tupples?

  Create your own while-end repetition structure

Create your own While-End repetition structure. You decide the theme. You should provide both the pseudocode and the flowchart of your example. Be sure to provide an overview of what your repetition structure is doing. Provide a walk-through of yo..

  What are the values of queuefront and queuerear

What are the value of queueFront and queueRear after removing an element from the queue? Also what was the position of the removal queue element?

  Smallest sequence of numbers in the array

Write a function called sum_smallest_sequence() that accepts an array of  signed  integers and the  number  of items in the array as arguments, and returns the sum of the smallest sequence of numbers in the array.

  Create the program which converts fahrenheit to celsius

Create the following program which converts Fahrenheit to Celsius. Your program must have the following functions: Read integer Fahrenheit temperatures from the user.

  When and why would you use each type of array

What is the difference between two parallel arrays and a two-dimensional array

  Convert code of python in c

Hello , I have a code in python and I need to convert it in C. If you are an expert contcat with me.

  What is encapsulation?

What is encapsulation? Why encapsulate in object oriented development?

  The possible responses are a b c or d a file has been

the possible responses are a b c or d. a file has been created that contains the following1st line the answer key

  Calculate the celsius equivalent of a fahrenheit temperature

Construct a program that allows you to calculate the Celsius equivalent of a Fahrenheit temperature.

  Design a modular program that asks the user

A retail company must file a monthly sales tax report listing the total sales for the month, and the amount of state and county sales tax collected. The state sales tax rate is 4 percent and the county sales tax rate is 2 percent. Design a modular..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd