Project Requirements

  

Project Requirements

 

Part I Design ( 25 pts – data fields 1 pt, others 3 pts each) :

Design a class named Account that contains:

1. A private int data field named id for the account (default 0).
2. A private double data field named balance for the account (default 0).

3. A private double data field named annualInterestRate that stores the current interest rate (default 0). Assume all accounts have the same interest rate.

4. A private Date data field named dateCreated that stores the date when the account was created.

5. A no-arg constructor that creates a default account.

6. A constructor that creates an account with the specified id and initial balance.

7. The accessor and mutator methods for id, balance, and annualInterestRate.

8. The accessor method for dateCreated.

9. A method named getMonthlyInterestRate() that returns the monthly interest rate.

10. A method named withdraw that withdraws a specified amount from the account.

11. A method named deposit that deposits a specified amount to the account.
 

Part I – Testing

 

Use the following test program to create an Account object with an account ID of 1122, a balance of $20,000, and an annual interest rate of 4.5%. Then using the withdraw method $2,500 is withdrawn, and the deposit method is used to deposit $3,000. Finally the balance, the monthly interest, and the date when this account was created are printed.

 

import java.text.*;

public class TestAccount {

public static void main (String[] args) {

DecimalFormat fmt_twoDecimalPlaces = new DecimalFormat(“0.00”);

Account account = new Account(1122, 20000);

Account.setAnnualInterestRate(4.5);

account.withdraw(2500);

account.deposit(3000);

System.out.println(“Balance is ” +

fmt_twoDecimalPlaces.format(account.getBalance()));

System.out.println(“Monthly interest is ” +

fmt_twoDecimalPlaces.format( account.getMonthlyInterest() ));

System.out.println(“This account was created at ” +

account.getDateCreated());

}

}

If you have written the Account class correctly, you should see the following displayed:

 

Balance is $20500.00

Monthly interest is $76.88

This account was created at < day and time that you correctly run the program> ( e.g.Wed Aug 15 15:22:31 CEST 2012) 

Part II Design using inheritance:

 

( 30 pts)Next create two subclasses of the Account class – one for the checking account (CheckingAccount) and the other for the savings account(SavingsAccount). A checking account has an overdraft limit. We will assume that you are not allowed to withdraw from a savings account until a preset date is reached. Both of the subclasses have a toString() , which return a String indicating the balance of the specific account.

 

( 25 pts) Finally write a test program that creates objects of CheckingAccount and SavingsAccount. Ask the user to deposit and withdraw arbitrary amount from the accounts. Be sure to check that the input is a valid input before using it. Finally, invoke the toString() method of each object to test the final balance of the objects. Please also make sure that you ask the user whether he/she would like to continue.

Artificial Intelligence

defining what is artificial intelligence What is the history behind it and how can it benefit our society in the future. Provide examples and present your written findings. 

in APA format. You must include 3 scholarly reviewed references that are DIRECTLY related to the subject. 

Pages : 3 ( 1000 words)

Whistleblower Cybersecurity Crisis Training: Stakeholder Press Conference Exercise (Edward Snowden)

 

Whistleblower

Cybersecurity Crisis Training: Stakeholder Press Conference Exercise (Edward Snowden)

Purpose: This exercise is designed to give you practical experience in handling real-life cybersecurity threats or attacks for their organization. Through this exercise, you will better understand how the types of cyber-attacks described in class are applied, take a shot at forming policy solutions, and sharpen you communication skills.

Deliverables: Prepare a sample press packet.  This press packet should include the following items:

Press Release (1 page)

Short technical background sheet (1-2 pages)

•  This section should describe in more detail the technical issues of the problem at hand.  It may also include pictures and diagrams.

Frequently Asked Questions (1 page)

•  This section should anticipate questions other stakeholders or the media would ask in response to the problem and should provide your organization’s answers.

Preparation:

Read the material found via the links below. Additional research on stakeholder positions is strongly suggested as well. You may use any resource you deem necessary to prepare your statement, press kit, and for Q&A.

Potential roles:

There are two important stakeholder roles in this cybersecurity legal case. You may choose to take on one of two different roles:

