C++ programming

   

Payroll Lab

You will be taking in a file (payroll.txt) which details a number of departments (at least 1) and in each department are a set of employees (each department will have at least 1 employee or it would not appear on the payroll sheet). Your job is to read the file in separate out each employee and calculate the total values (hours, salary, number of employees) for each department and in each category (F1, F2, F3, F4). In your final submission please include the .cpp file which should work for any kind of payroll file I supply (which will naturally match the format of the examples below). Be sure to indicate in your submission file if you have attempted any of the bonus points .

   

An example file (note that your program needs to be able to handle any file formatted in a similar way):

The IT Department
Bill 8 hours 20 minutes 7hours 8hours 30 minutes 9hrs 10min 57 minutes F1
Betty 8hrs 8hrs 30min 7hrs 5min 8hrs 7hrs 10min F2
Brandon 10hours 10hours 5 minutes 9 hours 5 hours 55 minutes 9 hours 5 minutes F2
Brad 9hrs 8hrs 10hrs 12min 9hrs 4min 8hours 6min 3hrs 24min 1hr 6min F4

The Sales Department
Kyle $24,000 0.105 F3
Tyler $18,203 0.085 F3
Konner 8hrs 6hrs 5min 7hrs 6 hrs 9 hrs 8 min F2
Sam $30,011 0.045 F3
Kent 9hrs 8hrs 1min 9 hrs 7hrs 5 min 8 hrs 55min 6min 1hr F4

The Overseas Department
Jim $24,000 0.105 F3

Frank 7 hours 10 minutes 6hours 1 minute 1 hour 50 minutes 8hours 10min 1hour 34 minutes F1
Lester 8hrs 5min 8hrs 30min 7hrs 5min 8hrs 7hrs 10min F2
EOF

   

First there is the name of the employee, followed by a list of times (for f1, f2 and f4). The times are reported by a number of different systems and the hours and minutes may be represented differently. Hours and hrs, or Minutes an mins. The final times should be rounded to the nearest half hour, where for example 2 hours and 15 minutes would be 2.5 hours. The times may specify the hours and minutes or just one or the other. And yes they could only work for a few minutes (maybe they only run into work to sign a paper or something). The last in the row after the hours comes the pay grade (F1, F2, F3, F4). The number of hours recorded is based on the pay grade of the employee. F1 and F2s will have 5 numbers for their hours. F3s a bit different since they are commission based where a sales amount and a commission percentage is given. F3s are also assumed to work 30 hours if their commission is 10% or below and 40 hours if their commission is above 10%. F4s will have 7 numbers (as they are on-call during the weekend). Each of the pay grades will also have different pay calculations which are as follows:

F1 = The total number of hours * 12.15
F2 = (The total number of hours – 35) * 18.95 + 500
F3 = The total sales amount * the commission rate
F4 = The first 5 hourly totals * 26.55 + Any weekend hourly totals (the last 2) * 39.75

Your output to the screen should start with the department name, followed by the total pay for all of the employees, then the total number of hours, and the total number of employees. After that you should have a breakdown of each category of employee: F1 total pay and total hours, F2 total pay and total hours…

Each department will have at least 1 employee and each department will contain the word “Department.”

The IT Department
Total Salary: $##.##
Total Hours: ###
Total Number of Employees: ##
Roster: Bill, Bob, Betty, Brandon, Brad 

   

F1:
Total Salary: $##.##
Total Hours: ###
Total Number of Employees: ##

F2:
Total Salary: $##.##
Total Hours: ###
Total Number of Employees: ##

F3:
Total Salary: $##.##
Total Hours: ###
Total Number of Employees: ##

F4:
Total Salary: $##.##
Total Hours: ###
Total Number of Employees: ##

   

The Sales Department
Total Salary: $##.##
Total Hours: ###
Total Number of Employees: ##
Roster: Kyle, Tyler, Konner, Sam, Kent

   

F1:
Total Salary: $##.##
Total Hours: ###
Total Number of Employees: ##

F2:
Total Salary: $##.##
Total Hours: ###
Total Number of Employees: ##

F3:
Total Salary: $##.##
Total Hours: ###
Total Number of Employees: ##

F4:
Total Salary: $##.##
Total Hours: ###
Total Number of Employees: ##

   

