Fixing C code with Vulnerabilities

 

The current code (attached), developed by a junior developer, has several issues and is not functioning as expected. The desired functionality of the program is to allow a user to select from several choices on a menu. After the user selects the “Exit” option from the menu, the program will populate a password with ‘1’s and then display the value of the password. The program also captures a character so the screen can stay paused for review before exiting. Below are screenshots for successful program execution.

Unfortunately, not only are there security issues, the code you were provided doesn’t work as expected. For the first part of this exercise demonstrate your C developer environment is working properly. You can do this by running any of the sample C code applications. 

Modify the C code in this example to make the desired functionality work properly. Demonstrate the code works properly through screen captures and describing what changes were made to fix the functionality issues.

Carefully, review the code and perform analysis as needed. Consider the following rules and recommendations and hints for items that you might want to review. 

Note, that some rules and recommendations listed below may not be found as issues in the code. 

 STR31-C. Guarantee that storage for strings has sufficient space for character data and the null terminator. 

 MSC24-C. Do not use deprecated or obsolescent functions. 

 FIO34-C. Distinguish between characters read from a file and EOF or WEOF. 

 MSC17-C. Finish every set of statements associated with a case label with a break statement.  MSC33-C. Do not pass invalid data to the asctime() function. 

 MSC17-C. Finish every set of statements associated with a case label with a break statement. 

 DCL20-C. Explicitly specify void when a function accepts no arguments. 

 MEM30-C. Do not access freed memory. 

You can use any C compiler you have access to. 

Renewable energy

 

The topic is renewable energy. You will develop your argument that either renewable energy will replace fossil fuel or it will not as the source of energy for American business. The time period is the future.

Here are the topics you should cover and feel free to add your own.

  1. What is renewable energy (RE)
  2. What are the types of RE
  3. What are the advantages/disadvantages of RE
  4. What is fossil fuel (FF)
  5. What are the types of FF
  6. What are the advantages/disadvantages of FF
  7. How does the cost of RE compare to the cost of FF
  8. Can RE provide for all our electric power needs – why or why not
  9. Why are fossil fuels (oil) thought to be an existential threat to the planet & in your opinion is this statement correct? Why or why not
  10. What would American businesses have to do to entirely use RE as the energy source
  11. Now, after all of this, if you were the decision-maker what would you do

The paper should be a minimum of 15 pages, double spaced, Ariel or Times New Roman font, and 1″ margins.  Spelling, grammar, and punctuation must be college-level. You can use the internet for your research and on the last page, you should show me the hyperlinks to the information you used.

I’ve included below, the rubric on how I’ll be scoring this paper. If you have any questions, please let me know.

Complementary, APRN Interview Questions and Advanced Primary Care of Family Practicum I (Due 24 hours)

1) Minimum 5 full pages (No word count per page)- Follow the 3 x 3 rule: minimum three paragraphs per part.

 Parts 2  and   3 have the same questions, however, you must answer with references and different writing always addressing them objectively, that is as if you were different students. Similar responses in wording or references will not be accepted.

Parts 4  and 5 have the same questions, however, you must answer with references and different writing always addressing them objectively, that is as if you were different students. Similar responses in wording or references will not be accepted.

            Part 1: Minimum 1 page

             Part 2: minimum 1 page 

             Part 3: Minimum 1 page

             Part 4: minimum1 page 

             Part 5: Minimum 1 page

    Submit 1 document per part

2)¨******APA norms

          All paragraphs must be narrative and cited in the text- each paragraph

          Bulleted responses are not accepted

          Don’t write in the first person 

          Don’t copy and paste the questions.

          Answer the question objectively, do not make introductions to your answers, answer it when you start the paragraph

Submit 1 document per part

3)****************************** It will be verified by Turnitin (Identify the percentage of exact match of writing with any other resource on the internet and academic sources, including universities and data banks) 

********************************It will be verified by SafeAssign (Identify the percentage of similarity of writing with any other resource on the internet and academic sources, including universities and data banks)

4) Minimum 3 references per part not older than 5 years

5) Identify your answer with the numbers, according to the question. Start your answer on the same line, not the next

Example:

Q 1. Nursing is XXXXX

Q 2. Health is XXXX

6) You must name the files according to the part you are answering: 

