fix the security issues for the provided code below

Fixes any security issues you find in the provided code.

Describes the rules that were being broken.

Provides recommendations you applied and specifically how you fixed the code.

Demonstrates, using multiple possible error or invalid input, the code now works properly.

Here is the code:

import java.io.BufferedReader;

import java.io.FileReader;

import java.io.IOException;

public class SDEV425_1 {

/**

* @param args the command line arguments

*/

public static void main(String[] args) {

// Read the filename from the command line argument

String filename = args[0];

BufferedReader inputStream = null;

String fileLine;

try {

inputStream = new BufferedReader(new FileReader(filename));

System.out.println(“Email Addresses:”);

// Read one Line using BufferedReader

while ((fileLine = inputStream.readLine()) != null) {

System.out.println(fileLine);

}

} catch (IOException io) {

System.out.println(“File IO exception” + io.getMessage());

} finally {

// Need another catch for closing

// the streams

try {

if (inputStream != null) {

inputStream.close();

}

} catch (IOException io) {

System.out.println(“Issue closing the Files” + io.getMessage());

}

}

}

}

 
Do you need a similar assignment done for you from scratch? Order now!
Use Discount Code "Newclient" for a 15% Discount!

benefit cost 1

Please use Excel to answer.

The fire chief in a coastal city that surrounds a harbor has long expressed his concerns to the city manager that the harbor is not adequately protected in case of a boat fire or a fire in a structure on the harbor. Marine fire protection is currently provided on a contract basis with private tugboats at an annual cost of $12,000. For the past 7 years, the company has not been able to man its fireboat between the hours of midnight and 7 am. This represents a very serious deficiency in the city’s fire defense plan in that most of the serious fires occur during this time frame. In a memorandum to the city manager, the chief offers two options

Option 1: Maintain the present level of service with the company, which provides a manned fireboat 17 hours a day and recalls off-duty personnel for 7 hours a day, with a response time of approximately 60 to 90 minutes. Twenty – year total cost with annual increases of 5 % = $ 397,000

Option 2 Have the fire department operate a city-owned fireboat, which could also be used for marine rescue, code enforcement, and monitoring and containment of water pollution on a 24-hour basis.

Capital cost $175,000

Mooring facility $10,000

Total maintenance over 20 years $50,000

Total cost- $235,000

It is recommended that Option 2 be adopted for the following reasons:

The fireboat would be available for prompt response to fire and life rescue assignments on a 24-hour basis.

The cost saving projection over the 20-year period would be $162,000.

Do you agree with the fire chief’s recommendation? Why or why not? Be specific, in your response to this case

 
Do you need a similar assignment done for you from scratch? Order now!
Use Discount Code "Newclient" for a 15% Discount!

political science research paper class on global south

  • An essay of not more than 12-13 pages, double spaced (2500 words maximum) must be handed in at or before the class of July 19, 2018 The Essay questions will be posted on May 15, 2018

TOPIC :

– South-South Cooperation and Regional Development: The Case of Sub-Saharan Africa, or The Gulf Sates or Latin American States, or ASEAN. choose a case study to elaborate on your OWN hypothesis and why your case study supports your hypothesis.

* use political science theories to explain findings , ( example : democratization theory )

* concept : south and north divide

 
Do you need a similar assignment done for you from scratch? Order now!
Use Discount Code "Newclient" for a 15% Discount!

westerns general topic

This is the fifth of our weekly “general topic” Discusisons. You should write posts connecting the films you watched to the subject under consideration. While you do not need to answer a specific prompt, this is an outlet for discussion about the weekly topics, and an opportunity to share ideas about work you are doing each week.

Below you will find a list of additional Westerns you may choose from in deciding which (at least) two films you will screen for Week Five. If there are ever any films that fall into the weekly subject categories that you would like to view but are not listed in the Syllabus, just contact me in advance and I most likely will approve the substitutions.

Also remember to write me at any time with questions or comments that will help you with your progress in the class, as many of you have already been doing.

SOME WESTERNS ADDED TO THE LIST FOR YOU TO CHOOSE FROM FOR WEEK FIVE’S VIEWING AND FILM REPORTS — A Thematic List (films in all caps are already listed in our Course Schedule; some are listed more than once if they fit into more than one category):

“CLASSICS”:

The Great Train Robbery (1903)

Stagecoach (1939)

Drums Along the Mohawk

Rio Grande (1950)

THE SEARCHERS (1956)

MY DARLING CLEMENTINE

THE OX-BOW INCIDENT

THE MAN WHO SHOT LIBERTY VALANCE

Sergeant Rutledge

The Left-Handed Gun

HIGH NOON

Pursued (1947)

Blood on the Moon (1948)

