Lab exercise

   

Payroll Lab

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

   

An example file:

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

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

An additional example file:

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

Frank 106101 0.095 F3

Mark 76881 0.091 F3

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

Anika 8 8 8 8 8 F2

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

   

Last in the row after the hours comes the pay grade (F1, F2, F3, F4). The number of hours recorded is based on the pay grade of the employee. F1 and F2s will have 5 numbers for their hours. F3s are commission based where a sales amount and a commission percentage is given. F3s are also assumed to work 30 hours if their commission is 10% or below and 40 hours if their commission is above 10%. F4s will have 7 numbers (as they are on-call during the weekend). Each of the pay grades will also have different pay calculations which are as follows:

F1 = The total number of hours * 11.25
F2 = (The total number of hours – 35) * 18.95 + 400
F3 = The total sales amount * the commission rate
F4 = The first 5 hourly totals * 22.55 + Any weekend hourly totals (the last 2) * 48.75

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

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

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

   

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

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

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

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

   

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

   

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

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

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

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

   

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

Scoring Breakdown

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

5% bonus to those who can output the F# responses in a columned output like that shown above.

5% order the employees in the roster according to their F status, F1’s first, then F2’s and so on.
5% bonus to those who do a chart comparing the data at the end to show the relation between the pay grades and the amount of salary spent in each (they style of chart is up to you and more points may be given for more difficult charts (like a line chart):

   

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

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

  

Or event something like this instead:

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

Email encryption

Your task is to perform and document encryption of Thunderbird Email. You will describe each step in the process and provide screenshots of the email involved.

The requirements for your work are:

  • Install Thunderbird Mail.

  • Use any Gmail account to encrypt an email message.

  • Capture each significant action in separate Word documents, including the following in each:

    • A screenshot of the unencrypted item.

    • A screenshot of the item encrypted.

    • A description of the steps performed.

  • Submit all of the files as a .zip file

1Character and String Class Methods

  

Task #1Character and String Class Methods
 

2. In the Time.java file,add conditions to the decision structure which validates
the data. Conditions are needed that will
a) Check the length of the string
b) Check the position of the colon
c) Check that all other characters are digits
3. Add lines that will separate the string into two substrings containing hours and
minutes. Convert these substrings to integers and save them into the instance
variables.
4. In the TimeDemo class,add a condition to the loop that converts the user’s
answer to a capital letter prior to checking it.
5. Compile,debug,and run. Test out your program using the following valid
input:00:00,12:00,04:05,10:15,23:59,00:35,and the following invalid input:
7:56,15:78,08:60,24:00,3e:33,1:111.
 

Task #2 StringTokenizer and StringBuilder classes
1. Copy the file secret.txt(code listing 10.3) from www.aw.com/cssupportor as
directed by your instructor. This file is only one line long. It contains 2
sentences.
2. Write a main method that will read the file secret.txt,separate it into word
tokens.
3. You should process the tokens by taking the first letter of every fifth word,
starting with the first word in the file. These letters should converted to capitals,
then be appended to a StringBuilder object to form a word which will be printed
to the console to display the secret message.

Exp19_Excel_Ch12_Cap_Bulldog_Collectibles | Exp19_Excel_Ch12_Cap_Inventory

#Exp19_Excel_Ch12_Cap_Bulldog_Collectibles

 #Exp19_Excel_Ch12_Cap_Inventory 

 Project Description:

You are the operations manager for Bulldog collectables, a small start-up company that deals with sports memorabilia. As you prepare to document your inventory, you decide to utilize a template to save time. To complete this task, you will create a worksheet based on an Office.com template; you will also use the Macro Recorder and Visual Basic for Application to automate sorting and calculations within the workbook.

     

Start   Excel. Download and open the file named EXP19_Excel_Ch12_Cap_Inventory.xlsx. Grader has automatically added   your last name to the beginning of the filename. 

 

Delete the Inventory Pick List   and Bin Lookup worksheets.

 

Delete the INVENTORY PICK LIST   and BIN LOOKUP icons located respectively in cells E2 and F2. Then Clear all   existing Data Validation in the range A1:K15.

 

Delete the values in the range   B5:J15.

 

Record a macro named Sort, be sure to use relative   references. Ensure the macro sorts the data in the table in ascending order   based on SKU (column A). Stop the Macro Recorder and Save the workbook as a   Macro-Enabled Template.

 

Create a form control button   that spans the cell E2:E3. Assign the Sort macro and edit the button text to Sort.

 

Use the VBA Editor to create a   new module.
 

  Type the following VBA code to create a custom Inventory Value function then   save and exit the VBA Editor (be sure to leave a blank line between each line   and before End Function):
 

Function   InventoryValue (QTY, COST)
 

InventoryValue   = QTY * COST
 

 

Click cell J5 and use the newly   created InventoryValue function to calculate the value of the inventory for   each item in column I.

 