Example:

Part 1.doc 

Part 2.do

__________________________________________________________________________________

Part 1:  Complementary and Alternative Health Care

In understanding conventional and alternative medicine, it is helpful to study the assumptions basic to their theories, practices, and research. 

1. What are these assumptions and how will they impact your nursing practice? 

Parts 2  and 3  have the same questions, however, you must answer with references and different writing always addressing them objectively, that is as if you were different students. Similar responses in wording or references will not be accepted.

Part 2: The APRN Interview Questions

Role: APRN

1. What is proper etiquette for a job interview?      

2. What’s “good behavior” in a behavioral job interview? 

3. How do you handle stress in the healthcare setting? 

4.  What clinical skills do you possess that will be most beneficial to this clinical practice?  

– history-taking 

5. What are your strengths and weaknesses? Explain.

-Empathy

-perfectionist

6. Describe how you handled a difficult situation that has involved a patient, physician or family member? 

7. How do you get along with your staff at your current position? Explain

– Excellent

8. Why should we hire you?

Part 3: The APRN Interview Questions

Role: APRN

1. What is proper etiquette for a job interview?      

2. What’s “good behavior” in a behavioral job interview? 

3. How do you handle stress in the healthcare setting? 

4.  What clinical skills do you possess that will be most beneficial to this clinical practice?   

-Physical examination

5. What are your strengths and weaknesses? Explain.

– Communication Skills

– I focus too much on the details

6. Describe how you handled a difficult situation that has involved a patient, physician or family member? 

7. How do you get along with your staff at your current position? Explain

– Excellent

8. Why should we hire you?

Parts 4 and 5  have the same questions, however, you must answer with references and different writing always addressing them objectively, that is as if you were different students. Similar responses in wording or references will not be accepted.

Part 4: Advanced Primary Care of Family Practicum I