Before coding your solution, take the time to design the program. What are the possible things that the file can have that you need to anticipate? What are the actions that you need to take (read the file, add up hours…)? Are those actions things that could be placed in separate functions? What about the function – can you guess some of the things that will happen? Such as, using substring to pull out part of a line in the file maybe using stoi to convert a string to an integer to add it to the total or creating variables to hold the employee type you find before passing it to another function. Finally, how are these functions called, what is the order and what information is passed to and from? 

Scoring Breakdown

25% program compiles and runs
30% program reads in and calculates the figures for output
10% the program is appropriately commented
35% outputs the correct information in a clear format 

5% bonus to those who can output the F# responses in a columned output like that shown above.
5% bonus to those who do a chart comparing the data at the end to show the relation between the pay grades and the amount of salary spent in each (they style of chart is up to you and more points may be given for more difficult charts (like a line chart):

   

B Department
F1 – 00000000
F2 – 000000
F3 – 00000
F4 – 000000000000 

K Department
F1 – 0
F2 – 0000
F3 – 0000000000
F4 – 0000000 

  

Or event something like this instead:

0
0 0
0 0 0
0 0 0 0
0 0 0 0
F1 F2 F3 F4

Plain View Doctrine

 Describe the plain view doctrine, and why it has such a significant impact on digital forensics? What are three approaches to determining whether the doctrine applies to a specific case? 2-3 pages APA format

Sports blogging website

 

Each team collectively prepares and one team member (for the entire team) submits one set of POWER POINT SLIDES that contains the following, and a video presentation:

1.      The following documents:

Project Charter:  (see Slide 24, CH03.ppt) Project name, purpose, and key participants are important. You can list for example what each member brings into the table (who has expertise or interest on what?). You can also include other relevant information. Make sure that every member has enough exposure to all phases of software development.

Project Scope Document: (see Slide 28, CH03.ppt) The project description must include functional requirements: list of functions the system will perform for the users. Also, list system capabilities, and other relevant information. The project scope must be proportional with the team-size. It should include non-trivial functions that require use of advanced data structures, algorithms, and/or new technology.

Project Schedule:  Present your schedule in a Gantt Chart with milestones. You need to be realistic. You start your project today, you complete planning and analysis phases by the end of this semester. You continue your project in Spring 2022 in CSCI 440 course. You will complete design and implementation phases in Spring 2022. Please note that we set the date for project completion the first week of May 2022 (if your team plans to take CSCI 440 in Summer 2022, change dates accordingly).

MILESTONES (including but not limited to):
a) Analysis Review
b) Design Review
c) Integration Testing (Start, and Completion)
d) User Manual
e) Project Presentation (Tentatively set for lecture on First Week of May 2022)

2.      Object-oriented UML models for your project’s REQUIREMENT ANALYSIS that includes the following (see CH05 slides 45-56, and CH07): 

a)      Domain Class Diagrams.

b)      Use Case Diagrams

c)      Activity Diagrams.

d)      System Sequence Diagrams.

e)      State Machine Diagrams (if applicable).

3.      Present your entire power point slides in a video of length not exceeding 20 minutes. Allocate more than half of the time on your UML diagrams in your systems analysis phase. Ideally all team members participate in this video presentation. It can be a recorded ZOOM meeting, for example. Any other similar video presentation is fine.

1 Race Horse -h Horse -length: int +Race () +Race (length : int) +printLane(horseNum : int) : voi +start() void -position: in

java : Question: Overview Use the principles of Object Oriented Design (OOD) and Object Oriented Programming (OOP) to re-build the horseRace

 Java 

Question: Overview Use the principles of Object Oriented Design (OOD) and Object Oriented Programming (OOP) to re-build the horseRace assignment using object-oriented programming. Each horse will be an object, and the race will be another object that contains a list of horses and manages the race. Along the way, you will experiment with UML, create classes,

This question hasn’t been solved yet

