Please see attached Document
Please see attached Document
Please follow the to do word document and Risk assessment.
*** Here is the topic I have selected risk assessment report on the Healthcare system for Report 1. This is a tier 3 assessment*** Please continue on Report 1 doc. Please make sure to review the todo word document.
I have mentioned several times that you will be doing a team project this semester…lots to do in the project and lots to manage…
You have all worked on team projects in the past…and some of you (okay, most of you…okay, all of you) have expressed concerns over doing a team projects…and you have talked about the many issues and problems that go along with a team project…
But we won’t let that happen this semester!…because this semester, we have the choice of managing the project as with waterfall or agile…
For this assignment, given what we have discussed about waterfall and agile development, tell me which process do you think would work better in school projects – agile or waterfall?…explain why you think one will work better, and why you think the other will not work as well…be VERY SPECIFIC regarding SPECIFIC class projects and SPECIFIC class project tasks, and how they line up to either agile or waterfall processes…use your past experience with group projects as a reference…
DO NOT GIVE ME DEFINITIONS…
Again, when you have completed this, you should have 1 to 2 pages…if you have any questions about anything, just let me know…
The results from the mayor’s race have been reported by each precinct and you are to design and write a class called VotingResults to tabulate and display results. It should have at least the following methods:
A method displayReport to print out the table of votes as seen below.
A method displayTotals to compute and print the total number of votes received by each candidate.
A method displayWinner to determine the winning candidate, if any. If a candidate received over 50% of the votes, the method should print a message declaring that candidate is the winner. If no candidate received over 50% of the votes, the program should print a message declaring that a run-off must occur.
A constructor that takes a data file (as a Scanner object) filled with data to use for the class variables. It invokes computeTotals, which computes the total votes per candidate (so displayWinner will have accurate results).
The data is set up as follows:
First line of data – the number of candidates and number of precincts
Then one candidate name (one String) per line
Next bunch of lines of data – integers with number of votes for each candidate per precinct respectively
Sample data:
4 5
ANDERSON
BAKER
JONES
WHITE
192 147 186 114 267
48 90 12 21 13
206 312 121 408 382
37 21 38 39 29
Sample output from some client program invoking displayReport, displayTotals, and displayWinner:
PRECINCT ANDERSON BAKER JONES WHITE
1 192 48 206 37
2 147 90 312 21
3 186 12 121 38
4 114 21 408 39
5 267 13 382 29
TOTALS 906 184 1429 164
THE WINNER IS JONES
Start writing this class by determining the necessary instance variables. Then write the constructor. Finally, write the other methods.
Welcome to the Interest Calculator
Enter loan amount: 520000
Enter interest rate: .05375
Loan amount: $520,000.00
Interest rate: 5.375%
Interest: $27,950.00
Directions:
Create a new application and name it LastName_Assignment2.
Create the Scanner object.
Get the loan information from the end user by using the System class.
Calculate the interest amount by using the BigDecimal class to make sure that all calculations are accurate.
Format the interest rate, interest amount and loan amount and interest by using the NumberFormat abstract base class. It should round the interest that’s calculated to two decimal places, rounding up if the third decimal place is five or greater. The value for the formatted interest rate should allow for up to 3 decimal places.
Display the results by using the System class.
Assume that the user will enter valid double values for the loan amount and interest rate.
The application should continue only if the user enters “y” or “Y” to continue.
Question B
Test the Invoice Application with an invalid total like $1000 and include the dollar sign. This should cause the application to crash.Take a screenshot of the error message and paste it into your assignment.
Study the error message and note the line number in the statement in the InvoiceApp class that caused the crash. Then click on the link to that line of the code. This should open the InvoiceApp.java file in the code editor and highlight the line of code that caused the crash and take a screenshot and paste it into your Word document.
Figure out why the application crashed because you entered in the $1000 and describe how it can be fixed in your assignment.
Final blog post:
Discuss how your selected tech topic connects to the fundamentals of information technology covered in this course.
(Fundamentals: History and future of computers (Weeks 1 and 4)
How computers operate,
Major hardware components and functions of a modern computer system,
Programming languages,
Applications software,
Database management,
Network architecture,
Network management and security)
Explain how your chosen tech topic relates to the concepts of information technology and computer science, including the history of computers and the means by which computers operate.
Evaluate how your chosen tech topic relies on the major hardware components and functions of a modern computer system.
Explain how your chosen tech topic uses programming languages and program execution methods.
Analyze the role that application software plays with regard to your chosen tech topic.
Describe how your chosen tech topic relates to the basic concepts of database and database management.
Illustrate how the basic concepts of network architecture, management, and security influence your chosen tech topic.
Support your statements with evidence from sources.
Compare and contrast the problems associated with file systems with the disadvantages of database systems.
Textbook Material:
Printed Textbook: Database Systems: Design, Implementation, and Management, 13th
edition, Coronel and Morris.
Chapter 1 – Database Systems
Identify some of the pitfalls of file-based storage and introduce some of the advantages gained when using a database.
Chapter 2 – Data Models
An overview of the data models and discussion of the terminology and basic structural concepts.
Problem
Design and code a class that will be used to encapsulate a collection of “segment” objects.
Write the code for a class called a “disk” which may contain any number of segment objects, and a string (maximum of 2 characters) indicating the mode (i.e. “w” (write), or “a” (append)) that this disk may be accessed with.
You must modify the attached “segment” class to include the following constructors, each calling their appropriate initialize( ) function(from the attached segment files):
segment( )
segment(const char [ ][2000], int)
As well, you must change the following functions:
int match(const char [ ]);
voidget_word(char [ ], int);
charget_char(int, int);
which were not declared as const functions previously, into constant member functions, by adding the keyword const after their declaration in both the “segment.h” and “segment.cpp” source files.
A “disk” has the following publicly accessible MEMBER functions:
disk(intnum_of_segments, const char *mode)
This constructor allocates enough memory for the disk to storea series of up to “num_of_segments” segments, and sets thedisk’s access mode to the constant string stored in “mode”.
If the string in “mode” is anything other than “w”, or “a”,the disk’s mode must be set to “w” (write).
disk( )
This constructor allocates enough memory for the disk to store
up to twenty (20) segments, and initializes the disk’s access
mode to “w” (write).
const char* get_mode( ) const
This function returns the disk’s access mode as a constant string.
segmentget_segment(intpos) const
This function returns the segment at position “pos”
(where a “pos” value of 0 means the first segment).
The function returns a default segment if “pos” does not reference
one of the disk’s properly initialized segments.
intget_segment_count( ) const
This is used to return an integer value representing the number of
segment objects that have been properly initialized.
const segment* get_all_segments( ) const
This function returns the array containing all of the disk’s
data segments.
int access(const char fname[ ])
This function will either write “w”, or append “a” data
(depending on the access mode) to the file whose name is
stored in “fname”, and return the number of charcters processed
(please see below for details about each access mode).
write:
For this operation, the function must write all of the data in eachof the class’s segments (one segment per line) followed by a newline.
Also, each word in the segment must be separated by a space ‘ ‘ when written to the file spaces and newlines each count as a single (1) character when written).
NOTE: This operation overwrites any data which the file may have
contained.
(see example below).
Assume a “disk” object consists of the following 3 segments:
words: 1 2 3 4 5 6 7 8 9 10
segment1: “”, “” “This”, “is”, “OOP244”, “”, “”, “”, “”, “”
segment2: “Isn’t”, “this”, “”, “”, “easy?”, “”, “”, “”, “”, “”
segment3: “”, “”, “”, “Yes!”,””, “”, “”, “”, “”, “”
Then the function would write the following to the file:
This is OOP244
Isn’t this easy?
Yes!
and return a value of: 37
15 for (line 1) +
17 for (line 2) +
5 for (line 3)
for a total of 37 charcters written to the file.
BE CAREFUL HERE!
Pay careful attention to the number of spaces and newlines written with respect to each segment!
append:
Exactly the same as “write”, except that data is appended to the end of the file instead of being overwritten.
operator+=
You must also be able to add segments to a disk by overloading the
+= operator which adds segments (on the right side of the operator)to the disk (on the left side of the operator), unless the disk is already full in which case nothing is done.
NOTE: This operator must return the newly modified “disk” object by value.
NOTE: Because “proper copies” of “disk” objects must be made, it will be necessary for you to include a copy constructor as well an equal operator overload to handle situations when “disk” objects are returned by value or when they are assigned to one another.
You must also code a destructor to remove any memory which may have been dynamically allocated.
A main program (a3main.cpp), which will assume that your “disk” class is declared in a file named “disk.h” and should be compiled and linked with the code for the “disk” (which presumably will be in “disk.cpp”), will test your class to see if it works properly.
Note: The file assign1.c (which searches through the constant null-terminated string “core” looking for the characters ‘1’ and ‘0’ which, when taken 8 at a time and convert to their numeric value in decimal, encode a meaningful ascii character, and inserts that character into the array “data”) attached will need to be executed as part of the solution.
a3main.cpp and assign1.c must not be modified or the solution will be invalidated.