Use the VBA Editor to create a   new module named ProtectWorkbook. Type the following VBA statements to create the   sub procedure (leave appropriate line spacing).
 

Sub   ProtectWorkbook()
 

‘Protect   workbook using the password eXploring
Worksheets(“Inventory   List”).Protect Password:=”eXploring”

 

Insert a new module named UnprotectWorkbook. Type the following VBA   statements to create the sub procedure and then save and exit the VBA Editor   (leave appropriate line spacing).
 

Sub   UnprotectWorkbook()
 

‘Unprotect   workbook using the password eXploring
Worksheets(“Inventory   List”).Unprotect Password:=”eXploring”

 

Insert a Form Control Button   spanning cells F2:F3 named Unprotect. Assign the UnprotectWorkbook macro to the newly   created Control Button.

 

Insert a Form Control Button   spanning the range G2:H3 named Protect. Assign the macro ProtectWorkbook.

 

Insert the comment Inventory   based on values in column J. in cell B3 (include the period).

 

Insert the comment Count of   items in column C.   in cell C3 (include the period).

 

Inspect the document for private   information and hidden properties. Save the file when prompted then remove   Document Properties and Personal Information, and Headers and Footers.
 

  Note: Mac users, from the Excel menu, open your preferences, click Security,   and then click the check box to Remove personal information from this file on   save. Delete any headers or footers in the workbook.

 

Check the document for   accessibility issues. Use the Accessibility Checker pane to change the cell   styles to Normal in order to repair the issue.

 

Check the document for   compatibility with Excel 2010, 2013, and 2016.
 

  Note: Mac users, skip this step.

 

Insert a new worksheet named Code.

 

Open the VBA Editor, open Module   1, and copy the code. Paste the code in the Code worksheet starting in cell   A1. 

 

In the VBA Editor, open Module   2, and copy the code. Paste the code in the Code worksheet starting in cell   A22. 

 

In the VBA Editor, open the   ProtectWorkbook, and copy the code. Paste the code in the Code worksheet   starting in cell A28. 

 

In the VBA Editor, open the   UnprotectWorkbook module, and copy the code. Paste the code in the Code   worksheet starting in cell A35. 

 

Close the VBA Editor and save   the workbook as an xlsx file (not Macro-Enabled).

 

Close EXP19_Excel_Ch12_CAP_Inventory.xlsx. Exit Excel. Submit the file   as directed.

Complexity of Information Systems Research

  delivery.php (ssrn.com) 

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3539079

This week’s journal article was focused on the Complexity of Information Systems Research in the Digital World.  Complexity is increasing as new technologies are emerging every day.  This complexity impacts human experiences.  Organizations are turning to digitally enabled solutions to assist with the emergence of digitalization. 

Please review the article and define the various technologies that are emerging as noted in the article.  Note how these emerging technologies are impacting organizations and what organizations can to do to reduce the burden of digitalization.

 

  • A minimum of five peer-reviewed journal articles.
  •  3 pages in length 

Exp19_Excel_Ch11_ML1_Internships

  

Exp19_Excel_Ch11_ML1_Internships

Exp19 Excel Ch11 ML1 Internships

 Excel Chapter 11 Mid-Level 1 – Internships 

  

Project Description:

As the Internship Director for a regional university, you created a list of students who are currently in this semester’s internship program. You have some final touches to complete the worksheet, particularly in formatting text. In addition, you want to create an advanced filter to copy a list of senior accounting students. Finally, you want to insert summary statistics and create an input area to look up a student by ID to display his or her name and major.

     

Start Excel. Download   and open the file named Exp19_Excel_Ch11_ML1_Internships.xlsx.   Grader has automatically added your last name to the beginning of the   filename.

 

You want to extract   the last four digits of the student’s ID.
 

  In cell B2 on the Students sheet, extract the last four digits of the first   student’s ID using the RIGHT function. Copy the function from cell B2 to the   range B3:B42.

 

After extracting the   last four digits of the ID, you want to align the data.
 

  Apply center horizontal alignment to the range B2:B42.

 

The first and last   names are combined in column C. You want to separate the names into two   columns.
 

  Convert the text in the range C2:C42 into two columns using a space as the   delimiter.

 

You want to convert   the text in column F to upper and lowercase letters.
 

  Use a text function in cell G2 to convert the text in cell F2 into upper and   lowercase letters. Copy the function to the range G3:G42.

 

Now that you have   converted text from uppercase to upper and lowercase, you will hide the   column containing the majors in all capital letters.
 

  Hide column F.

 

You want to create a   criteria range for the dataset.
 

  Create a criteria range by copying the range A1:I1 and pasting it in cell   A44. Create conditions
  for Senior Accounting majors on row 45 and an OR   condition for Junior Accounting majors in the respective cells   on row 46

 

You are ready to   perform the advanced filter.
 

  Create an output range by copying the range A44:I44 to cell A48. Perform the   advanced filter by copying data to the output range. Use the appropriate   ranges for list range, criteria range, and output range

 