Please go to website (https://www.fana.org/prescriptive-authority-requirements) and review prescriptive authority requirements. Once reviewed, please answer the following questions:

1. How did prescriptive authority originally undergo revision in Florida?

2.Discuss the arguments for and against prescriptive authority for controlled substance in Florida?

Part 5: Advanced Primary Care of Family Practicum I

Please go to website (https://www.fana.org/prescriptive-authority-requirements) and review prescriptive authority requirements. Once reviewed, please answer the following questions:

1. How did prescriptive authority originally undergo revision in Florida?

2.Discuss the arguments for and against prescriptive authority for controlled substance in Florida?

Why Human Resources Transaction-Based Strategy Is a Dated Approach

 

You have been promoted from a human resource generalist to the position of deputy HR director for CapraTek. Your supervisor has assigned you to help implement a workforce strategy, but she has told you that you are to use tools that include the traditional HR areas of recruitment and selection, training and development, compensation, and employee relations. Your boss is very traditional and is known as a no-nonsense professional. Others see her as inflexible and behind the times.You cannot use workforce planning, workforce management, succession planning, leadership development, reorganization, or other materials in this course.

Consider the following conditions as you approach the implementation of a new workforce strategy for CapraTek:

  • CapraTek is having difficulty retaining all forms of engineering professionals (civil, mechanical, and electrical).
  • The new president is forward-looking and has stated the HR organization is anchored in the past and overly focused on compliance.
  • While there are no problems with CapraTek managers seeking promotion, the quality of these same people is mediocre, at best.

Resources: 

Readings

Use the Capella library to read the following:

Use the Internet to complete the following:

Employment Law Unit VI

Hello everyone, I have an Assignment for you today. This assignment must be DONE by Tuesday, June 8, 2021, no later than 10 pm. By the way, I need this assignment to be PLAGIARISM FREE & a Spell Check when completed. Make sure you READ the instructions CAREFULLY. Now without further ado, the instructions to the assignments are below:

Instructions

In this assignment, you will create a PowerPoint presentation on the topic of collective bargaining. You will highlight seven different areas of collective bargaining that you will explore. Be sure to also include an introduction. The goal is for you to explore areas that interest you and for you to explain them in more depth. You can be creative in how you demonstrate your knowledge about the topic you choose. You can use links in the presentation, graphics, case law, videos, etc. You can choose one area and highlight different processes in collective bargaining such as the process, duty to bargain, tasks involved, administration, enforcement, etc., or each area can be an entirely different aspect of collective bargaining such as picketing, strikers, unions, enforcement, etc. 

The above are suggestions. This assignment is a chance for you to explore. 

You are required to use at least your textbook as source material for your content. All sources used, including the textbook, must be referenced; paraphrased and quoted material must have accompanying APA style citations. 

You are required to use at least your textbook as source material for your response. All sources used, including the textbook, must be referenced; paraphrased and quoted material must have accompanying APA style citations. The textbook chapter 15 pg. 479-512, chapter 16 pg. 513-548, & Chapter 17 pg. 549-567, 577.

By the way, I have an attachment below, which is a study guide is overview of the unit. Remember NO PLAGIARISM & I need will need a PLAGIARISM REPORT upon completion. 

Strategy, Planning, And Selection Scenario

Assume for this assignment that you are being highly considered for a director-level HR management position for a best-in-class national retailer. You are in the final phase of the interview process and must respond to the interview panel regarding specific questions and scenarios that will help them determine if you are a good fit for the new role. The company’s culture is centered on the effective development of strategy, plans, and selection criteria aimed at building and sustaining a competitive and profitable organization. It will be extremely important that you respond with a strategic mindset in order to convince the organization you are able to help them ensure the execution of the business strategy. 
Instructions
Write a six- to seven-page paper in which you do the following: 
Analyze different types of strategies (cost leadership, differentiation, and focus or niche) and select which one you would deem more appropriate for an “efficiency-minded” retail organization and explain your rationale. How would the selected strategy ultimately affect how HR does its job?
Examine the four approaches to job design or redesign and provide an example (not a definition) of each. Then, make a case to the interviewing panel on the importance of effective job design applications in supporting the overall strategic goals of the organization. 
Consider challenges and constraints associated with recruiting workers and identify and discuss at least two issues. What advice would you give to ease your selected issues? Be specific. 
List and describe 2–3 candidate selection process ideas that might add value and overall effectiveness to the process.
Example: 5 Tips for Designing an Effective Employee Selection System.
Also, what problems should HR and management teams avoid during the selection process?
Use at least four quality academic resources in this assignment. Note: You may only use the resources listed in the Course Guide and those that are specifically provided by the professor.

Module 03 Course Project – Writing Compliance Policies

Module 03 Content

  1. Are you ready to present the policies for your two compliance plans in a way that all employees will understand at a large medical facility where you are the Compliance Officer?
    • In 4-page paper describe the policies for each of the two compliance plans.
    • Break each policy section into 2 pages each.
    • Remember to support your policies for the two plans with a total of three research sources, cited at the end in APA format. (That’s 1-2 research sources per plan).
    • Then, summarize your plan in a 5-8 slide PowerPoint presentation.
    • Polices you should consider covering for each plan come under the key compliance elements:
    • Compliance Standards
    • High-Level (personal) Responsibility
    • Education
    • Communication
    • Monitoring/Auditing (for Safety)
    • Enforcement/Discipline
    • Response/Prevention
    • Look these over in your research, and then select just two of these key elements and write your policies under them for each of your two compliance plans. (Your policies for each plan can zero in on different key elements.)

      Example:

    • A compliance plan about washing hands between patients might describe policies for High Level (personal) Responsibility and Monitoring/Auditing (for Safety)
    • A compliance plan about charging patients for Diabetes Management Education as a Physician Visit might describe policies for Compliance Standards and Enforcement/Discipline.
    • Submit your paper and presentation by following the directions linked below. Please check the Course Calendar for specific due dates.

      Save both of your assignments as a zip file. (Mac users, please remember to append the “.zipx” extension to the filename.) The name of the file should be your first initial and last name, followed by an underscore and the name of the assignment, and an underscore and the date. An example is shown below:
      Jstudent_exampleproblem_101504

6051 discussion 2 responded week 4

  

Discussion 2: Power, Privilege, and Classism

Respond to at least two colleagues’ posts by explaining how your own past experience with classism is similar to or different from your colleagues’. Also explain how issues might reveal themselves in your future social work practice in a manner similar to or different from that which your colleagues anticipate.

SOCW_6051_Week4_Discussion2_Rubric

Discussion Posting Content

8.1 (27%) – 9 (30%)

Discussion posting demonstrates an excellent understanding of all of the concepts and key points presented in the text(s) and Learning Resources. Posting provides significant detail including multiple relevant examples, evidence from the readings and other scholarly sources, and discerning ideas.

Peer Feedback and Interaction

6.75 (22.5%) – 7.5 (25%)

The feedback postings and responses to questions are excellent and fully contribute to the quality of interaction by offering constructive critique, suggestions, in-depth questions, additional resources, and stimulating thoughts and/or probes.

Writing

4.05 (13.5%) – 4.5 (15%)

Postings are well organized, use scholarly tone, contain original writing and proper paraphrasing, follow APA style, contain very few or no writing and/or spelling errors, and are fully consistent with graduate level writing style.

Colleagues’ Respond  

1. Student name: Ryen Gallagher 

Top of Form

Classism is demonstrated in the Hernandez video because the father has to miss necessary parenting classes to work extra in order to provide for his children. Still, they struggle to make ends meet. The Hernandez family is part of the working poor. The family is also Hispanic, which is not a dominant group. This is a group that may be marginalized, living in poverty, find it harder to get housing, loans, jobs, respect all because of their ethnicity. 

Since the Hernandez family is part of the working poor, they have to miss parenting classes that are required by child protective services. This could cause consequences for them because they were being accused of child abuse. This case may have been resolved with the proper completion of parenting classes, but because of their class they are not able to properly complete the course. This is not a lack of trying, or a lack of caring, this is pure classism in effect. In the long run, there could be serious consequences like losing their children, all from trying to provide for them. 

Additionally, the Hernandez parents both discussed their family history and how the way their parents live was passed on to them. In this situation it is possible that the children end up in the same situation, part of the working poor class, no matter how hard they work. They may be trapped from growth or networking opportunities. 

Some strengths of the Hernandez family include that the parents are still together, which means they have the chance at dual income. Additionally, the parents want to try, so if given the chance they may appreciate advancement in jobs or education. Also, the children are young meaning there may be some solutions for the parents to have a babysitter, like enrolling the children in a youth club or a recreation center. 

In this case, I would recommend that the Hernandez family has an opportunity for one on-one parent instruction when they are able to fit it in to their schedule. Also, as I mentioned above, getting the children involved socially in a group. Also, giving the parents resources to enroll in local community college classes to advance their education, and access to federal student loans or alternatively a chance to enter a trade apprenticeship. Lastly, the parents may benefit from looking for grants in the community that they could apply for whether it is for school, child care, food, or other opportunities. 

“Even as transmigrants face the traditional problems faced by many migrant populations—such as poverty, long hours of physical work, and discrimination—they must also contend with a range of other psychosocial stressors that act as powerful “multipliers””. (Furman Et al., 2009) This represents further that Hispanic immigrants in the US do not have equal opportunity to fair work hours, wages, levels of work, proper treatment and adequate housing. This is an issue that also has to be advocated for at a government level, as well as in local communities, businesses, organizations and schools. 

At a micro level, in the Laureate Education video the social worker is helping to advocate. She speaks up to her supervisor after realizing that the child protective service worker may have biases against the Hernandez family due to their ethnicity as well as showed biases against people who are Mexican. First, the CPS worker called the Hernandez family “Mexican’s” when they are in fact Puerto Rican. The stereotype that all Hispanic people are Mexican is hurtful to many identifying in either group. Similar to titling all Asian people as “Chinese”, which is also common. Second, the CPS worker assumed they didn’t care because they are “Mexican” as she says, making the assumption that it has anything to do with their parenting. This is stereotype, a bias, and a microaggression that perpetuates the vicious system of classism. 

Furman, R., Negi, N. J., Iwamoto, D. K., Rowan, D., Shukraft, A., & Gragg, J. (2009). Social work 

practice with Latinos: key issues for social workers. Social work, 54(2), 167–174. https://doi.org/10.1093/sw/54.2.167

Laureate Education (Producer). (2013). Hernandez Family (Episode 26) [Video file]. In Sessions. 

Retrieved from https://class.waldenu.edu

Bottom of Form

2. Student name: Ja’Sharee Bush 

Top of Form

Classism is demonstrated in the Hernandez video because the social worker identifies them as working-class or lower class. The social worker talks about how they missed sessions because the father has been missing overtime for the class, and their family relies on that money to make ends meet. The Hernandez family struggles to make the classes because he has to pick up overtime to make ends meet. They are considered the working class; they live paycheck to paycheck. Due to the Hernandez family falling into the working class, Hispanic and immigrants, social workers that have a bias against Hispanics can make their experience difficult. They can view them as a problem or do not want to work with them, so they recommend unnecessary programs to move them along or watch them fail.

I identified two strengths from the Hernandez family: they are hard workers, and they are willing to try to get help. I would recommend social workers find alternate ways for the family to obtain funds so that the father does not have to rely on overtime. I would also suggest that the social worker become culturally competent to ensure necessary services are provided and serviced correctly. I feel these recommendations will help the Hernandez family work their way out of the working class; that way, Mr. Hernandez does not have to rely on overtime. The family needs to receive the proper care to ensure they do not have to repeat services or alter their culture.

Laureate Education (Producer). (2013). Hernandez Family (Episode 26) [Video file]. In Sessions. Retrieved from https://class.waldenu.edu

Bottom of Form

3. Sherlina Thomas

  When examining how the intersection of class (e.g., working poor), ethnicity (e.g., Hispanic), and migration history (e.g., move from Puerto Rico to mainland) may further impact the Hernandez’s experience, think about how the current political climate might impact this family. What challenges might this create for this family? 

Training Development

 

Last week, you submitted a proposal for the design of a two-day  workshop to train managers on how to use effective feedback skills when  delivering one-on-one performance reviews to employees. Design a 15 slide PowerPoint presentation that would be used in this training  workshop (excluding the title and reference slides). Use the features of  PowerPoint to effectively present the material to managers. Create a  professional visual using various design elements, such as: background,  color, font style, animations, transitions, audio, images, etc. Include  approximately 50 words of speaker notes on each slide (a total of  approximately 750-1,000 words). These notes are the a facilitator’s  script. Identify at least three specific learning objectives for this  training (making any necessary modifications to the learning objectives  that were submitted in the proposal last week).

Your introductory slide must include a clear and concise description  of the training. Your presentation must also include citations and  references from the Blanchard and Thacker (2013) text and at least three  additional scholarly sources. Your final submission should include: 1)  the PowerPoint with facilitator notes, and 2) a comprehensive  APA-formatted Word transcript of all slide notes/ facilitator’s script  (a total of approximately 750-1,000 words), including a reference page. 