River of No Return (1954)

Shane (1953)

3:10 to Yuma (1957)

3:10 to Yuma (2007 remake)

Man in the Wilderness

Jeremiah Johnson

The Good, the Bad and the Ugly

Pale Rider

THE OUTLAW JOSEY WALES

Once Upon a Time in the West

True Grit (1969)

TRUE GRIT (2010 — not really a remake; just based on same novel)

A Gunfight (1971)

THE WILD BUNCH

PAT GARRETT AND BILLY THE KID

BUTCH CASSIDY AND THE SUNDANCE KID

UNFORGIVEN

Legends of the Fall

WILD BILL

The White Buffalo (on Wild Bill Hickok)

FEMALE PROTAGONISTS:

The Quick and the Dead

Duel in the Sun

The Ballad of Little Jo

The Outlaw (1943)

McCABE AND MRS. MILLER

JOHNNY GUITAR

MEEK’S CUTOFF

NATIVE AMERICA:

Fort Apache (1949)

Cheyenne Autumn (1969)

LITTLE BIG MAN

Buffalo Bill and the Indians, or Sitting Bull’s History Lesson

A Man Called Horse

DANCES WITH WOLVES

THE LAST OF THE MOHICANS (1992)

DEAD MAN

The Missing (2003)

Thunderheart

POWWOW HIGHWAY

Smoke Signals

WYATT EARP, DOC HOLLIDAY, O.K. CORRAL:

The Outlaw (1943)

MY DARLING CLEMENTINE

Gunfight at the O.K. Corral (1957)

TOMBSTONE (1993)

Wyatt Earp (1994)

JESSE JAMES AND THE JAMES GANG:

Jesse James (1939)

The True Story of Jesse James (1957)

The Long Riders

The Great Northfield Minnesota Raid

The Assassination of Jesse James by the Coward Robert Ford

“WESTERN NOIR”:

Pursued (1947)

Border Incident (1949)

JOHNNY GUITAR

“MODERN WESTERNS”:

Border Incident (1949)

No Country for Old Men

The Hi-Lo Country

The Milagro Beanfield War

The Three Burials of Melquiades Estrada

Thunderheart

POWWOW HIGHWAY

Smoke Signals

EVEN MORE:

There Will Be Blood

Ravenous (1999)

The Proposition (2005)

Wild, Wild West (1999)

The Valley of Gwanji (1969)

Cowboys & Aliens

Deadwood (series)

Lonesome Dove (series)

Kung Fu (series)

Hell on Wheels (series)

The Ballad of Gregorio Cortez (American Playhouse)

 
Do you need a similar assignment done for you from scratch? Order now!
Use Discount Code "Newclient" for a 15% Discount!

case study south town medical center 2

Read the South Town Medical Center case study on pages 443 – 445 of your text book, and answer the three questions at the end.

The requirements below must be met for your paper to be accepted and graded:

  • Write between 750 – 1,250 words (approximately 3 – 5 pages) using Microsoft Word in APA style, see example below.
  • Use font size 12 and 1” margins.
  • Include cover page and reference page.
  • At least 80% of your paper must be original content/writing.
  • No more than 20% of your content/information may come from references.
  • Use at least three references from outside the course material, one reference must be from EBSCOhost. Text book, lectures, and other materials in the course may be used, but are not counted toward the three reference requirement.
  • Cite all reference material (data, dates, graphs, quotes, paraphrased words, values, etc.) in the paper and list on a reference page in APA style.

References must come from sources such as, scholarly journals found in EBSCOhost, CNN, online newspapers such as, The Wall Street Journal, government websites, etc. Sources such as, Wikis, Yahoo Answers, eHow, blogs, etc. are not acceptable for academic writing.

A detailed explanation of how to cite a source using APA can be found here (link).

Download an example here

Grading Criteria Assignments Maximum Points
Meets or exceeds established assignment criteria 40
Demonstrates an understanding of lesson concepts 20
Clearly presents well-reasoned ideas and concepts 30
Uses proper mechanics, punctuation, sentence structure, and spelling 10
Total 100
 
Do you need a similar assignment done for you from scratch? Order now!
Use Discount Code "Newclient" for a 15% Discount!

research and reflection paper

The goal of this Portfolio Project is to create a research and reflection paper that synthesizes information gathered from peer-reviewed sources with your own interest in a chosen aspect of criminal victimization.

Be sure to read the Portfolio Project description below thoroughly before beginning to work on the project.

Portfolio Project Milestone Deliverables

Annotated Bibliography:At this point, you should have decided on the resources and information upon which you will build your Portfolio Project. In an Annotated Bibliography, submit the 3-5 academic, peer-reviewed journal articles and the additional peer-reviewed sources you plan to use to complete your project, and identify:

  • What makes each resource pertinent to your topic?
  • How do you plan to use each resource in your final project?