1 Race Horse -h Horse -length: int +Race () +Race (length : int) +printLane(horseNum : int) : voi +start() void -position: inOverview Use the principles of Object Oriented Design (OOD) and Object Oriented Programming (OOP) to re-build the horseRace assignment using object-oriented programming. Each horse will be an object, and the race will be another object that contains a list of horses and manages the race. Along the way, you will experiment with UML, create classes, review access modifiers, build member variables, add access methods, and create constructors. The Project Build a program that simulates a horse race. The race works just like the last assignment, and the user may not ever see the difference. But this time, the underlying design will use objects. You will have two objects in the game. There will be an array of five horse objects. The horse will ‘know’ how to advance according to a random flip, and to return its position. The other primary entity in this game is the race (or the track, if you prefer.) This object will contain a series of horses. It will also have the ability to start the race. When the race is running, the race class will ‘tell’ each horse to advance, and will print out a track diagram showing the relative positions of the horses. In this case we may do automated testing against your program. In order to accommodate this you will prompt (ask for input) for a random seed and use it to seed your random number generator. This will allow you to test your program against several seeds. And we may test your program with a series of these random seeds. While this will not be your entire grade, but your ability to pass these tests could be a consideration in your grade. This is a common industry practice and one we will try to introduce you. Note that you will not need the automation feature nor a GUI. This just gives you an idea of the race concept. Code Organization While you have already written this program in a procedural fashion, this program is a perfect candidate for the object-oriented paradigm

HIPAA, PII, and PHI Training

 This assignment will be submitted to Turnitin®.Instructions

The human resource department is updating its HIPAA Basic Training for Privacy and Security course. As a security analyst for the hospital, you have been tasked with covering the topics in the training related to the HIPAA security rule and the information that hospital staff need to know regarding personally identifiable information (PII), personal health information (PHI), and electronic personal health information (ePHI) to comply with federal regulations.

This week, you will submit your PowerPoint presentation. The presentation should include narrative voice overlays for each slide. Include one to two slides (i.e. for a total of 4-8 slides) for each bullet point below explaining the following:

  • HIPAA Security Rule (1-2 slides )
  • HIPAA, PII, PHI, and ePHI Definitions (1-2 slides )
  • Safeguarding of PII, PHI, and ePHI (1-2 slides )
  • Disclosures of PII, PHI, and ePHI (1-2 slides )

Note:

The slide count of your presentation does not include the title slide, table of the content slide, introduction slide, and references slide. Include 2-3 quality references to support your assertions.

Use the given PowerPoint template in the project template section under the content area. You may also want to refer to the HIPAA Learning Resources from last week.

How Will My Work Be Evaluated?

In this training guide, you will demonstrate how to integrate your IT skills in an organizational setting. You’ll be combining your technical skills with effective communication techniques to provide learning resources for the client/customer.

You will not be evaluated on the voice recording quality.

The following evaluation criteria aligned to the competencies will be used to grade your assignment:

  • 1.2.2: Employ a format, style, and tone appropriate to the audience, context, and goal.
  • 1.3.3: Integrate appropriate credible sources to illustrate and validate ideas.
  • 1.4.2: Use vocabulary appropriate for the discipline, genre, and intended audience.
  • 2.3.3: Explain inferences and deductions that follow logically from the evidence provided.
  • 12.1.3: Communicate policies, processes, and/or procedures to stakeholders.
  • 12.3.1: Select controls.
  • 12.3.2: Describe the implementation of controls.
  • 12.3.3: Explain how to assess controls.
  • 12.9.1: Describe organizational compliance with government legislation that impacts technology.
  • 12.9.2: Explain organizational compliance with industry regulations.

Discussion 9 (E-commerce)

250 words+

As manager of networks and computing operations for Fashion Land, a retailer of women’s clothing and accessories, you have seen the business grow from seven stores in Kansas City to over 100 stores located throughout the Midwest. Fashion Land’s marketing research team realizes that the majority of its target customer group—females between the ages of 13 and 35—are regular users of the Web. The researchers have asked you for help in developing an electronic commerce initiative for Fashion Land. Alone, or in a team assigned by your instructor, do the following:

a. Outline a business strategy for Fashion Land’s online business initiative. The outline should include a list of specific objectives and the costs and benefits of accomplishing each objective. The outline should also include recommendations regarding what to outsource and what staff should be hired.

b. Prepare a memo that lists and briefly describes the major hardware, software, security, payment processing, advertising, international, legal, and ethical issues that might arise in the development of this electronic commerce site..