As needed, use the How to create a power point presentation (Links to an external site.)Links to an external site. video for instructions and tips on how to create PowerPoint presentations and the PowerPoint 2010: Speaker notes (Links to an external site.)Links to an external site. video for instructions on how to create Speaker notes in PowerPoint presentations.

I have attached week 3 Training design Proposal as an upload please follow all steps carefully.

Childhood Development – ADA & Child Care Settings

 PLEASE SEE ATTACHED REQUIRED SURVEY TO COMPLETE ASSIGNMENT 

  • After reading about ADA legislation and its application to the early childhood setting – please respond to the following questions in your assignment. Please keep in mind that there is no point in making up numbers correct/incorrect. You will not be able to view the results. 
  • How many do you think you got wrong? Which ones?
    • If you think you missed none – describe your previous experience with learning about ADA legislation and why you believe these laws are/are not appropriate to the early childcare setting. Provide three examples of how you think an early childcare setting provides quality health and development needs to young children with disabilities (use your textbook and the supplementary reading as a guide).
    • If you think you missed a few (less than 5) – describe your previous experience with learning about ADA legislation and why you think you missed the ones you did. Were you surprised by the correct response? Why? Discuss whether you believe these laws are/are not appropriate to the early childcare setting. Provide two examples of how you think an early childcare setting provides quality health and development needs to young children with disabilities (use your textbook and the supplementary reading as a guide).
    • If you think you missed a bunch (5 or more) – describe your previous experience with learning about ADA legislation and why you think you missed the ones you did. Were you surprised by the correct responses? Why? Discuss whether you believe these laws are/are not appropriate to the early childcare setting. Provide one example of how you think an early childcare setting provides quality health and development needs to young children with disabilities (use your textbook and the supplementary reading as a guide).