On the Info   worksheet, you want to insert a database function based on conditions.
 

  Display the Info worksheet and insert the DSUM function in cell B2 to   calculate the total tuition for junior and senior accounting students. Use   the range A1:I42 for the database, Tuition for the field, and   the criteria range.

 

You want to insert   database functions to perform calculations.
 

  In cell B3, insert the DAVERAGE function to calculate the average GPA for junior and   senior accounting students on the Students worksheet. Use mixed references in   the ranges.

 

You want to identify   the highest GPAs for junior and senior accounting majors.
 

  In cell B4, insert the DMAX function to identify the highest GPA for junior and   senior accounting students on the Students worksheet. Use mixed references in   the ranges.

 

In cell B5, insert   the DMIN function to identify the lowest GPA for junior and   senior accounting students on the Students worksheet. Use mixed references in   the ranges.

 

In cell B6, insert   the DCOUNT function to count the number of junior and senior accounting
  students on the Students worksheet. Use mixed references in the ranges.

 

In cell B9, insert   the DGET function to retrieve the last name of the student who has the ID   listed in cell A9. Use the column number representing the Last Name column   for the field argument and use the criteria range A8:A9. Edit the function to   make the column letters absolute. Copy the DGET function from cell B9 to cell   C9. Edit the field number to represent the GPA column.

 

You want to format   the results of the database functions.
 

  Format the range B3:B6 with Comma Style. Decrease the number of decimal   places to zero
  for cell B6.

 

You want to identify   the location of a particular ID.
 

  Insert the MATCH function in cell B13 to identify the position of the ID   stored in cell B12. Use
  the range A2:A42 in the Students worksheet as the lookup_array argument and   look for exact
  matches only.

 

Insert the INDEX   function in cell B14 with Students!A$2:I$42 as the array, B$13 that contains
  the MATCH function as the row number, and 4 as the column number. Copy the   function from cell B14 to cell B15. Edit the function to change the column   number to 7.

 

Change the ID in cell   B12 to 11282378. The results of the MATCH and INDEX functions
  should change.

 

You want to insert a   function to display other functions as text.
 

  Insert the FORMULATEXT function in cell D2 to display the formula that is   stored in cell B2.
  Copy the function to the range D3:D6 and to the range D13:D15. In cell D8,   insert the
  FORMULATEXT function to display the function that is stored in cell B9, and   in cell D9, insert
  the FORMULATEXT function to display the function that is stored in cell C9.

 

Increase the width of   column D to 50.

 

Create a footer with   your name on the left side, the sheet name code in the center, and the file   name code on the right side on all sheets.

 

Save and close Exp19_Excel_Ch11_ML1_Internships.xlsx.   Exit Excel. Submit the file as directed.

U4discussion

In a short paragraph, explain your main idea (such as cybersecurity, network errors, website accessibility, etc.) and why it is of interest to you.

Under the paragraph, provide a bulleted list of at least four focused, open-ended research questions that are related to this topic. Again, the unit Reading should provide some guidance.

  • Write your initial post in your own words; do not quote or copy from sources.
  • Do not copy the discussion question into your post.
  • Write an original descriptive subject line for your initial post.
  • Write with formal, professional language.
  • Work to meet all posting guidelines and expectations.

IT 505-1 week2

BUSINESS CASE: New-Horizon Insurance Company needs your service to establish a new IT network.  Main parameters of the given case.

New-Horizon company has a four-story office building in the city. There are four offices in that building.  In each office, there will be

  • 25 desktop computers
  • 10 portable/laptop computers and need a wireless connection (WiFi)
  • One network printer for all employees in each section.
  • All office computers must have access to the network 

So, there are four local area networks in the building.

You should be developing and drawing network diagrams. Your name and the company name must be written on each diagram. You should label all network devices in your diagrams.

Question 1: 

Develop and draw a network diagram of LOCAL AREA NETWORK for one Office Section only. You will be presenting only one of the LANs in the building. Draw only one LAN considering one of the offices in the main building.

Question 2: 

Draw the block diagram for INTRANET to connect all LANs in the main building. All computers in the main building will be connected to each other with this network. There is one database for customer all transactions. All computers in the main building should have access to this database.  This is your Backbone Network Diagram.

Here you should represent all LANs by using a simplified LAN diagram that was covered during the virtual class. 

Question 3: 

Finally, you should be connecting all computers in the main building to the INTERNET as well.

Use https://www.draw.io  to develop/draw three network diagrams. And place them in your MS Word document and upload them.  

In your network diagram; You should write your name on the upper right section of the DRAW.io diagram and export it as JPEG. And insert into your answer MS Word document.

Rules and guidelines 

Follow proper guidelines 

If there is a diagram(s) then the word count is between min 100 and max 400 words.

msit

  • What server(s) are the most important to protect and why?
  • What criteria would you use to determine which servers to protect first?
  • What are some of the methods you would use to protect the different services?