•  US Citizens

•  U.S. National Security Agency

Select one of the following scenarios

Scenario: A 36-year NSA veteran, William Binney resigned from the agency and became a whistleblower after discovering that elements of a data-monitoring program he had helped develop — nicknamed ThinThread — were being used to spy on Americans.

William Binney FRONTLINE’s Interview Dec. 13, 2013.

Scenario: Mark Klein was among the first to expose the NSA’s domestic wiretapping efforts. The former AT & T technician watched the construction of the secret switching room at the telecom’s facility on Folsom Street in San Francisco

NSA Leak Vindicates AT&T Whistleblower

Scenario: Daniel Hale, a former National Security Agency (NSA) official has been charged with giving classified documents on drone warfare to a journalist.  Hale, 31, was indicted by a grand jury on five charges relating to the alleged leak. Each charge carries a maximum 10-year prison sentence. The US justice department said Hale was arrested.

Ex-NSA official charged with leaking classified drone documents

Scenario: Thomas Tamm stumbled upon the existence of a highly classified National Security Agency program that seemed to be eavesdropping on U.S. citizens. The unit had special rules that appeared to be hiding the NSA activities from a panel of federal judges who are required to approve such surveillance. Tamm exposed the Bush administration’s domestic warrantless eavesdropping program that intercepted private email messages and phone calls of U.S. residents without a court warrant.

The Whistleblower Who Exposed Warrantless Wiretaps

Whistleblower Facing Ethics Charges Over NSA Leak

Scenario: Edward Snowden leaked classified information from the NSA in 2013 when he was contractor employee for the CIA.  The documents disclosed global surveillance program by the NSA and the Five Eves Intelligence Alliance working with telecommunication companies and European governments.

Edward Snowden, Whistle-Blower

Assignment: Your assignment is to explore one of these incidents further, using your research to present it from the perspective of your assigned stakeholder. Your goal is to hold a press conference which explains the controversy and your organization’s future plans or suggested policy changes in response to it.

Stage 1: Strategic Use of Technology

  

As a business analyst in the Chief Information Officer’s (CIO’s) department of Maryland Technology Consulting (MTC), you have been assigned to conduct an analysis, develop a set of system requirements, evaluate a proposed solution, and develop an implementation plan for an IT solution (applicant tracking or hiring system) to improve the hiring process for MTC. This work will be completed in four stages, and each of these four stages will focus on one section of an overall Business Analysis and System Recommendation (BA&SR) report to be delivered to the CIO. 

Lab exercise

   

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 text if you have attempted any of the bonus points .

   

An example file:

The IT Department
Bill 8 7 8 9 7 F1
Bob 205103 0.08 F3
Betty 8 8 7 8 8 F2
Brandon 10 10 9 6 9 F2
Brad 9 8 10 9 9 4 1 F4

The Sales Department
Kyle 88840 0.105 F3
Tyler 105203 0.085 F3
Konner 8 6 7 6 9 F2
Sam 309011 0.045 F3
Kent 9 8 9 9 9 0 0 F4
EOF

An additional example file:

The Sales Department
Mike 5 6 1 3 5 F1
Mark 98103 0.115 F3
Jill 8 8 8 8 8 F2

Frank 106101 0.095 F3

Mark 76881 0.091 F3

Department of Records
Konner 8 6 7 6 9 F2
Tammy 7 3 7 2 8 F1

Anika 8 8 8 8 8 F2

Marta 1 0 0 5 2 F1
Kent 9 8 9 9 9 0 0 F4
EOF

   

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 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 * 11.25
F2 = (The total number of hours – 35) * 18.95 + 400
F3 = The total sales amount * the commission rate
F4 = The first 5 hourly totals * 22.55 + Any weekend hourly totals (the last 2) * 48.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% order the employees in the roster according to their F status, F1’s first, then F2’s and so on.
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

EX16_AC_CH07_GRADER_CAP_HW – Human Resources

 EX16_AC_CH07_GRADER_CAP_HW – Human Resources

  

Project Description:

The Human Resources Department asked you to assist them in updating the database they are using. The department requires a form that can be used to find information but not change information. In addition, you will enhance an existing form and generate a report showing which employees report to each supervisor 

     

Start   Access. Open the file named exploring_a07_grader_h1_Prices.accdb.

 

Select   the Employees table and use the Form tool to create a new form. Change the   title to View Employees.   Delete the Orders subform.

 

Change   the Allow Edits, Allow Additions, and Allow Deletions settings to No. View   the form and data in Form view. Save the form as View Employees.

 

Create a new table in table design   view. Name the first field Country   and ensure the field is set as the primary key. Switch to Datasheet view,   saving the table as Countries.   Enter two records, UK   and USA (in that order). Close the table.

 

Open   the Update Employees form in Design view. Change the Country field to a Combo   Box. Set the Row Source to Countries and the Limit To List property to Yes.

 

Fix   the tab order so the Postal Code field comes immediately before the Country   field. Save and close the form.

 

Open   the View Employees form in Design view. Add a new label control in the   left-side of the form footer that displays the text Personnel information is considered private and printouts   should be shredded after use (do not include a period). Change the   font color to Black, Text 1 and bold the text. Save and close the form.

 

Create   a new report using the Report Wizard based on the Employees table. Select the   FirstName, LastName, HireDate, and HomePhone fields, in that order. Accept   all other default options.

 

Switch   to Layout view. Add grouping by the ReportsTo field. Switch to Design view.   Switch the option to with a footer section in the Group, Sort, and Total   pane. Use the pane to also display the count of the First Name field in the   Group Footer section.

 

Add   an Insert Page Break control at the bottom of the ReportsTo footer. Decrease   the size of the Home Phone field label, by dragging the right border of the   control so it lines up with the 6-inch mark on the horizontal ruler. Ensure   that the label width is set to as close to 1.08 inches as possible. 

 

Add   a new Text Box control to the right of the HomePhone text box. Use the   Tabular button in the Table group of the Arrange tab to place it correctly.   Change the label for the field to Years Employed.

 

Add   a formula in the text box to calculate the number of years (not days) since   the employee’s hire date, assuming the current date   is #12/31/2017#. Format the field as Standard with 1   decimal place. Save and close the report.

 

Close   the database, and submit the file as instructed.

website development

Can you develop a doctor appointment booking website that provides patients or any user to log in and creates an account same for the doctor? If the patient logins, then he can have access to view his details, book appointments, cancel the appointment, doctor details in the same way if the doctor logins he can view his appointments and patient id. , it is completely related to personal details of patient like patient id which is unique to each patient and includes its name, gender, phone number and age. So, by having had this patient details in the data base it will be easy for the doctor to get his previous record by his unique Id. And whenever a patient books his appointment with his id his details can be recorded.

 In the 3rd screen,which is the  main part of the project, after the patient login we are having a screen to book appointments when he opens he can enter his booking id which is his patient id and we are having categories as different patients will have different problems according to that they have to consult the doctor so inthis categoryr,y we are having different options like bone ,a  cardiac, neurologist .We willl are alsohaving the option to select the doctors by their names.

We are having a date option so the patient can book on days for supposing the appointments are filled it will display in the calendar.

Week 8 Assignment

 

Some organizations prohibit workers from bringing certain kinds of devices into the workplace, such as cameras, cell phones, and USB drives. Some businesses require employees to use clear or see-through backpacks when carrying personal items. What other devices might not be allowed in certain facilities, and why would they be restricted? The video on Google’s Data Center may give you some ideas to write about for this assignment.

Your written assignment should consist of 2-3 paragraphs.

Whistleblower

 Please read the document carefully.  I need a 1 page press release from the perspective of either U.S. Citizens or U.S. National Security Agency about one of the scenarios in the document, a 1-2 page technical background about the scenario, and a 1 page FAQ sheet about the scenario 

Discussion

Discuss the LOPA(Layers of Protection Analysis) process from a residential perspective.

Fully address the question(s) in this discussion; provide a valid rationale or a citation for your choices

The initial post should be at least 350 words in length.