Reference no: EM13322763
Create an application to manipulate an array of student record objects. A student record will consist of a name (first, middle, and last), an ID number (9 numeric digits, cannot be more or less), an address (street, city, state, and 5 digit Zip code), and a phone number (3 digit area code and 7 digit number). The application will support an array of students. The user will be allowed to enter records from the keyboard, sort records by either name (last, first, middle) or by ID, save the records to a disk file (name supplied by user), and read the records from a disk file (name again supplied by user).
Create a fixed length string that must check that the length of the string is the required length. The fixed length class should be done as a template with the number of characters as the template argument. From this fixed length string, derive a class to hold digits of a fixed length.
Create component classes as necessary to use together to implement the student record class.
Use either the array template created in an earlier lab to handle the array or you may use the vector class from the STL to handle the array of student record objects.
The maximum number of students will be 25 (it may be less).
Explain aqueous solution containing sodium iodide
: Iodine is prepared both in the laboratory and commercially by adding Cl2(g) to an aqueous solution containing sodium iodide: 2NaI(aq) +Cl2(g) arrow I2(s) +2NaCl(aq) How grams of iodide, NaI, must be used to produce 55.6 g of iodine, I2
|
Find counter examples to each of these statements
: if a = b(mod m) and c=d(mod m); a,b,c,d,m are integers; c,d>0 and m=> 2, then a^c = b^d(mod m)[note: every = should be triple equal]
|
Write a code using greedy best first search
: Write a code using Greedy Best First Search and A* in Java language to find the shortest path in Romania path to Bucharest
|
What is the range of water contents of the in-situ soil
: The specifications for a project specify that the in-situ soil must be compacted to 98% of its maximum Modified Proctor Density. What is the range of water contents of the in-situ soil that will meet this criteria
|
Create component classes as necessary to use together
: Use either the array template created in an earlier lab to handle the array or you may use the vector class from the STL to handle the array of student record objects.
|
Compute and plot the water surface profile upstream of lake
: A rectangular channel leading from an upstream lake has a bottom width of 20 ft, bottom slope of 0.0002, a Manning roughness factor of 0.016, a discharge of 403 cfs, and normal depth of 6.24 ft.
|
Propane may be explain by the chemical equation
: The combustion of propane may be described by the chemical equation. C3H8(g) + 5O2(g) arrow 3CO2(g) +4H2O(g) How many grams of O2(g) are needed to completely burn 95.5 g of C3H8(g)
|
Determine the normal depth and the froude number for q
: A trapezoidal channel lined with d50 = 10 cm has a bottom width of b = 1.2 m, side slopes of m = 3, and a longitudinal bottom slope of S0 = 0.008. Determine the normal depth and the Froude number for Q = 1.4 m3/s.
|
Describe how a race condition is possible
: Describe how a race condition is possible and what might be done to prevent the race condition from occurring.
|