An Annotated Bibliography includes the properly formatted references and a summary of each of the sources/articles. Here is a link to help you better understand how to develop an Annotated Bibliography: https://owl.english.purdue.edu/owl/resource/614/01/.

Portfolio Project Outline should also be included.

Paper

DO NOT TITLE EACH PARAGRAPH

For your paper, discuss two theories of victimization that best explain the criminal victimization aspect you chose:

  • Develop your paper with a focus on your selected theories, including their major concepts.
  • Use evidence from prior research to conclude how the theories explain victimization.
  • Discuss how different populations or groups might be affected by your theories (such as, the disabled; the elderly; the homeless; immigrants; and lesbian, gay, bisexual, and transgendered [LGBT] people).
  • Are there any cultural issues that should be addressed? Such issues may apply to female genital mutilation, rape, sexual abuse, honor killings, gang violence, and crimes against special populations (e.g., the blind, elderly, homeless, and LGBT people).
  • Evaluate the limitations or weaknesses of your chosen theories.
  • What victim resources are available for your chosen theories?

Your final paper must be 8-10 pages long, not including the title and reference pages. It must cite a minimum of five peer-reviewed/professional sources, and be formatted per the CSU-Global Guide to Writing and APA Requirements. The CSU-Global Library is a great place to find resources! Include a title page and reference list page as part of the final project (but not as part of the page count).

 
Do you need a similar assignment done for you from scratch? Order now!
Use Discount Code "Newclient" for a 15% Discount!

quality by design and assurance 1

Create a 5 – 6 slide Microsoft® PowerPoint® presentation with speaker notes.

Use Motorola as a company for this presentation and include the following:

  • How has innovation driven the quality process at your organization? Why?

Format your presentation consistent with APA guidelines.


 
Do you need a similar assignment done for you from scratch? Order now!
Use Discount Code "Newclient" for a 15% Discount!

1 the facilities coordinator is a critical role put yourself in the position of the facilities coordinator

Hi,

Hope you are doing well,

I need answers for 2 Assignments, each assignment should be 3 to 4 pages with APA formate and need 3 references for each Assignments.

Assignment 1:

1.The facilities coordinator is a critical role. put yourself in the position of the facilities coordinator.

2. determine and list the qualities you have that would make you an excellent candidate for this position.

3. determine and list the qualities this position demands that you lack.

Assignment 2:

1.search for information on system and equipment failure on your favorite search engine.

2.List what might be done to provide fault tolerance for a single system.

3. List what might be done to provide fault tolerance at a data enter level.

Note: Please write each Assignment in a different word document.

 
Do you need a similar assignment done for you from scratch? Order now!
Use Discount Code "Newclient" for a 15% Discount!

discussion board 391

Discussion Board: Identifying the Research Problem

Locate at least (4) research studies published in scholarly journals in a particular field of study. Review the introductions, and locate the sentence of sentences in which the authors state the research problem or issue.


My topic

How Big Data Is Changing Healthcare.

3 pages

 
Do you need a similar assignment done for you from scratch? Order now!
Use Discount Code "Newclient" for a 15% Discount!

assignment 1 testing for one way anova 1

Assignment 1: Testing for One-Way ANOVA

You had the chance earlier in the week to practice with the one-way ANOVA and obtain peer feedback. Now it is time to put all of that good practice to use and answer a social research question with the one-way ANOVA. As you head into the assignment, be sure and pay close attention to the assumptions of the test. Specifically, make sure the dependent and independent variables (factor) are amenable to use in the ANOVA (i.e., be sure to note levels of measurement).

For this Assignment, you will examine the one-way ANOVA based on a research question.

To prepare for this Assignment:

  • Review this week’s Learning Resources and media program related to one-way ANOVA testing.
  • Using the SPSS software, open the Afrobarometer dataset or the High School Longitudinal Study dataset (whichever you choose) found in the Learning Resources for this week.
  • Based on the dataset you chose, construct a research question that can be answered with a one-way ANOVA.
  • Once you perform your one-way ANOVA analysis, review Chapter 11 of the Wagner text to understand how to copy and paste your output into your Word document.

For this Assignment:

Write a 2- to 3-paragraph analysis of your one-way ANOVA results for your research question. Include any post-hoc tests with an analysis of the strength of any relationship found (effect size). Also, in your analysis, display the data for the output. Based on your results, provide an explanation of what the implications of social change might be.

Use proper APA format, citations, and referencing for your analysis, research question, and display of output.

 
Do you need a similar assignment done for you from scratch? Order now!
Use Discount Code "Newclient" for a 15% Discount!