3/3.docx
STEP 1: Understand the UML Diagram
Analyze and understand the object UML diagram, which models the structure of the program.
· There are no design changes to the Presentation Tier from the previous project and InputUtilities and ApplicationsUtilities classes are used without modification (except for changing the Application Information).
· The default values for each of the attributres have been declared as a constants, which is indicated by the ALL_CAPS in the name, and the attributes are then set using the default values
· Each of the attributes have been specified as private.
· The accessors (get) and mutators (set) are not shown on the class diagram, but it is ASSUMED that each private attribute has a corresponding property that contains the get and set methods.
· The "static" modifier for the numEmployees attribute means that there is only one copy of the variable that is then shared by all the objects of the class.
· There is a second CalculatePay method that overloads the existing CalculatePay method
· While not shown on the class diagram, the property for numEmployees will only have a get method, which means it will be a "read only" method. (A property with only and set method is a "write-only" property).
Image Description
What is depicted is a single column table with 3 rows. In the first row is the large word "Employee".
In the row beneath this is a list of private parameters, indicated with a "minus" symbol before them (but no space after). These are:
-MIN_DEPENDENTS int =0
-MAX_DEPENDENTS int = 10
-MIN_SALARY double = 20000
MAX_SALARY double = 20000
DEFAULT_NAME string = "Not given"
DEFAULT_GENDER char = 'U'
-firstName : String
-lastName : string
-gender : char
-dependents : int
-annualSalary : double
-static numEmployees: int = 0
In the third and final row beneath this is another list of public parameters, indicated with a "plus" symbol before them (but no space after). These are:
+Employee()
+Employee(in first : string, in last : string, in gen : char, in dep : int, in salary : double)
+ToString : string
+CalculateWeeklyPay() : double
+CalcuateWeeklyPay(modifiedSalary double)
Press the ESC key to close the image description and return to lecture.
STEP 2: Create the Project
You will want to use the Week 2 project as the starting point for the lab. To do this, you will want to create a new project by following these steps:
1. Create a new project named "CIS247_WK3_Lab_LASTNAME". An empty project will then be created.
2. Delete the default Program.cs file that is created.
3. Click on Project->Add Existing Item…. Select the .cs files containing the InputUtilities, ApplicationUtilities, Employee, and Program classes from your project folder from last week's lab.
4. The namespaces for the classes should all be "Employee", but you should verify that the namespaces for all the classes are the same.
5. Update the program information in the ApplicationUtilities.DisplayApplicationInformation method to reflect your name,.
Please be advised that there are four (4) programs just like this on.docxlorindajamieson
Please be advised that there are four (4) programs just like this one that are required. Please follow the instructions listed in each word document. The programs build upon one another and need to be saved to a zip file just like the zip file labeled "CIS247_WK2_Lab_Rosado.zip". Zip file CIS247_WK2_Lab_Rosado.zip is the program from which you start to build from.
STEP 1: Understand the UML Diagram
Analyze and understand the object UML diagram, which models the structure of the program.
There are no design changes to the Presentation Tier from the previous project and InputUtilities and ApplicationsUtilities classes are used without modification (except for changing the Application Information).
The default values for each of the attributres have been declared as a constants, which is indicated by the ALL_CAPS in the name, and the attributes are then set using the default values
Each of the attributes have been specified as private.
The accessors (get) and mutators (set) are not shown on the class diagram, but it is
ASSUMED
that each private attribute has a corresponding property that contains the get and set methods.
The "static" modifier for the numEmployees attribute means that there is only one copy of the variable that is then shared by all the objects of the class.
There is a second CalculatePay method that overloads the existing CalculatePay method
While not shown on the class diagram, the property for numEmployees will only have a get method, which means it will be a "read only" method. (A property with only and set method is a "write-only" property).
Image Description
What is depicted is a single column table with 3 rows. In the first row is the large word "Employee".
In the row beneath this is a list of private parameters, indicated with a "minus" symbol before them (but no space after). These are:
-MIN_DEPENDENTS int =0
-MAX_DEPENDENTS int = 10
-MIN_SALARY double = 20000
MAX_SALARY double = 20000
DEFAULT_NAME string = "Not given"
DEFAULT_GENDER char = 'U'
-firstName : String
-lastName : string
-gender : char
-dependents : int
-annualSalary : double
-static numEmployees: int = 0
In the third and final row beneath this is another list of public parameters, indicated with a "plus" symbol before them (but no space after). These are:
+Employee()
+Employee(in first : string, in last : string, in gen : char, in dep : int, in salary : double)
+ToString : string
+CalculateWeeklyPay() : double
+CalcuateWeeklyPay(modifiedSalary double)
Press the ESC key to close the image description and return to lecture.
STEP 2: Create the Project
You will want to use the Week 2 project as the starting point for the lab. To do this, you will want to create a new project by following these steps:
Create a new project named "CIS247_WK3_Lab_LASTNAME". An empty project will then be created.
Delete the default Program.cs file that is created.
Click on Project->Add Existing Item…. Select the .cs files containing the InputUtilities, ApplicationUtilities,.
Please be advised that there are four (4) programs just like this on.docxlorindajamieson
Please be advised that there are four (4) programs just like this one that are required. Please follow the instructions listed in each word document. The programs build upon one another and need to be saved to a zip file just like the zip file labeled "CIS247_WK2_Lab_Rosado.zip". Zip file CIS247_WK2_Lab_Rosado.zip is the program from which you start to build from.
STEP 1: Understand the UML Diagram
Analyze and understand the object UML diagram, which models the structure of the program.
There are no design changes to the Presentation Tier from the previous project and InputUtilities and ApplicationsUtilities classes are used without modification (except for changing the Application Information).
The default values for each of the attributres have been declared as a constants, which is indicated by the ALL_CAPS in the name, and the attributes are then set using the default values
Each of the attributes have been specified as private.
The accessors (get) and mutators (set) are not shown on the class diagram, but it is
ASSUMED
that each private attribute has a corresponding property that contains the get and set methods.
The "static" modifier for the numEmployees attribute means that there is only one copy of the variable that is then shared by all the objects of the class.
There is a second CalculatePay method that overloads the existing CalculatePay method
While not shown on the class diagram, the property for numEmployees will only have a get method, which means it will be a "read only" method. (A property with only and set method is a "write-only" property).
Image Description
What is depicted is a single column table with 3 rows. In the first row is the large word "Employee".
In the row beneath this is a list of private parameters, indicated with a "minus" symbol before them (but no space after). These are:
-MIN_DEPENDENTS int =0
-MAX_DEPENDENTS int = 10
-MIN_SALARY double = 20000
MAX_SALARY double = 20000
DEFAULT_NAME string = "Not given"
DEFAULT_GENDER char = 'U'
-firstName : String
-lastName : string
-gender : char
-dependents : int
-annualSalary : double
-static numEmployees: int = 0
In the third and final row beneath this is another list of public parameters, indicated with a "plus" symbol before them (but no space after). These are:
+Employee()
+Employee(in first : string, in last : string, in gen : char, in dep : int, in salary : double)
+ToString : string
+CalculateWeeklyPay() : double
+CalcuateWeeklyPay(modifiedSalary double)
Press the ESC key to close the image description and return to lecture.
STEP 2: Create the Project
You will want to use the Week 2 project as the starting point for the lab. To do this, you will want to create a new project by following these steps:
Create a new project named "CIS247_WK3_Lab_LASTNAME". An empty project will then be created.
Delete the default Program.cs file that is created.
Click on Project->Add Existing Item…. Select the .cs files containing the InputUtilities, ApplicationUtilities,.
Assignment Instructions 2_7aExplain the interrelationships bet.docxssuser562afc1
Assignment Instructions 2_7a
Explain the interrelationships between planning, organizing, directing, controlling, and leading.
This is a one-page assignment. Should contain academic references and be thoroughly researched.
Please include an Abstract, Details Heading/Subheading and Conclusion. Also,all include (cites), attach the websites/details/links with the references. I have been asked for them by my professor
Let me know if you any questions.
Please let me know if you any questions.
You will want to use the Week 3 project as the starting point for the lab. To do this, you will want to create a new project by following these steps:
1. Create a new project named "CIS247_WK4_Lab_LASTNAME". An empty project will then be created.
2. Delete the default Program.cs file that is created.
3. Now that we are beginning to add more classes to our projects the
Solution
Explorer can become difficult to organize so you will create folders to hold the Presentation Tier and Logic Tier Files in order to organize the project. One thing to remember, even though we only have a few files in our project, a professional program will have 100's if not 1000's of files in a project so you will want to get practice in organizing your project files in a logical folder heirarchy and we will use the Tiered Architecture structure shown in the UML Class diagram for the folder structure. You will find that creating folders within MS Visual Studio is very similiar to creating folders in Windows Explorer. Follow these directions to create the folders:
1. Select the project and then right click
2. Select Add
3. Select New Folder
4. Enter the name of the folder
4. Add the following three folders to your project (1) Presentation Tier, (2) Logic Tier, and (3) Utilities.
5. You are going to add the files from the previous week lab to the project just as you did before, but now you add the existing files to the corresponding folder
6. Select the PresentationTier folder, right click and select Add then Existing Item, navigate to your previous week's project and select the InputUtitilies.cs and Program.cs files and click add. These two files will then be added to the Presentation. [Hint: you can also drag and drop the files directly from Windows Explorer directly into the corresponding folder in your project!]
7. Add the previous week's Employee.cs file to the Logic Tier folder. You will also add the new Benefits class to this folder.
8. Add the ApplicationUtilities.cs file to the Utilities folder.
9. Your solution explorer should look similiar to the following (note: you can rename any folder by selecting the folder, right click, and then Rename just like you do in Windows).
10. The namespaces for the classes should all be "Employee", but you should verify that the namespaces for all the classes are the same.
11. Update the program information in the ApplicationUtilities.DisplayApplicationInformation method to reflect your name, current lab, and program description.
12 ...
CIS 247C iLab 4 of 7: Composition and Class Interfaces HomeWork-Fox
CIS 247C Week 4 Lab Devry University
Computer Science - Object-Oriented Programming
iLab 4 of 7: Composition and Class Interfaces
The objective of the lab is to modify the Employee class to demonstrate composition where a containing class (Employee) contains another class (Benefit). An employee typically has benefits, so we will make the following changes:
Create a Benefit class.
Integrate the Benefit class into the Employee class.
Separate the files in the project into Presentation and Logic tier folders
STEP 1: Understand the UML Diagram
The only change to the Employee class is that there is a new attribute:
+benefit : Benefit
Notice that there is a "+" for this attribute, meaning that it is public. Make sure to examine the multi-arg constructor's signature!
Also, the dotted directed line between Employee and iEmployee specifies that the Employee class must implement the iEmployee abstract class, and thus provide an implementation for the calculatePay method.
STEP 2: Create the Project
You will want to use the Week 3 project as the starting point for the lab. To do this, you will want to create a new project by following these steps:
Create a new project and name it "CIS247C_WK4_Lab_LASTNAME".
I am Irene M. I am a C++ Homework Expert at cpphomeworkhelp.com. I hold a Masters in Programming from from California, USA. I have been helping students with their homework for the past 10 years. I solve homework related to C++.
Visit cpphomeworkhelp.com or email info@cpphomeworkhelp.com. You can also call on +1 678 648 4277 for any assistance with C++ Homework.
1 Goals. 1. To use a text file for output and later for in.docxhoney690131
1 Goals.
1. To use a text file for output and later for input.
2. To use exceptions and write an exception handler that does more than abort execution.
3. To Use a static class variable.
4. To use a boolean variable and a Date variable.
5. To use an ArrayList.
6. To implement Phase 1 of a four phase well-structured project with multiple classes using the Model-View-Controller design pattern (MVC).
2 Overview
This section discusses a finished application that you will construct in several phases. When all phases are finished, it will simulate a human resources system to keep track of savings through the company. There is a Human Resources Manager (Boss), and employees (eventually more than one type of employee will be used). Eventually, this system will be created as an application with a windows interface. The Employee’s login name will eventually be encrypted and the data will be stored in an object file. Program 4 implements only part of the menu, uses a text file and does not encrypt the employee data. At first this will be a menu-driven application allowing for these actions:
1. The first time the program is used, the user will enter his or her own data in to the program and will become the Boss (Human Resources Manager) with access to everyone’s data.
2. After that, when the program starts up, it will read in a database of employee data and store it in the employee collection.
3. After that, the Boss will be able to log in and create new employees by entering the person’s name (first, middle initial-optional, and last), login name, base salary, and savings percent. This data will be used to initialize a new employee object. The object will also record the current date and a unique ID number for this employee. The new employee will be added to the Employee collection.
4. The Boss can log in and display a list of all Employees in the collection and can change the base salary or percent savings for any employee. In the list, display the full name (first, middle initial and last), login name, Employee ID, base salary, percent savings and date of hire for each Employee.
5. Any Employee in the collection can log in and see his or her own data and change their name and percent savings (due to marriage, etc).
6. An Employee whose login name is in the collection may log in and out. Logging in will automatically log out the prior Employee.
7. The menu has an option to quit and quitting will cause the final contents of the collection to be written back to the database file (replacing it).
8. Since you have
more than one class
in this project, you will
need to create a package (call it “savings” – note the first letter is lower case)
and put all of the classes in the package. To tell your program to look for the other classes, you need to put the following in each class file near your import statements.
package
savings;
3 The Employee Class: Superclass of the Model (from MVC) for this application.
a) An object of type Employ ...
While writing program in any language, you need to use various variables to s...bhargavi804095
While writing program in any language, you need to use various variables to store various information. Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory.
Group Presentation Once during the quarter, each student will.docxgilbertkpeters11344
Group Presentation
: Once during the quarter, each student will prepare a brief presentation on a specific neighborhood, a racial or cultural group, or a historical event, migration or shift in the urban landscape,
related to the themes for that week
. Students will select preferred weeks in advance and be scheduled by Week 2 as best as your professor can allow. The presentation is open in form and format but should be 20 minutes in duration, consist mostly of your own original words and discussion, but involve some form of visual, quotes, or data, and represent some amount of additional research beyond the readings for that week, and include 5 or more questions for discussion to be presented to the class. Your group grade will reflect an average of 4 grades in content, delivery, relevance and engagement with the class in discussion.
.
Group Presentation Outline
•
Slide 1: Title slide
•
This contains your topic title, your names, and the course.
•
Slide 2: Introduction slide
•
Remember that you are presenting this information to others. Acknowledge the audience, and mention the purpose of the
presentation.
•
This slide should contain at least 50–100 words of speaker notes.
•
Slides 3–10 (or more): Content slides
•
Describe the topic and structure
•
Outline and discuss the issues/components each separately
•
Discuss theories, laws, policies, and other labor relations related topics
•
Provide support for your perspective and analysis
•
Lessons learned documented, what you have learned
•
Conclusion
•
The slides should each contain at least
50–100 words of speaker notes.
•
Final slide(s): Reference slide(s)
•
List your references according to the APA sty
.
More Related Content
Similar to 33.docxSTEP 1 Understand the UML Diagram Analyze and under.docx
Assignment Instructions 2_7aExplain the interrelationships bet.docxssuser562afc1
Assignment Instructions 2_7a
Explain the interrelationships between planning, organizing, directing, controlling, and leading.
This is a one-page assignment. Should contain academic references and be thoroughly researched.
Please include an Abstract, Details Heading/Subheading and Conclusion. Also,all include (cites), attach the websites/details/links with the references. I have been asked for them by my professor
Let me know if you any questions.
Please let me know if you any questions.
You will want to use the Week 3 project as the starting point for the lab. To do this, you will want to create a new project by following these steps:
1. Create a new project named "CIS247_WK4_Lab_LASTNAME". An empty project will then be created.
2. Delete the default Program.cs file that is created.
3. Now that we are beginning to add more classes to our projects the
Solution
Explorer can become difficult to organize so you will create folders to hold the Presentation Tier and Logic Tier Files in order to organize the project. One thing to remember, even though we only have a few files in our project, a professional program will have 100's if not 1000's of files in a project so you will want to get practice in organizing your project files in a logical folder heirarchy and we will use the Tiered Architecture structure shown in the UML Class diagram for the folder structure. You will find that creating folders within MS Visual Studio is very similiar to creating folders in Windows Explorer. Follow these directions to create the folders:
1. Select the project and then right click
2. Select Add
3. Select New Folder
4. Enter the name of the folder
4. Add the following three folders to your project (1) Presentation Tier, (2) Logic Tier, and (3) Utilities.
5. You are going to add the files from the previous week lab to the project just as you did before, but now you add the existing files to the corresponding folder
6. Select the PresentationTier folder, right click and select Add then Existing Item, navigate to your previous week's project and select the InputUtitilies.cs and Program.cs files and click add. These two files will then be added to the Presentation. [Hint: you can also drag and drop the files directly from Windows Explorer directly into the corresponding folder in your project!]
7. Add the previous week's Employee.cs file to the Logic Tier folder. You will also add the new Benefits class to this folder.
8. Add the ApplicationUtilities.cs file to the Utilities folder.
9. Your solution explorer should look similiar to the following (note: you can rename any folder by selecting the folder, right click, and then Rename just like you do in Windows).
10. The namespaces for the classes should all be "Employee", but you should verify that the namespaces for all the classes are the same.
11. Update the program information in the ApplicationUtilities.DisplayApplicationInformation method to reflect your name, current lab, and program description.
12 ...
CIS 247C iLab 4 of 7: Composition and Class Interfaces HomeWork-Fox
CIS 247C Week 4 Lab Devry University
Computer Science - Object-Oriented Programming
iLab 4 of 7: Composition and Class Interfaces
The objective of the lab is to modify the Employee class to demonstrate composition where a containing class (Employee) contains another class (Benefit). An employee typically has benefits, so we will make the following changes:
Create a Benefit class.
Integrate the Benefit class into the Employee class.
Separate the files in the project into Presentation and Logic tier folders
STEP 1: Understand the UML Diagram
The only change to the Employee class is that there is a new attribute:
+benefit : Benefit
Notice that there is a "+" for this attribute, meaning that it is public. Make sure to examine the multi-arg constructor's signature!
Also, the dotted directed line between Employee and iEmployee specifies that the Employee class must implement the iEmployee abstract class, and thus provide an implementation for the calculatePay method.
STEP 2: Create the Project
You will want to use the Week 3 project as the starting point for the lab. To do this, you will want to create a new project by following these steps:
Create a new project and name it "CIS247C_WK4_Lab_LASTNAME".
I am Irene M. I am a C++ Homework Expert at cpphomeworkhelp.com. I hold a Masters in Programming from from California, USA. I have been helping students with their homework for the past 10 years. I solve homework related to C++.
Visit cpphomeworkhelp.com or email info@cpphomeworkhelp.com. You can also call on +1 678 648 4277 for any assistance with C++ Homework.
1 Goals. 1. To use a text file for output and later for in.docxhoney690131
1 Goals.
1. To use a text file for output and later for input.
2. To use exceptions and write an exception handler that does more than abort execution.
3. To Use a static class variable.
4. To use a boolean variable and a Date variable.
5. To use an ArrayList.
6. To implement Phase 1 of a four phase well-structured project with multiple classes using the Model-View-Controller design pattern (MVC).
2 Overview
This section discusses a finished application that you will construct in several phases. When all phases are finished, it will simulate a human resources system to keep track of savings through the company. There is a Human Resources Manager (Boss), and employees (eventually more than one type of employee will be used). Eventually, this system will be created as an application with a windows interface. The Employee’s login name will eventually be encrypted and the data will be stored in an object file. Program 4 implements only part of the menu, uses a text file and does not encrypt the employee data. At first this will be a menu-driven application allowing for these actions:
1. The first time the program is used, the user will enter his or her own data in to the program and will become the Boss (Human Resources Manager) with access to everyone’s data.
2. After that, when the program starts up, it will read in a database of employee data and store it in the employee collection.
3. After that, the Boss will be able to log in and create new employees by entering the person’s name (first, middle initial-optional, and last), login name, base salary, and savings percent. This data will be used to initialize a new employee object. The object will also record the current date and a unique ID number for this employee. The new employee will be added to the Employee collection.
4. The Boss can log in and display a list of all Employees in the collection and can change the base salary or percent savings for any employee. In the list, display the full name (first, middle initial and last), login name, Employee ID, base salary, percent savings and date of hire for each Employee.
5. Any Employee in the collection can log in and see his or her own data and change their name and percent savings (due to marriage, etc).
6. An Employee whose login name is in the collection may log in and out. Logging in will automatically log out the prior Employee.
7. The menu has an option to quit and quitting will cause the final contents of the collection to be written back to the database file (replacing it).
8. Since you have
more than one class
in this project, you will
need to create a package (call it “savings” – note the first letter is lower case)
and put all of the classes in the package. To tell your program to look for the other classes, you need to put the following in each class file near your import statements.
package
savings;
3 The Employee Class: Superclass of the Model (from MVC) for this application.
a) An object of type Employ ...
While writing program in any language, you need to use various variables to s...bhargavi804095
While writing program in any language, you need to use various variables to store various information. Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory.
Group Presentation Once during the quarter, each student will.docxgilbertkpeters11344
Group Presentation
: Once during the quarter, each student will prepare a brief presentation on a specific neighborhood, a racial or cultural group, or a historical event, migration or shift in the urban landscape,
related to the themes for that week
. Students will select preferred weeks in advance and be scheduled by Week 2 as best as your professor can allow. The presentation is open in form and format but should be 20 minutes in duration, consist mostly of your own original words and discussion, but involve some form of visual, quotes, or data, and represent some amount of additional research beyond the readings for that week, and include 5 or more questions for discussion to be presented to the class. Your group grade will reflect an average of 4 grades in content, delivery, relevance and engagement with the class in discussion.
.
Group Presentation Outline
•
Slide 1: Title slide
•
This contains your topic title, your names, and the course.
•
Slide 2: Introduction slide
•
Remember that you are presenting this information to others. Acknowledge the audience, and mention the purpose of the
presentation.
•
This slide should contain at least 50–100 words of speaker notes.
•
Slides 3–10 (or more): Content slides
•
Describe the topic and structure
•
Outline and discuss the issues/components each separately
•
Discuss theories, laws, policies, and other labor relations related topics
•
Provide support for your perspective and analysis
•
Lessons learned documented, what you have learned
•
Conclusion
•
The slides should each contain at least
50–100 words of speaker notes.
•
Final slide(s): Reference slide(s)
•
List your references according to the APA sty
.
Group PortionAs a group, discuss and develop a paper of 10 p.docxgilbertkpeters11344
Group Portion
As a group, discuss and develop a paper of 10 pages that addresses the following questions. Work together to determine who will complete each section:
Who will comprise your planning committee? Explain.
Identify public- and private-sector partner agencies and elected officials (if any) that should serve on the planning committee.
What are the component parts of the plan (be specific and detailed)? Explain.
What participating agencies may be more or less involved in which parts of the plan development? Explain.
Are there subject matter experts (SMEs) or other entities that should be involved in any one specific area of the plan development? Explain.
Based upon the emergency management concept of incident management that includes the phases of preparedness and mitigation, response, and recovery, identify the actions that will need to be taken in each phase as they relate to the hazard you have selected.
Identify the major challenges that the community and responders will encounter when responding to the hazard.
What solutions exist (e.g., mutual aid, contract services) to overcome those challenges? Explain in detail.
What should be the short- and long-term recovery goals of the community following this event’s occurrence?
Be sure to reference all sources using APA style.
Please add your file.
Individual Portion
Develop a PowerPoint presentation of 6–7 slides that provides details about your plan.
Include speaker notes of 200–300 words that will be used when presenting the plan to your superiors.
.
Group Behavior in OrganizationsAt an organizational level,.docxgilbertkpeters11344
Group Behavior in Organizations
At an organizational level, group behavior is necessary for continued functioning of the
organization. Within an organization, there are established rules, procedures, and processes
developed that define how an organization operates. In addition, there are systems in place
to reward behaviors of those who effectively participate in the organization's operations.
Besides, there are also systems that define consequences that can take place in case
individuals behave outside the accepted practices of the organization. What develops out of
this is an employee's attachment to the organization based on common beliefs, values, and
traditions. The shared attachment and even the commitment to common beliefs, values, and
traditions make up an organization's culture (Helms & Stern, 2001; Lok & Crawford, 2001).
What Is Organization Culture?
Sheard and Kakabadse (2002) explained organizational culture in terms of solidarity and
sociability. Solidarity, in this case, referred to a group's willingness to pursue and maintain
conformity in shared objectives, processes, and systems. Sociability referred to a group's
sense of belongingness by its members and level of camaraderie.
They also mentioned there might be differences between hierarchies or levels within an
organization's culture. Based on the solidarity and sociability of each, upper management
might differ from the decisions made by middle management and line staff. These differences
might also occur between functional departments and, in larger organizations, between
geographically distinct sections of the organization.
What Sheard and Kakabadse wanted to emphasize through this discussion was there might
be distinct subcultures within an organization's culture.
According to De Long and Fahey (2000), "Subcultures consist of distinct sets of values,
norms, and practices exhibited by specific groups or units in an organization." Subcultures
may be readily observed in larger, more bureaucratic organizations or organizations having
well-established departments with employees that have highly specialized or possessing
unique skills.
De Long, D., & Fahey, L. (2000). Diagnosing cultural barriers to knowledge management. The
Academy of Management Executive, 14(4), 113–127.
Helms, M., & Stern, R. (2001). Exploring the factors that influence employees 'perceptions of
their organization's culture. Journal of Management in Medicine, 15(6), 415–429.
Lok, P., & Crawford, J. (2001). Antecedents of organizational commitment and the mediating
role of job satisfaction. Journal of Managerial Psychology, 16(8), 594–613.
Sheard, A., & Kakabadse, A. (2002). Key roles of the leadership landscape. Journal of
Managerial Psychology, 17(1/2), 129–144.
3-17 Kenneth Brown is the principal owner of Brown Oil, Inc. After quitting his university teaching job,
Ken has been able to increase his annual salary by a factor of over 100. At the present time, Ken is
f.
Group assignment Only responsible for writing 275 words on the foll.docxgilbertkpeters11344
Group assignment: Only responsible for writing 275 words on the following
Explain immigration and how that is connected.
Identify current and future issues in serving diverse clients and legally protected classes.
GroupgrAssignment content:
Access
the
Prison Rape Elimination Act
website.
Write
a 1,000- to 1,400-word report for an audience of potential new employees in human services in a correctional setting in which you:
Summarize current and future civil rights issues that affect the criminal justice system.
Identify why PREA affects the future of corrections.
Explain immigration and how that is connected.
Identify current and future issues in serving diverse clients and legally protected classes.
Explain options for advocacy.
Identify
boundaries in advocacy for human service workers.
Format
your resources consistent with APA guidelines.
.
Group 2 WG is a 41-year-old female brought herself into the ER la.docxgilbertkpeters11344
Group 2: WG is a 41-year-old female brought herself into the ER last night asking to "detox from vodka." She tells you she has a long-standing history of alcohol dependence with multiple relapses. She also reports that she has experienced alcohol withdrawal seizures before. Current CIWA-Ar is 17. She denies any past medical history but lab work indicates hepatic insufficiency (LFTs x3 ULN). All other lab work is normal. She denies taking any medications.
How will you manage this patient’s withdrawal syndrome?
Responses must be a minimum of 200 words, scholarly written, APA7 formatted, and referenced. A minimum of 2 references are required (other than your text). Plagiarism and grammatical errors free.
.
Group 2 Discuss the limitations of treatment for borderline and.docxgilbertkpeters11344
Group 2: Discuss the limitations of treatment for borderline and histrionic PD and what can be done from a psychopharmacological perspective.
Post must be a minimum of 200 words, scholarly written, APA formatted, and referenced. A minimum of 2
scholarly
references are required
(other than your text
).
.
Group 3 Discuss the limitations of treatment for antisocial and.docxgilbertkpeters11344
Group 3: Discuss the limitations of treatment for antisocial and narcissistic PD and what can be done from a psychopharmacological perspective.
Post your initial response by Wednesday at midnight. Respond to at least one student
with a different assigned DB question
by Sunday at midnight. Both responses must be a minimum of 200 words, scholarly written, APA formatted, and referenced. A minimum of 2
scholarly
references are required
(other than your text
). attached lecture for the theme.
.
Group 1 Describe the differences between Naloxone, Naltrexone, .docxgilbertkpeters11344
Group 1: Describe the differences between Naloxone, Naltrexone, and Buprenorphine/Naloxone. Include the properties of each, their classification, mechanism of actions, onset, half-life, and formulations (routes of delivery). Please discuss the implications of differences in the clinical setting (including pre-hospital)
Responses must be a minimum of 200 words, scholarly written, APA7 formatted, and referenced. A minimum of 2 references is required (other than your text). Plagiarism and grammatical errors free.
.
Grotius, HobbesDevelopment of INR – Week 3HobbesRelati.docxgilbertkpeters11344
Grotius, Hobbes
Development of INR – Week 3
Hobbes
Relationship between Natural Law and Law of Nations?
Mediated by the idea of the state of nature as the predicament of insecurity:
Natural right: self-preservation.
Natural law: the observation of promises and contracts.
For states: minimum observation of natural law in the form of consenting to agreements.
Written agreement: treaty-making
Unwritten agreements: customary law
Hobbes
State of Nature: the condition in which individuals find themselves in a perpetual condition of war.
Natural right to self-preservation:
We each have the right to judge what is in our interest for self-preservation.
Conflict occurs because of:
Competition
Diffidence
Glory
Different meanings for words in the State of Nature; no ability in the State of Nature to determine whose judgment is valid (Wolin).
Life in the state of nature: “Solitary, poor, nasty, brutish, and short”
Commonwealth
Commonwealth by institution:
Social contract: it is the collective agreement among all individuals in the state of nature to establish:
Sovereign power
Able to speak and act for a multiplicity of people (which becomes a unified group).
State
The unity of sovereign power and the unified people.
Sovereign is the man or assembly that carries the person of the State.
State is the Leviathan: the mortal God on earth.
Sovereigns come and go but the State remains.
Consequences
The implication: fear is displaced from the condition of the state of nature to the relation between individual and state.
What continues to bind the state is fear of a return to the State of Nature:
the relation between individual and state is one of protection in exchange for obedience.
Private vs. public conscious: does one need to truly believe (i.e. like a Christian) or does the appearance of belief suffice?
“belief and unbelief never follow men’s commands.”
Loyalty only to those that are in power?
Historical context: The Norman Yoke and the English Civil Wars
Stability should not sacrificed as a result of ‘injustice’.
The rise of the ‘mechanical’ centralized administrative state.
Grotius
Dutch legal theorist 16th century;
Along with Vitoria and Gentili laid the foundation for the Law of Nations (Public European Law) on Natural Law.
Moves away from a theological conceptualization of Natural Law to a secular one.
Develops the notion of Natural Rights which becomes key for understanding human morality and law.
Notion of natural right emerged out of the massacre of St. Bartholomew (25 August 1572).
Attempted to establish limitation on the Sovereign’s power:
notion of individual right that the state cannot transgress.
Grotius: “a RIGHT is a moral quality annexed to the person, justly entitling him to possess some privilege, or to perform some particular act”
Four Fundamental Rights
1) the right for others not to take my possessions.
2) the right of restoration of property in case of injury.
3) honoring promises.
4) punish wrongdoing.
Natural.
GROUP 1 Case 967-- A Teenage Female with an Ovarian MassCLI.docxgilbertkpeters11344
GROUP 1: Case 967-- A Teenage Female with an Ovarian Mass
CLINICAL HISTORY
A teenage female presented with secondary amenorrhea (https://www.healthline.com/health/secondary-amenorrhea#causes). The patient had 1 menstrual cycle 3 years ago and has had no menses since. Laboratory work-up was negative for pregnancy test, mildly increased calcium level (11.7 mg/dL, normal range: 8.5-10.2 mg/dL) and CA 125 (43 Units/ml, normal range: 0-20 Units/ml). Prolactin, TSH, AFP, Inhibin A, Inhibin B and CEA were normal. Imaging revealed a 13 x 11.8 x 8.6 cm, predominately cystic left pelvis mass, with multiple internal septations. Her past medical history was not contributory. Patient underwent left salpingo-oophorectomy (https://www.healthline.com/health/salpingo-oophorectomy), omentectomy (https://moffitt.org/cancers/ovarian-cancer/omentectomy/) and tumor debulking (https://en.wikipedia.org/wiki/Debulking) with intraoperative frozen section consultation.
GROSS EXAMINATION
The 930.9 g tubo-ovarian complex consisted of a 20.0 x 16.0 x 8.0 cm large mass, with no recognizable normal ovarian parenchyma grossly and an unremarkable fallopian tube. The cut surface was gray, "fish-flesh", soft with foci of hemorrhage and necrosis.
MICROSCOPIC EXAMINATION
Microscopically, the majority of main tumor was growing in large nests, sheets and cords with focal follicle-like structures and geographic areas of necrosis. It was predominantly composed of small cells with hyperchromatic nuclei, round to oval nucleus with irregular nuclear contour, inconspicuous to occasional conspicuous nucleoli and minimal cytoplasm. This component was variably admixed with a population of larger cells, which as the name implies composed of cells with abundant eosinophilic cytoplasm, with central or eccentric round to oval nuclei, pale chromatin and prominent nuclei. Both, the small and large cell components demonstrated brisk mitotic activity. All staging biopsies and omentectomy were composed of large cell component.
An extensive panel of immunohistochemical stains was performed. Overall, the staining pattern was strong and diffuse in small cell component compared to patchy weak staining pattern in the large cell component.
FINAL DIAGNOSIS
Small cell carcinoma (https://en.wikipedia.org/wiki/Small-cell_carcinoma) of the ovary, hypercalcemic type (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4939673/)
DISCUSSION
Small cell carcinoma of the ovary, hypercalcemic type (SCCOHT) is an aggressive and highly malignant tumor affecting the women under 40. It was first described as a distinct entity by Dickersin et al in 1982 (1). Fewer than 500 cases have been described in the literature and it accounts for less than 1% of all ovarian cancer diagnoses. Due to the initial consideration of epithelial origin, the term of SCCOHT has been used to distinguish this entity from its mimicker, the neuroendocrine or pulmonary type (2). In fact epithelial origin of SCCOHT was recently challenged as new imm.
Greek Drama Further Readings and Short Report GuidelinesOur s.docxgilbertkpeters11344
Greek Drama: Further Readings and Short Report Guidelines
Our study of Greek drama will begin with an overview of Greek theater in general and focus on Aeschylus’ Agamemnon (Norton rental text, Vol. A). You will be completing a quiz/worksheet on Agamemnon (open book) and that play will be the focus of our class from March 26 through April 2. After that, each of you will have the opportunity to focus more intensively on one of three other Greek plays, Sophocles’ Philoctetes, Euripides’ Medea, or Aristophanes’ Lysistrata.
I will be asking you to submit a short report that focuses primarily on the play you chose to study in more depth. Your first task, though, is to choose which of the three plays you want to work on. Here are brief overviews of the three plays.
Sophocles’ Philoctetes(available in the Sophocles II purchase text). Philoctetes, an outstanding Greek warrior, was abandoned by Odysseus, Agamemnon and Menelaos on the way to fight in Troy because they could not bear the agonies of his suffering from a poisonous snake bite. The hero, an exceptional archer who wields the bow of Heracles, has been living in isolation on the wild island of Lemnos for nine years. Now the Greek forces have received a prophecy that they cannot conquer Troy without Philoctetes’ help. Odysseus, whom Philoctetes hates, and Neoptolemus, the son of Achilles, are sent to lure Philoctetes back to the war, by persuasion, treachery or force.
Euripides’ Medea (available in Norton rental text, Vol. A. Medea, the sorceress who helped the hero Jason find the Golden Fleece and also helped save his life, is living with Jason in exile from her homeland with their two children. She has learned that, in order to advance his fortune and social standing, Jason wants to jilt Medea and marry a younger woman. Out of despair and rage, Medea contrives to take revenge against Jason in the most horrific way she can.
Aristophanes’ Lysistrata (available in Norton rental text, Vol. A). Fed up with the emotional and economic hardships caused by the Peloponnesian War (431-404 BC), the Athenian and Spartan women, under the leadership of Lysistrata, unite to undertake two group actions: first, to refuse to have sex with their men until the men agree to stop fighting and, second, to cut off funding for the war by occupying the Athenian treasury. Aristophanes’ comedy still raises questions today about who should wield political power and why, as well as about how much humans really value peace.
NOTE: While I am requiring you to focus on only one of the three plays, I strongly encourage you to read all three. I will be saying something about each of the three plays before the short report is due, after we spend some time with Aeschylus’ Agamemnon.
Guidelines for Short Report on Greek Drama
For the short report on Greek drama, please write complete, incisiveresponses to each of the following five topics or questions concerning the play—Philoctetes,Medea or Lysistrata—that you h.
Graph 4 (You must select a different graph than one that you hav.docxgilbertkpeters11344
Graph 4 (You must select a different graph than one that you have previously discussed)
Select a data presentation from chapter 6 of the text (Grey Section).
Answer the following:
What is the visual that you selected?
What is the purpose of the visual?
What kind of data should be compiled in the selected visual?
What kinds of data should not be compiled in the selected visual?
How can you avoid making the visual misleading?
.
Graphs (Help! Really challenging assignment. Would appreciate any bi.docxgilbertkpeters11344
Graphs (Help! Really challenging assignment. Would appreciate any bit of help!)
Family tree's and genealogy software has become more and more prevalent in recent years. From the name you might expect that a family tree would be easily represented by a tree structure, but that is not the case! A more appropriate data structure to represent a family tree would be a type of graph. Using the description of the family that accompanies this assignment, you must represent this family using a graph structure. The graph needs to be a weighted graph. The weights will constitute the types of relationships, I recommend using some kind mapping between numbers and strings to represent the relationships. When adding family members to the graph, this can be done programmatically for the provided family members within the description file. Additionally, I also want there to be an interface in which a user can create a new family member and add them to the tree. This can be a simple CLI where the user provides a name, gender, and age to create a person. Then another simple CLI where they select which member of the family they want the original relationship to be with and what kind of relationship it should be. Finally, they can edit the family member using another CLI and selecting the family member they wish to edit, the operation they wish to perform (edit name, edit age, edit relationship), and then add new relationship between family members which can call a function that you create in order to add the original relationship. Remember the DRY philosophy, where code can be modularized or made into a function, it should be if you plan on using the logic again.
Finally, I want you to make data assertions within the
FamilyTree
class that enforce certain "rules" that exist in a typical human family. An example would be a person should not have any kind of relationship to itself (a person can not marry themselves, a person can not be their own brother, sister, father, mother, etc.). There should be at least 3 data assertions. These should exists as part of the family tree, not as part of the graph.
As a hint, for a successful design: I would recommend using layers of abstraction. Your graph class is the backing structure to the family tree class. Your family tree should implement methods that interface with the graph class, i.e. add_family_member() should call the constructor to create a node and then call a function within the graph class to add a node to the graph. Then using the relationships function parameter, you can add edges to the graph between the new nodes and the existing nodes. The family tree should be what enforces what relationships can exist through the data assertions, the graph does not care about what relationships are made between family members. Your functions that the user would interface with would be greatly reduced compared to the total number of methods within the classes themselves. The user should be able to add, remove, and modi.
Grandparenting can be highly rewarding. Many grandparents, though, u.docxgilbertkpeters11344
Grandparenting can be highly rewarding. Many grandparents, though, unexpectedly become guardians and raise small children. How might this responsibility affect their normal course of adult development? What components might require transitions? How would a professional counselor encourage these older guardians in their new roles? Just need 135 words (ASAP)!
.
Great Marketing Moves The evolving art of getting noticed Ov.docxgilbertkpeters11344
Great Marketing Moves The evolving art of getting noticed
Over three decades,
Inc.
has seen entrepreneurs, often with little cash but lots of creativity)', produce clever marketing campaigns time and again. Here are 3U classic examples from the archives. —
Kelly Fairdoth
Make a article summary from 2-3 paragraphs.
.
“GREAT MIGRATION”
Dr. G. J. Giddings
Characteristics
Human
Propelled – push-pull (E. Lee, 1966)
Impactful – consequential … cause/effect
Dynamic – leaderless …democratic …
Demographics
Demographics
1.2 million, 1915-’30
6.4 million, 1980
(Caribbean:
140,000,1899-1937)
Precursors
Post-Reconstruction, 1877-1914
Rural - Urban
Westward – “Black Exodus”
Henry Adams (LA)
89,000 migrants/interest
Benjamin “Pap” Singleton (TN)
“Advantage of Living in a Free State”
Thousands migrated
Emigration
Bishop Henry M. Turner,
Mary Ann Shadd Cary
Precursors …
U.S. Empire
Berlin Conf.,1884
Philippines, 1898
Puerto Rico, Guam
Hawaii,
(Cuba)
Haiti, (1915-’34)
U.S. Virgin Isl.,1916
Guyana, 1941
Atkinson Airstrip
6
Great Migration
Caribbean
140,000,1899-1937
M. M. Garvey
C. Powel
DJ Kool Herc
S. Chisholm
G. J. Giddings
Great Migration
“PUSH”
-Boll weevil, 1915/6
-Mississippi flood, 1927
-Racist Terroism
-Racist laws: Jim Crow
Great Migration
“PULL”
E. World War I, 1914-1919
(367,000 AAs served)
European immigration desisted
Chicago Defender
“To die from the bite of frost is more glorious than by the hands of a lynch mob”
“Every Black man for the sake of his wife and daughter should lave even at a financial sacrifice every spot in the south where his worth is not appreciated enough to give him the standing of a man and a citizen in the community.”
Great Migration
IMPACT
Detroit, MI
611 % increase
Urban League, 1911
National League of Urban Conditions among Negroes, NY
Rep. Oscar DePriest (R)
Chicago Alderman, 1915; U.S. Rep, 1929-’35
1970s: Chicago had more Blacks than Mississippi!
Harlem Renaissance, 1919-1932
L. Hughes, “Negro Artist …”
Some pastors followed migrants.
Return Migration/RE-PATRIATION
Post-Industrial
“Reverse migration”
1980-present
Service economy
“Sun Belt” industrial service areas
Destinations
Atlanta, GA; Charlotte, NC, Houston, TX, …
(F&H, chap. 23)
GREAT MIGRATION
Franklin & Higginbotham (F&H)
1, (12),13, 14, 15, 16, 17, 19, 23 …
Great Migration
The Warmth of Other Suns, 2010
Isabel Wilkerson, Pulitzer laureate
National Book Critics Circle award
“best non-fiction ...” NY Times
1,200 interviews
I.M. Gladney
G. Starling
R. P. Foster
Wilkerson …
Ida Mae Gladney
1934
MS – Chicago, IL
Wilkerson …
George Starling
1945
Florida–New York
(.
Grand theory and Middle-range theoryHow are Nursing Theories c.docxgilbertkpeters11344
Grand theory and Middle-range theory
How are Nursing Theories classified?
What are the differences between grand theory and middle-range Theory?
Examples of grand Theory and Middle range Theory?
Write an Essay.
Use the APA style 7
Avoid plagiarism by submitting your work to SafeAssign.
.
Grand Rounds Hi, and thanks for attending this case presen.docxgilbertkpeters11344
Grand Rounds
Hi, and thanks for attending this case presentation. My name is Dr. Stephen Brewer and I am a licensed
clinical psychologist in San Diego, California and Assistant Professor of Psychology and Applied
Behavioral Sciences at Ashford University. Today, I will be sharing with you the story of Bob.
Presenting problem
Bob Smith is a 36-year-old man who came to me approximately six months ago with concerns about his
career choice and life direction. He did not have any significant psychiatric symptoms, besides some
understandable existential anxiety regarding his future. Bob was cooperative, friendly, open, and
knowledgeable about psychology during our first few sessions together. I noticed that he seemed
guarded only when talking about his family and childhood experiences. To confirm his identity, I checked
his driver’s license to ensure his name was indeed Bob Smith and that he lived close by in a mobile home
in Spring Valley. Given his relatively mild symptoms, we decided to meet once a week for supportive
psychotherapy so he could work through his anxieties. I gave him a diagnosis of adjustment disorder
with anxiety.
History
Here’s some background on Bob to give you a sense of who he is.
Family
Bob grew up as an only child in Edmonton, Canada, in a low-income, conservative, and very religious
household.
He shared that his father was largely absent during his childhood, as he spent most of the week residing
north of Edmonton, where he worked as a mechanic in the oil fields near Fort McMurray. On weekends,
Bob’s father would return home and spend as much time as possible with his family. Bob described his
father as warm, caring, and a hard worker. His father reportedly died one year ago.
Bob’s mother was described as a strict, rule-based woman who had a short temper and was prone to
furious outbursts over trivial matters. She worked in Bob’s junior high as a janitor, which meant that Bob
often crossed paths with his mother at school, where she would often check up on him. During Bob’s
high school years, Bob’s mother got a new job as a high school librarian.
At 18, Bob moved to San Diego to study psychology at San Diego State University. He lived in the dorms
for his first few years, where he easily made friends and joined a fraternity. Bob maintained contact with
his parents, but ceased all contact when his mother suggested she would move to San Diego to be closer
to him. He graduated with a 3.2 GPA and began working for the county as a psychiatric technician. He
worked as a psych tech for 14 years and described it as “fun at first, but it got boring and predictable
after a while.”
Treatment
Bob shared that he has a medical doctor that he visits once every few years for his routine physical. He
denied having any significant medical problems. Additionally, he denied using any illicit substances and
reported drinking only on occasion with friends from his fratern.
Graduate Level Writing Required.DUEFriday, February 1.docxgilbertkpeters11344
Graduate Level Writing Required.
DUE:
Friday, February 14, 2020 by 5pm Eastern Standard Time.
Resources: U.S. Department of Labor, Bureau of Labor Statistics, U.S. Department of Labor Wages, U.S. Department of Education, U.S. Census Bureau
Based
on
Dallas, Texas
Write a 900- to 1,050-word paper in which you analyze the criminal profile of Dallas, Texas.
Include the following information in your analysis:
-Characterization of the city in terms of social and intellectual context
-Identity of social factors that contribute to crime
-Linking of events or attitudes to a description of beliefs people living there would accept for explaining criminal behavior
-Consideration of changes in land use, property values, transportation, and retail as one moves away from the city center
-If there are changes, what distance do you estimate exist between these areas?
-How noticeable are the changes?
-Discussion of whether or not zones of transition apply to this city
-Identification of criminal hot spots
-Relevant data to support answers
-How your findings relate to the role of socioeconomic status and values in criminological theory
-Identification and rationale for the choice of one sociologic theory that best explains the crime in your chosen city
-Format your paper consistent with APA guidelines
.
-Provide at least 4 Academic / Scholarly references
.
-100% Original Work. ZERO Plagiarism.
-Must Be Graduate Level Writing.
.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Honest Reviews of Tim Han LMA Course Program.pptxtimhan337
Personal development courses are widely available today, with each one promising life-changing outcomes. Tim Han’s Life Mastery Achievers (LMA) Course has drawn a lot of interest. In addition to offering my frank assessment of Success Insider’s LMA Course, this piece examines the course’s effects via a variety of Tim Han LMA course reviews and Success Insider comments.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Group Presentation 2 Economics.Ariana Buscigliopptx
33.docxSTEP 1 Understand the UML Diagram Analyze and under.docx
1. 3/3.docx
STEP 1: Understand the UML Diagram
Analyze and understand the object UML diagram, which models
the structure of the program.
· There are no design changes to the Presentation Tier from the
previous project and InputUtilities and ApplicationsUtilities
classes are used without modification (except for changing the
Application Information).
· The default values for each of the attributres have been
declared as a constants, which is indicated by the ALL_CAPS in
the name, and the attributes are then set using the default values
· Each of the attributes have been specified as private.
· The accessors (get) and mutators (set) are not shown on the
class diagram, but it is ASSUMED that each private attribute
has a corresponding property that contains the get and set
methods.
· The "static" modifier for the numEmployees attribute means
that there is only one copy of the variable that is then shared by
all the objects of the class.
· There is a second CalculatePay method that overloads the
existing CalculatePay method
· While not shown on the class diagram, the property for
numEmployees will only have a get method, which means it will
be a "read only" method. (A property with only and set method
is a "write-only" property).
Image Description
What is depicted is a single column table with 3 rows. In the
first row is the large word "Employee".
In the row beneath this is a list of private parameters, indicated
with a "minus" symbol before them (but no space after). These
are:
2. -MIN_DEPENDENTS int =0
-MAX_DEPENDENTS int = 10
-MIN_SALARY double = 20000
MAX_SALARY double = 20000
DEFAULT_NAME string = "Not given"
DEFAULT_GENDER char = 'U'
-firstName : String
-lastName : string
-gender : char
-dependents : int
-annualSalary : double
-static numEmployees: int = 0
In the third and final row beneath this is another list of public
parameters, indicated with a "plus" symbol before them (but no
space after). These are:
+Employee()
+Employee(in first : string, in last : string, in gen : char, in dep
: int, in salary : double)
+ToString : string
+CalculateWeeklyPay() : double
+CalcuateWeeklyPay(modifiedSalary double)
Press the ESC key to close the image description and return to
lecture.
STEP 2: Create the Project
You will want to use the Week 2 project as the starting point for
the lab. To do this, you will want to create a new project by
following these steps:
1. Create a new project named
"CIS247_WK3_Lab_LASTNAME". An empty project will then
be created.
2. Delete the default Program.cs file that is created.
3. Click on Project->Add Existing Item…. Select the .cs files
containing the InputUtilities, ApplicationUtilities, Employee,
3. and Program classes from your project folder from last week's
lab.
4. The namespaces for the classes should all be "Employee", but
you should verify that the namespaces for all the classes are the
same.
5. Update the program information in the
ApplicationUtilities.DisplayApplicationInformation method to
reflect your name, current lab, and program description.
6. Build and execute the project.
For each week's assignments you will follow these steps create
a new project that reuses the program from the previous week.
STEP 3: Modify the Employee
Be sure you follow proper commenting and programming styles
(header, indentation, line spacing, etc.).
Using the Employee class diagram as a guide modify the
Employee class:
1. Add the constants to the class using the following as an
example:
public const double MIN_SALARY = 20000;
2. In the default constructor, update assignment statements to
use the defined constants
3. Change all the employee class attributes to private.
4. Create a private static numEmployees variable and initialize
it to zero
5. Increment numEmployees by 1 in each of the constructors
6. For each private attribute, create a well-named property that
contains the get and set methods. The get method of the
property only needs to return the value of the attribute; but the
set method of each property needs to validate the provided
value using the following validation rules:
a. If the provided first or last values are empty, or a null value,
then set the name to DEFAULT_NAME.
b. If the provided gender value is 'F', 'f', 'M', or 'm' set the
value; otherwise set the value to DEFAULT_GENDER.
c. If the provided dependent value is between the
4. MIN_DEPENDENTS and MAX_DEPENDENTS (inclusive) then
set dependent to the provided value; if the provided value is
less than MIN_DEPENDENTS set the dependents to
MIN_DEPENDENTS; else if provided value is greater than
MAX_DEPENDENTS set the dependents to
MAX_DEPENDENTS.
d. If the provided salary value is between the MIN_SALARY
and MAX_SALARY (inclusive) the set the annualSalary to the
provided value; if the provided value is less than
MIN_SALARY set the annualSalary to MIN_SALARY; else if
provided value is greater than MAX_SALARY set the
annualSalary to MAX_SALARY.
e. For the numEmployee attribute create a property called
NumberEmployees that only contains a "get" method, external
objects should NOT be allowed modify the numEmployee value.
Since numEmployees is a static method, the property must be
declared as static.
7. In the parameterized constructor, change statements that set
the attributes so that the properties are used, which ensures that
attributes are validated prior to be set.
8. Create the overloaded CalculateWeeklyPay method that
accepts a double "modifiedSalary" argument. The method shall
update the annualSalary attribute (use the AnnualSalary
property to ensure the value is valid), and then return the
updated weekly pay based on the new annual salary value.
STEP 4: Modify the Main Method
In the Main class, create code statements that perform the
following operations. Be sure you follow proper commenting
and programming styles (header, indentation, line spacing, etc.)
and use the ApplicationUtiltities methods to logically separate
the operations in the output.
To access a property of an object/class, you continue to use the
DOT notation; however, a property DOES NOT require the
parenthesis and you just use the assignment operator (=) to set
or get the value, which makes using propertys very easy. For
5. example to set the first name, the statement would look
something like:
employee1.FirstName = "John"
To get the full name, the statement would look look something
like:
theName = employee1.FirstName + " " + employee1.LastName
Notice, there is no use of parenethese, only the assignment
operator, when using properties.
The Main method code from the previous week's lab performed
the following operations, ensure that your project correctly
implements these operations before moving on the new
operations for this week.
1. Display the program information.
2. Create an Employee object using the default constructor.
3. Prompt for and then set the first name, last name, gender,
dependents, and annual salary. Remember to use the appropriate
methods in the InputUtilties class to prompt for and retreive the
values.
4. Display the employee information.
5. Create a second Employee object using the multi-argument
constructor using data of your choosing that is the correct type
and within the valid ranges for each of the attributes.
6. Display the Employee information for the second employee
object.
7. Terminate the application
Once your code is working and implements the previous week's
operations, modify the code to implement the following new
requirements (updated code should implement all previous
requirements except as noted below).
1. After the first employee information is provided, display the
number of employees created.
2. Prompt the user to provide an updated annual salary for
employee1, retrieve the value and invoke the overloaded
CalculateWeeklyPay, and then display only the updated weekly
pay.
3. Create a third Employee object using the parameterized
6. constructor setting each of the attributes with the following
values: "Sue", "Smith", 'F', 15, 500000.0
4. Display the employee information for the third Employee
object and verify that the dependents and annual salary values
have been set to the maximum values by the properties. If not,
make sure you change the parameterized constructor to use the
properties to set the attributes.
5. Display the number of employees created.
STEP 5: Compile and Test
When done, compile and execute your code. Debug errors until
your code is error-free. Check your output to ensure that you
have the desired output, modify your code as necessary, and
rebuild. The following shows some sample output, but your
output may look different.
On-screen output display:
*********************** Employee Information
**********************
First Name: John
Last Name: Doe
Gender: M
Dependents: 7
Annual Salary: $32,500.00
Weekly Pay: $625.00
total employees: 1
*********************** Employee Information
**********************
First Name: Mary
Last Name: Noia
Gender: F
Dependents: 5
Annual Salary: $24,000.00
Weekly Pay: $461.54
Total Employees:2
*********************** Employee Information
**********************
7. First Name: Sue
Last Name: Smith
Gender: F
Dependents: 10
Annual Salary: $100,000
Weekly Pay: $1,923.00
Total Employees:3
Press the ESC key to close the image description and return to
lecture.
STEP 6: Submit Deliverables
· Capture the output window and paste it into a Word
Document.
· Put the zip file and screen shots (Word document)
4/4.docx
STEP 1: Understand the UML Diagram
Analyze and understand the object UML diagram, which models
the structure of the program.
· There are no design changes to the Presentation Tier from the
previous project and InputUtilities and ApplicationsUtilities
classes are used without modification (except for changing the
Application Information).
· A new class called Benefits that holds the health insurance
company, life insurance amount, and vacation days. There are
constant attributes defined for each of the default values and the
minimum and maximum values. This composition relationhip is
specified in the UML class diagram as a solid diamond
connecting to the Emploee class.
· The Benefits class shall contain properties that contain get and
set methods for each of the attributes in the Benefits class, and
each attribute value shall be properly validated in the
properties.
· The Employee class contains a new attribute called benefit
that is of type Benefits. There will be a property in the
8. Employee class that can set and get the benefit attribute.
· Each constructor of Employee class will need to instansiate
the benefit attribute.
On-screen output display:
The image of the logic tier depicts 2 classes, the Employee
Class and the Benefits Class
Employee Class Diagram Description
What is depicted is a single column table with 3 rows. In the
first row is the large word "Employee".
In the row beneath this is a list of private parameters, indicated
with a "minus" symbol before them (but no space after), and
protected members parameters, indicated with a “pound” sign.
These are:
-MIN_DEPENDENTS int =0
-MAX_DEPENDENTS int = 10
-MIN_SALARY double = 20000
-MAX_SALARY double = 20000
-DEFAULT_NAME string = "Not given"
-DEFAULT_GENDER char = 'U'
#firstName : string = DEFAULT_NAME
#lastName : string = DEFAULT_NAME
#gender : char = DEFAULT_GENDER
#dependents : int = MIN_DEPENDENTS
#annualSalary : double = MIN_SALARY
#static numEmployees: int = 0
#benefit : Benefits
#employeeType : string
Note: only the instance members need to be set to protected, the
Properties themselves will remain public.
9. In the third and final row beneath this is another list of public
parameters, indicated with a "plus" symbol before them (but no
space after). These are:
+Employee()
+Employee(in type : string)
+Employee(in type : string, in first : string, in last : string, in
gen : char, in dep : int, in salary : double, in benefits : Benefit)
+ToString : string
+CalculateWeeklyPay() : double
+CalcuateWeeklyPay(in modifiedSalary :double)
Benefits Class Diagram Description
What is depicted is a single column table with 3 rows. In the
first row is the large word "Benefits".
In the row beneath this is a list of private parameters, indicated
with a "minus" symbol before them (but no space after). These
are:
-DEFAULT_HEALTH_INSURANCE string = “Blue Cross”
-MIN_LIFE_INSURANCE double = 0
-MAX_LIFE_INSURANCE double = 1000000
-MIN_VACATION int = 0
-MAX_VACATION int = 45
-healthInsuranceCompany : string =
DEFAULT_HEALTH_INSURANCE
-lifeInsuranceAmount : double = MIN_LIFE_INSURANCE
-vacationDays : int = MIN_VACATION
In the third and final row beneath this is another list of public
parameters, indicated with a "plus" symbol before them (but no
space after). These are:
+Benefit()
10. +Benefit(in health : string, in life : double, in vacation : int)
+ToString : string
Lastly, there is a line between the Employee class and Benefits
class indicating the HAS-A relationship. The Employee class
HAS-A Benefits class as a property. This denotes composition.
Press the ESC key to close the image description and return to
lecture.
STEP 2: Create the Project
You will want to use the Week 3 project as the starting point for
the lab. To do this, you will want to create a new project by
following these steps:
1. Create a new project named
"CIS247_WK4_Lab_LASTNAME". An empty project will then
be created.
2. Delete the default Program.cs file that is created.
3. Now that we are beginning to add more classes to our
projects the
Solution
Explorer can become difficult to organize so you will create
folders to hold the Presentation Tier and Logic Tier Files in
order to organize the project. One thing to remember, even
though we only have a few files in our project, a professional
program will have 100's if not 1000's of files in a project so you
will want to get practice in organizing your project files in a
logical folder heirarchy and we will use the Tiered Architecture
structure shown in the UML Class diagram for the folder
11. structure. You will find that creating folders within MS Visual
Studio is very similiar to creating folders in Windows Explorer.
Follow these directions to create the folders:
1. Select the project and then right click
2. Select Add
3. Select New Folder
4. Enter the name of the folder
4. Add the following three folders to your project (1)
Presentation Tier, (2) Logic Tier, and (3) Utilities.
5. You are going to add the files from the previous week lab to
the project just as you did before, but now you add the existing
files to the corresponding folder
6. Select the PresentationTier folder, right click and select Add
then Existing Item, navigate to your previous week's project and
select the InputUtitilies.cs and Program.cs files and click add.
These two files will then be added to the Presentation. [Hint:
you can also drag and drop the files directly from Windows
Explorer directly into the corresponding folder in your project!]
7. Add the previous week's Employee.cs file to the Logic Tier
folder. You will also add the new Benefits class to this folder.
8. Add the ApplicationUtilities.cs file to the Utilities folder.
9. Your solution explorer should look similiar to the following
(note: you can rename any folder by selecting the folder, right
click, and then Rename just like you do in Windows).
12. 10. The namespaces for the classes should all be "Employee",
but you should verify that the namespaces for all the classes are
the same.
11. Update the program information in the
ApplicationUtilities.DisplayApplicationInformation method to
reflect your name, current lab, and program description.
12. Build and execute the project.
STEP 3: Create the Benefits Class
Using the Benefit class diagram as a guide, build the Benefit
class by adding a new class to the Logic Tier folder.
1. Create a property for each of the listed private attributes and
validate the provided value using the following rules:
a. If the insurance company provided is empty or null then set
the healthInsuranceCompany to
DEFAULT_HEALTH_INSURANCE
b. If the provided life insurance value is between the
MIN_LIFE_INSURANCE and MAX_LIFE_INSURANCE
(inclusive) then set lifeInsuranceAmount to the provided value;
if the provided value is less than MIN_LIFE_INSURANCE set
the lifeInsuranceAmount to MIN_LIFE_INSURANCE; else if
provided value is greater than MAX_LIFE_INSURANCE; set
thelifeInsuranceAmount to MAX_LIFE_INSURANCE.
c. If the provided vacation days value is between the
MIN_VACATION and MAX_VACATION (inclusive) the set the
13. vacationDays to the provided value; if the provided value is less
than MIN_VACATION set the vacationDays to
MIN_VACATION; else if provided value is greater than
MAX_VACATION set the vacationDays value to
MAX_VACATION.
2. In the parameterized constructor, set the attributes so that the
properties are used, which ensures that attributes are validated
prior to be set.
3. Create an overridden ToString method that collects and
formats the attribute information for the benefit object. Ensure
to display life insurance amount in currency format.
STEP 4: Modify the Employee Class
Using the Employee class diagram as a guide, modify the
Employee class
1. Add a private attribute called "benefit" to the employee class
of type Benefits
2. Create a public Benefit property that returns the benefit
attribute. In the set method of the property, if the provided
value is null then re-instantiate the benefit variable; otherwise,
set the provided value to the benefit variable. [Hint: to check if
a object is null use the syntax "if (object != null)"]
3. In the default constructor, instantiate the benefit variable
using the Benefits default constructor
4. In the parameterized constructor, add a benefit argument of
14. type Benefits, and then set the value of this parameter to the
Benefit property (using the property will ensure that any null
benefit object is correctly instansiated.)
5. Modify the ToString method to the Employee class, by
adding a call to the Benefits ToString methods at the end of the
Employee ToString method.
STEP 5: Modify the Main Method
In the previous labs you learned how to access an object/class
methods and properties using the DOT notation. For example, to
access the calculatePay method of an employee object you used
a statement similiar to:
employee1.CalculateWeeklyPay(modifiedSalary)
Notice that the Employee class now has a public Benefit object
inside it. This means that you can access the set methods of the
Benefit object using the transitive notation:
containingObject.containedObject.methodName()
or
containingObject.containedObject.PropertyName
That is to access the members of contained object, you start at
the containing object, then "transit" to the contained object,
then to the contained objects members.
As an example, to set the life insurance amount of an employee
object, the statement would look something like:
employee1.Benefit.LifeInsuranceAmount = 100000;
Notice, the containing object is "employee1", the contained
15. object is "Benefit", and the property of Benefit we are accessing
is LifeInsuranceAmount.
The code in the previous week's project performed the following
operations
1. Display the program information.
2. Create an Employee object using the default constructor.
3. Prompt for and then set the first name, last name, gender,
dependents, and annual salary. Remember to use the appropriate
methods in the InputUtilties class to prompt for and retreive the
values.
4. Display the employee information.
5. After the first employee information is provided, display the
number of employees created.
6. Prompt the user to provide an updated annual salary for
employee1, retrieve the value and invoke the overloaded
CalculateWeeklyPay, and then display only the updated weekly
pay.
7. Create a second Employee object using the multi-argument
constructor using data of your choosing that is of the correct
type for each input.
8. Display the Employee information for the second employee
object.
9. Create a third Employee object using the parameterized
constructor setting each of the attributes with the following
values: "Sue", "Smith", 'F', 15, 500000.0
16. 10. Display the employee information for the third Employee
object and verify that the dependents and annual salary values
have been set to the maximum values by the properties. If not,
make sure you change the parameterized constructor to use the
properties to set the attributes.
11. Display the number of employees created.
12. Terminate the application
Once your code is working and implements the previous week's
operations, modify the code to implement the following new
requirements (updated code should implement all previous
requirements except as noted below).
1. After you collect the information for the first employee
object, prompt for and collect the Health Insurance Company,
the LifeInsuranceAmount, and the number of vacation days.
2. Display the updated employee 1 information
3. Display the number of employees created.
4. Create a new, standalone benefits object using the multi-
argument constructor using data of your choosing that is of the
correct type for each input.
5. Modify the second employee object instantiation and add the
newly created benefit object to the constructor call.
6. Display the updated employee 2 information
7. Display the number of employees created.
8. Create a new, standalone benefits object using the multi-
argument constructor using the following invalid data "" (empty
17. string), 10000000, -10
9. Modify the third employee object instantiation and add the
newly created benefit object to the constructor call.
10. Display the updated employee 3 information and verify that
the default values for the benefit object have been correctly set.
11. Display the number of employees created.
STEP 6: Compile and Test
When done, compile and execute your code. Debug errors until
your code is error-free. Check your output to ensure that you
have the desired output, modify your code as necessary, and
rebuild. The following shows some sample output, but your
output may look different.
On-screen output display:
*********************** Employee Information
**********************
First Name: John
Last Name: Doe
Gender: M
Dependents: 7
Annual Salary: $32,500.00
Weekly Pay: $625.00
Health Insurance Company: Tricare
Life Insurance Amount: $100,000
Vacation Days: 15
total employees: 1
18. *********************** Employee Information
**********************
First Name: Mary
Last Name: Noia
Gender: F
Dependents: 5
Annual Salary: $24,000.00
Weekly Pay: $461.54
Health Insurance Company: Tricare
Life Insurance Amount: $250,000
Vacation Days: 21
Total Employees:2
*********************** Employee Information
**********************
First Name: Sue
Last Name: Smith
Gender: F
Dependents: 10
Annual Salary: $100,000
Weekly Pay: $1,923.00
Health Insurance Company: not given
Life Insurance Amount: $250,000
Vacation Days: 0
Total Employees:3
Press the ESC key to close the image description and return to
19. lecture.
STEP 7: Submit Deliverables
· Capture the output window and paste it into a Word
Document.
· Put the zip file and screen shots (Word document)
5/5.docx
STEP 1: Understand the UML Diagram
Analyze and understand the object UML diagram, which models
the structure of the program.
· There are two new Employee derived classes (1) Salaried and
(2) Hourly that are derived from the Employee class.
· The Employee class contains a new attribute employeeType
and a new constructor that accepts as an argument the assigned
employee type.
· Both the Salaried and the Hourly classes override only the
CalculateWeeklyPay method of the Employee class (note, this is
the method without any parameters.)
· The Salaried class has one attribute "managementLevel" that
has possible values from MIN_MANAGEMENT_LEVEL to
MAX_MANAGEMENT_LEVEL and a BONUS_PERCENT.
· The Salaried class has a default constructor and parameterized
constructor that accepts all the general employee information
20. plus the management level.
· The Hourly has a wage attribute, which respresents the hourly
wage that ranges from MIN_WAGE to MAX_WAGE, a hours
attributes, which represents the number of hours worked in a
week that ranges from MIN_HOURS to MAX_Hours, and a
category attributes that accepts string values.
· The Hourly class has a default constructor and parameterized
constructor that accepts all the general employee information
plus the hours and wage value.
· The Presentation Tier contains two new classes (1) The
EmployeeInput class and the EmployeeOutput class
· The EmployeeInput class contains three static methods (1)
CollectEmployeeInformation, which accepts any type of
Employee object as a argument; (2) CollectHourlyInformation,
which accepts only Hourly objects as an argument, and (3)
CollectSalariedInformation, which accepts only Salaried objects
as an argument.
· The EmployeeOutput class contains two methods (1)
DisplayEmployeeInformation, which accepts any Employee type
as an argument and (2) DisplayNumberObjects method.
· All the access specifers for the Employee attributes are
changed to protected and are depicted with the "#" symbol.
Presentation Tier Description
The image of the presentation tier depicts 5 classes, the
Program Class, ApplicationUtilities, InputUtilities,
21. EmployeeInput, and EmployeeOutput. Only the EmployeeInput
and EmployeeOutput classes are describe here. Both utility
classes are the same as they were since given in Week 2.
Program changes based on lab specification, not formal
definition other than the Main method is specified.
EmployeeInput Class Diagram Description
What is depicted is a single column table with 3 rows. In the
first row is the large word "EmployeeInput".
The second row is blank. In essence there are no constructors
since the methods in this class are all static.
In the third and final row beneath this is a list of public
methods, indicated with a "plus" symbol before them (but no
space after). As stated previously, all these methods are static.
These are:
+CollectEmployeeInformation(in theEmployee : Employee)
+CollectHourlyInformation(in theEmployee : Hourly)
+CollectSalariedInformation(in theEmployee : Salaried)
Lastly, there is a line between the Program class and
EmployeeInput class indicating the uses relationship. The
Program class uses the static methods from EmployeeInput.
EmployeeOutput Class Diagram Description
What is depicted is a single column table with 3 rows. In the
first row is the large word "EmployeeOutput".
The second row is blank. In essence there are no constructors
since the methods in this class are all static.
22. In the third and final row beneath this is a list of public
methods, indicated with a "plus" symbol before them (but no
space after). As stated previously, all these methods are static.
These are:
+DisplayEmployeeInformation(in theEmployee : Employee)
+DisplayNumberObjects()
Lastly, there is a line between the Program class and
EmployeeOutput class indicating the uses relationship. The
Program class uses the static methods from EmployeeOutput.
Logic Tier Description
The image of the logic tier depicts 4 classes, the Employee
Class, the Benefits Class, the Hourly Class (derived from
Employee), and Salaried Class (also, derived from Employee).
Employee Class Diagram Description
Note: no change in structure from Week 4
What is depicted is a single column table with 3 rows. In the
first row is the large word "Employee".
In the row beneath this is a list of private parameters, indicated
with a "minus" symbol before them (but no space after), and
protected members parameters, indicated with a “pound” sign.
These are:
-MIN_DEPENDENTS int =0
-MAX_DEPENDENTS int = 10
-MIN_SALARY double = 20000
-MAX_SALARY double = 20000
23. -DEFAULT_NAME string = "Not given"
-DEFAULT_GENDER char = 'U'
#firstName : string = DEFAULT_NAME
#lastName : string = DEFAULT_NAME
#gender : char = DEFAULT_GENDER
#dependents : int = MIN_DEPENDENTS
#annualSalary : double = MIN_SALARY
#static numEmployees: int = 0
#benefit : Benefits
#employeeType : string
Note: only the instance members need to be set to protected, the
Properties themselves will remain public.
In the third and final row beneath this is another list of public
parameters, indicated with a "plus" symbol before them (but no
space after). These are:
+Employee()
+Employee(in type : string)
+Employee(in type : string, in first : string, in last : string, in
gen : char, in dep : int, in salary : double, in benefits : Benefit)
+ToString : string
+CalculateWeeklyPay() : double
+CalcuateWeeklyPay(in modifiedSalary :double)
Benefits Class Diagram Description
Note: no change in structure from Week 4
What is depicted is a single column table with 3 rows. In the
24. first row is the large word "Benefits".
In the row beneath this is a list of private parameters, indicated
with a "minus" symbol before them (but no space after). These
are:
-DEFAULT_HEALTH_INSURANCE string = “Blue Cross”
-MIN_LIFE_INSURANCE double = 0
-MAX_LIFE_INSURANCE double = 1000000
-MIN_VACATION int = 0
-MAX_VACATION int = 45
-healthInsuranceCompany : string =
DEFAULT_HEALTH_INSURANCE
-lifeInsuranceAmount : double = MIN_LIFE_INSURANCE
-vacationDays : int = MIN_VACATION
In the third and final row beneath this is another list of public
parameters, indicated with a "plus" symbol before them (but no
space after). These are:
+Benefit()
+Benefit(in health : string, in life : double, in vacation : int)
+ToString : string
There is a line between the Employee class and Benefits class
indicating the HAS-A relationship. The Employee class HAS-A
Benefits class as a property. This denotes composition.
Hourly Class Diagram Description
Note: this is new this week
What is depicted is a single column table with 3 rows. In the
25. first row is the large word "Hourly".
In the row beneath this is a list of private parameters, indicated
with a "minus" symbol before them (but no space after). These
are:
-MIN_WAGE : double = 10
-MAX_WAGE : double = 75
-MIN_HOURS : double = 0
-MAX_HOURS : double = 50
-wage : double
-hours : double
-category : string
In the third and final row beneath this is another list of public
parameters, indicated with a "plus" symbol before them (but no
space after). These are:
+Hourly()
+Hourly(in fname : string, in lname : string, in gen : char, in
dep : int, in wage : double, in hours : double, in ben : Benefit,
in category : string)
+CalculateWeeklyPay() : double
+ToString : string
There is an arrow pointing from the Hourly class to the
Employee class indicating the IS-A relationship. The Hourly
class IS-A type of Employee. This is an example of inheritance.
Salaried Class Diagram Description
Note: this is new this week
26. What is depicted is a single column table with 3 rows. In the
first row is the large word "Salaried".
In the row beneath this is a list of private parameters, indicated
with a "minus" symbol before them (but no space after). These
are:
-MIN_MANAGEMENT_LEVEL : int = 0
-MAX_MANAGEMENT_LEVEL : int = 3
-BONUS_PERCENT : double = .10
-managementLevel : int
In the third and final row beneath this is another list of public
parameters, indicated with a "plus" symbol before them (but no
space after). These are:
+Salaried()
+Salaried(in fname : string, in lname : string, in gen : char, in
dep : int, in sal : double , in ben : Benefit, in manLevel : int)
+CalculateWeeklyPay() : double
+ToString : string
There is an arrow pointing from the Salaried class to the
Employee class indicating the IS-A relationship. The Salaried
class IS-A type of Employee. This is an example of inheritance.
Press the ESC key to close the image description and return to
lecture.
STEP 2: Create the Project
You will want to use the Week 4 project as the starting point for
27. the lab. Use the directions from the previous weeks labs to
create the project and the folders.
1. Create a new project named
"CIS247_WK4_Lab_LASTNAME". An empty project will then
be created.
2. Delete the default Program.cs file that is created.
3. Add the Logic Tier, Presentation Tier, and Utilities folders to
your proejct
4. Add the Week 4 project files to the appropraties folders.
5. Update the program information in the
ApplicationUtilities.DisplayApplicationInformation method to
reflect your name, current lab, and program description
Note: as an alternative you can open up the Week 4 project and
make modifications to the existing project. Remember, there is
a copy of your project in the zip file you submitted for grading.
Before attempting this week's steps ensure that the Week 4
project is error free.
STEP 3: Modify the Employee Class
1. Change the access specifier for all the private attributes to
protected.
2. Add the new attribute employeeType, along with a "read
only" property (that is only a "get" method) to access the
employee type value.
3. Add a new constructor that only accepts the type attribute,
which is then used to set the employeeType value. Also, this
28. constructor should initialize all the default values. You can call
the default constructor using the syntax: public Employee(string
employeeType) : this() {}
4. Modify the parameterized constructor that accepts the
employee information to accept the employee type, and then set
the employeeType with this value.
5. Modify the ToString Method to include the employee type.
STEP 4: Create the Salaried Class
1. Using the UML Diagrams, create the Salaried class, ensuring
to specify that the Salary class inherits from the Employee
class.
2. For each of the constructors listed in the Salaried class
ensure to invoke the appropriate super class constructor and
pass the correct arguments to the super class constructor.
3. Override the CalculateWeeklyPay method to add a 10 percent
bonus to the annualSalary depending on the management level.
The bonus percent is a fixed 10 percent, and should be
implemented as a constant. However, depending on the
management level the actual bonus percentage fluctuates (i.e.,
actualBonusPercentage = managementLevel *
BONUS_PERCENT).
4. Override the ToString method to add the management level to
the employee information.
STEP 5: Create the Hourly Class
1. Using the UML Diagrams, create the Hourly classes, ensuring
29. to specify that the Hourly class inherits from the Employee
class.
2. For each of the constructors listed in the Hourly class ensure
to invoke the appropriate super class constructor and pass the
correct arguments to the super class constructor. Notice, that the
Hourly employee DOES NOT have an annual salary, which we
will then have to calculate (see below).
3. Create a Category property (get/set) and the valid category
types are "temporary", "part time", "full time".
4. Create a Hours property (get/set) for the hours attributes and
validate the input using the constants shown in the UML
diagram, but since an Hourly employee does not have a formal
annual salary we will need to calculate this each time the hour
(and wage) properties are set. Add the following code after the
validation code in the hours property: base.AnnualSalary =
CalculateWeeklyPay() * 48; (assumes working 48 weeks a
year).
5. Create an Wage property (get/set) for the wage attributes and
validate the input using the constants shown in the UML
diagram. Add the following code after the validation code in the
wage property: base.AnnualSalary = CalculateWeeklyPay() *
48; (assumes working 48 weeks a year)
6. Override the CalculateWeeklyPay method by multiplying the
wages by the number of hours.
7. Update the ToString method to add the category, hours, and
30. wages to the hourly employee information.
STEP 6: Create the EmployeeInput Class
1. Create a new class in the Presentation Tier folder called
"EmployeeInput"
2. Create a static void method called
CollectEmployeeInformation that has a single Employee
parameter. The declaration should look something like the
following:
public static void CollectEmployeeInformation(Employee
theEmployee)
3. Write code statements similiar to what you created in the
Week 4 project to collect the generic employee information
from the user, except instead of using specific employee objects
use the "theEmployee" parameters. For example:
In Week 4, you had something like:
employee1.FirstName =
InputUtilities.GetStringInputValue("First name");
In the CollectionEmployeeInformation method this can be
translated to the following;
theEmployee.FirstName =
InputUtilities.GetStringInputValue("First name");
31. 4. Write statements to collect all the generic employee
information, including the Benefits information, as you did in
the Week 4 project. However, since not all derived types have a
AnnualSalary value, DO NOT collect the annual salary data.
5. Create a new static void method called
CollectEmployeeInformation that accepts an Hourly employee
object. Using the InputUtilities methods write statements to
collect the wage and hours from the user.
6. Create a new static void method called
CollectSalariedInformation that accepts a Salaried employee
object. Using the InputUtilties methods write statements to
collect the management level and the annual salary.
STEP 7: Create the EmployeeOutputClass
1. Create a new class in the Presentation Tier folder called
"EmployeeOuput"
2. Create a static void method called
DisplayEmployeeInformation that has a single Employee
parameter. The declaration should look something like the
following:
public static void DisplayEmployeeInformation(Employee
theEmployee)
3. In the DisplayEmployeeInformation method write an output
statement that displays theEmployee object to string method to
the console.
32. 4. Create static method called DisplayNumberObject that
displays the number of employees created.
5. Invoke these methods from the main program to display the
employee information and number of objects created.
[Hint: move the the statements from the main program into
these methods.]
STEP 8: Create the Main Program
1. Create an array of type Employee that will hold three
employee objects. Create three new objects, one Employee, one
Hourly and one Salaried in positions 0, 1 and 2 of the array
respectively. Make sure to use the constructors the accept the
employee type and provide appropriate values for the employee
type (e.g. "Generic", "Hourly", "Salaried").
2. Using a FOR loop iterate through the array and collect all the
generic employee information, using the
EmployeeInput.CollectEmployeeInformation method.
3. If the current item in the array is an Hourly object, then use
the EmployeeInput.CollectHourlyInformation method to collect
the hourly information.
4. If the current item in the array is a Salaried object, then use
the EmployeeInput.CollectSalariedInformation method to
collect the salaried information.
Use the following if statement to determine the specific type of
object:
33. if (employeeList[i] is Hourly)
EmployeeInput.CollectHourlyInformation((Hourly)employeeLis
t[i]);else if (employeeList[i] is Salaried)
EmployeeInput.CollectSalariedInformation((Salaried)employee
List[i]);
5. After the information has been collected display the
employee information using the
EmployeeOutput.DisplayEmployeeInformation method.
6. Before terminating the program display the number of
employee objects that have been created.
STEP 9: Compile and Test
When done, compile and run your program.
Then debug any errors until your code is error-free.
Check your output to ensure that you have the desired output
and modify your code as necessary and rebuild.
The output of your program should resemble the following:
34. total Number of Employess in Database: 3
Press the ESC key to close the image description and return to
lecture.
STEP 10: Submit Deliverables
· Capture the console output window and paste into a Word
document.
· Put the zip file and screen shots (Word document)
6/6.docx
STEP 1: Understand the UML Diagram
Analyze and understand the object UML diagram, which models
the structure of the program.
· The Employee class has been specifed as abstract, which is
denoted by the name of the class being italized Employee
· The Employee class as a new method CalculateNetPay which
is an abstract method, denoted by the italized name of the
method. Since this method is an abstract method the
CalculateNetPay method WILL NOT have an implementation in
the Employee class.
· The Salaried and Hourly classes both have a new method
CalculateNetPay that is inherited from the abstract Employee
class and the Salaried and Hourly class both MUST implement
35. the CalculateNetPay method.The image of the logic tier depicts
4 classes, the Employee Class, the Benefits Class, the Hourly
Class (derived from Employee), and Salaried Class (also,
derived from Employee).
Employee Class Diagram Description
What is depicted is a single column table with 3 rows. In the
first row is the large word that is in italics "Employee". When a
class name is italicized it is abstract.
In the row beneath this is a list of private parameters, indicated
with a "minus" symbol before them (but no space after), and
protected members parameters, indicated with a “pound” sign.
These are:
-MIN_DEPENDENTS int =0
-MAX_DEPENDENTS int = 10
-MIN_SALARY double = 20000
-MAX_SALARY double = 100000
-DEFAULT_NAME string = "Not given"
-DEFAULT_GENDER char = 'U'
#firstName : string = DEFAULT_NAME
#lastName : string = DEFAULT_NAME
#gender : char = DEFAULT_GENDER
#dependents : int = MIN_DEPENDENTS
#annualSalary : double = MIN_SALARY
#static numEmployees: int = 0
36. #benefit : Benefits
#employeeType : string
Note: only the instance members need to be set to protected, the
Properties themselves will remain public.
In the third and final row beneath this is another list of public
parameters, indicated with a "plus" symbol before them (but no
space after). These are:
+Employee()
+Employee(in type : string)
+Employee(in type : string, in first : string, in last : string, in
gen : char, in dep : int, in salary : double, in benefits : Benefit)
+ToString : string
+CalculateWeeklyPay() : double
+CalculateWeeklyPay(in modifiedSalary :double)
+CalculateNetPay() : double
Note: the CalculateNetPay method is italicized, this means that
this is an abstract method.
Benefits Class Diagram Description
Note: no change in structure from Week 5
What is depicted is a single column table with 3 rows. In the
first row is the large word "Benefits".
In the row beneath this is a list of private parameters, indicated
with a "minus" symbol before them (but no space after). These
are:
-DEFAULT_HEALTH_INSURANCE string = “Blue Cross”
37. -MIN_LIFE_INSURANCE double = 0
-MAX_LIFE_INSURANCE double = 1000000
-MIN_VACATION int = 0
-MAX_VACATION int = 45
-healthInsuranceCompany : string =
DEFAULT_HEALTH_INSURANCE
-lifeInsuranceAmount : double = MIN_LIFE_INSURANCE
-vacationDays : int = MIN_VACATION
In the third and final row beneath this is another list of public
parameters, indicated with a "plus" symbol before them (but no
space after). These are:
+Benefit()
+Benefit(in health : string, in life : double, in vacation : int)
+ToString : string
There is a line between the Employee class and Benefits class
indicating the HAS-A relationship. The Employee class HAS-A
Benefits class as a property. This denotes composition.
Hourly Class Diagram Description
What is depicted is a single column table with 3 rows. In the
first row is the large word "Hourly".
In the row beneath this is a list of private parameters, indicated
with a "minus" symbol before them (but no space after). These
are:
-MIN_WAGE : double = 10
-MAX_WAGE : double = 75
38. -MIN_HOURS : double = 0
-MAX_HOURS : double = 50
-TAX_RATE : double = .82
-wage : double
-hours : double
-category : string
In the third and final row beneath this is another list of public
parameters, indicated with a "plus" symbol before them (but no
space after). These are:
+Hourly()
+Hourly(in fname : string, in lname : string, in gen : char, in
dep : int, in wage : double, in hours : double, in ben : Benefit,
in category : string)
+CalculateWeeklyPay() : double
+ToString() : string
+CalculateNetPay() : double
There is an arrow pointing from the Hourly class to the
Employee class indicating the IS-A relationship. The Hourly
class IS-A type of Employee. This is an example of inheritance.
Salaried Class Diagram Description
What is depicted is a single column table with 3 rows. In the
first row is the large word "Salaried".
In the row beneath this is a list of private parameters, indicated
with a "minus" symbol before them (but no space after). These
are:
39. -MIN_MANAGEMENT_LEVEL : int = 0
-MAX_MANAGEMENT_LEVEL : int = 3
-BONUS_PERCENT : double = .10
-TAX_RATE : double = .73
-managementLevel : int
In the third and final row beneath this is another list of public
parameters, indicated with a "plus" symbol before them (but no
space after). These are:
+Salaried()
+Salaried(in fname : string, in lname : string, in gen : char, in
dep : int, in sal : double , in ben : Benefit, in manLevel : int)
+CalculateWeeklyPay() : double
+ToString() : string
+CalculateNetPay() : double
There is an arrow pointing from the Salaried class to the
Employee class indicating the IS-A relationship. The Salaried
class IS-A type of Employee. This is an example of inheritance.
Press the ESC key to close the image description and return to
lecture.
STEP 2: Create the Project
You will want to use the Week 5 project as the starting point for
the lab. Use the directions from the previous weeks labs to
create the project and the folders.
1. Create a new project named
40. "CIS247_WK4_Lab_LASTNAME". An empty project will then
be created.
2. Delete the default Program.cs file that is created.
3. Add the Logic Tier, Presentation Tier, and Utilities folders to
your proejct
4. Add the Week 5 project files to the appropraties folders.
5. Update the program information in the
ApplicationUtilities.DisplayApplicationInformation method to
reflect your name, current lab, and program description.
Note: as an alternative you can open up the Week 5 project and
make modifications to the existing project. Remember, there is
a copy of your project in the zip file you submitted for grading.
Before attempting this week's steps ensure that the Week 5
project is error free.
STEP 3: Modify the Employee Class
1. Modify the class declaration of the Employee class to specify
that the Employee class is an abstract class
2. Declare an abstract method called CalculateNetPay that
returns a double value.
3. Modify the ToString Method to include the weekly net pay in
currency format.
STEP 4: Modify the Salaried Class
1. Add a double constant called TAX_RATE and set the value to
.73
2. Implement the CalculateNetPay method by multiplying the
41. weekly pay by the tax rate.
STEP 5: Modify the Hourly Class
1. Add a double constant called TAX_RATE and set the value to
.82
2. Implement the CalculateNetPay method by multiplying the
weekly pay by the tax rate.
STEP 6: Create the Main Program
1. Change the employeeList array to only hold two objects
2. Create one Hourly employee object and store it in the array.
3. Create one Salaried employee object and store it in the array.
4. As you did in the Week 5 lab, prompt for and collect the
information for each of the objects.
Note: iterating through the array should not require any changes
from the previous iteration of the project--but make sure that
the loop stays within the bounds of the array.
STEP 7: Compile and Test
When done, compile and run your program.
Then debug any errors until your code is error-free.
Check your output to ensure that you have the desired output
and modify your code as necessary and rebuild.
The output of your program should resemble the following:
total Number of Employess in Database: 2 Press the ESC key to
close the image description and return to lecture.
STEP 8: Submit Deliverables
42. · Capture the console output window and paste into a Word
document.
· Put the zip file and screen shots (Word document)
CIS247_WK2_Lab_Rosado.zip
CIS247_WK2_Lab_Rosado/ApplicationUtilities.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Employee
{
public class ApplicationUtilities
{
43. public static void DisplayApplicationInformation()
{
Console.WriteLine("Welcome the Basic Employee
Program");
Console.WriteLine("CIS247a, Week 2 Lab");
Console.WriteLine("Name: Danlel Rosado");
Console.WriteLine("This program accepts user input as
a string, then makes the nappropriate data conversion and
assigns the value to Employee objects");
Console.WriteLine();
}
public static void DisplayDivider(string outputTitle)
{
Console.WriteLine("n********* " + outputTitle + "
44. *********n");
}
public static void TerminateApplication()//this method
terminates the application
{
DisplayDivider("Program Termination");
Console.Write("Thank you. Press any key to terminate
the program...");
Console.ReadLine();
}
public static void PauseExecution()//this method pauses
the application
{
Console.Write("nProgram paused, press any key to
continue...");
61. using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Employee
{
class Employee
{
string firstName=string.Empty ;
string lastName=string.Empty ;
char gender;
int dependents=0;
62. double annualSalary=0;
double weeklyPay=0;
static void Main(string[] args)
{
Employee p = new Employee();//class instance
ApplicationUtilities.DisplayApplicationInformation();
ApplicationUtilities.DisplayDivider("Start Program");
ApplicationUtilities.DisplayDivider("Prompt for
Employee information and create first employee");
p.firstName = InputUtilities.getStringInputValue("First
Name");
p.lastName = InputUtilities.getStringInputValue("Last
Name");
69. // The following GUID is for the ID of the typelib if this project
is exposed to COM
[assembly: Guid("bfe61bca-e540-4ac0-9712-bfe946c2de04")]
// Version information for an assembly consists of the following
four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build
70. and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
CIS247_WK2_Lab_Rosado.sln
Microsoft Visual Studio