Exp19_Access_Ch03_Cap – Brilton Madley Games 1.0

 

Exp19_Access_Ch03_Cap – Brilton Madley Games 1.0

Brilton Madley, a board game  manufacturer, hired a new CEO. She asked for your assistance in  providing summaries of data that took place before she started with the  company. To help her with her strategic planning, you will create  queries to perform data analysis. Based on your meeting, you plan on  creating four queries. One query will find orders with minor delays.  Another query will summarize company revenue and cost by country. A  third query will be used to help evaluate payments made by customers on  their orders. The final query will calculate the total sales by sales  representative title.

Create a query using Query Design.   From the Customers table,  include the fields FirstName, LastName, and Phone   (in that order).  From the Orders table, include the fields OrderID,   OrderDate, and  ShippedDate (in that order). Run the query and then examine the records.  Save the query as Shipping   Efficiency.

Add   a calculated field named DaysToShip   to  calculate the number of days taken to fill each order. (Hint: the    expression will include the OrderDate and ShippedDate fields; the  results   will not contain negative numbers.) Run the query and then  examine the   results. Save the query.

Add   criteria to limit the query results to include any order that took more than 30 days to ship.

Add the Quantity field from the   Orders table and the ProductName  field from the Products table to the query   (in that order). Sort the  query by ascending LastName.

Add the caption Days to Ship to the DaysToShip field. Switch to   Datasheet view to view the final results. Save and close the query.

Create a query using Query Design and   add the Customers, Orders,  and Products tables. Add the Country field from   the Customers table.  Set the field’s Total row to Group By. Save the   query as Revenue and Cost by Country.

Add a calculated field in the second   column. Name the field TotalRevenue.    This field should multiply the quantity ordered (from the Orders  table) by   the unit price for that item (from the Products table).  Format the calculated   field as Currency and change the caption to Total Revenue.   Change the Total row for the TotalRevenue field to Sum.

Add a calculated field in the third   column. Name the field TotalCost.    The field should multiple the quantity ordered (from the Orders  table) by the   unit cost for that item (from the Products table).  Format the calculated   field as Currency   and add a caption of Total Cost.   Change the Total row to Sum. Run the query. Save the query. Return to Design   view.

Add the OrderDate field and criteria   to that field so that only orders made between 7/1/2018   and 12/31/2018  are displayed. Change the Total row   to Where. This expression will  display only orders that were completed during   the second half of  2018. Run the query and view the results. Save and close   the query.

Create   a copy of the Revenue and Cost by Country query named Customer Payments.  Switch to Design view of the new   query and remove the Country,  TotalCost, and OrderDate fields. Add the   FirstName and LastName  fields. Move the TotalRevenue field to the end. Rename   the  TotalRevenue field to OrderTotal.   Change the caption to Order Total.

Add   a new field using the Expression Builder named SamplePayment.   Insert the Pmt function with the following parameters:
 •   Use .05/12 for the rate argument (5% interest,   paid monthly)
 •   Use the number 12   for the num_periods argument (12 months)
 •   Use the calculated field OrderTotal   for the present_value
 •   Use 0 for both future_value and type

Change   the Total row to Expression for the SamplePayment field.  Change the Format   for the SamplePayment field to Currency. Run the  query and verify the second   order(with LastName Sparks) has a sample  payment of $26.80. Note: it will   display as a negative number. Save  and close the query.

Create   a copy of the Revenue and Cost by Country query named Revenue by Sales Rep.  Switch to Design view of the new   query and remove the entire  Customers table, the TotalCost, and OrderDate   fields. Add the Sales  Reps table. Add the Title field from the Sales Reps   table and move it  to the front of the TotalRevenue field.
 

Run   the query and then examine the summary records; there should be  4 Titles   listed. Switch to Design view and change the sort order so  that the title   with the highest TotalRevenue is first and the title  with the lowest   TotalRevenue is last. Run the query and verify the  results. Save and close   the query.

Creating good password security

 An IT Security consultant has made three primary recommendations regarding passwords:

  1. Prohibit guessable passwords
    • such as common names, real words, numbers only
    • require special characters and a mix of caps, lower case, and numbers in passwords
  2. Reauthenticate before changing passwords
    • user must enter old PW before creating a new one
  3. Make authenticators unforgeable 
    • do not allow email or user ID as a password

Using WORD, write a brief paper of 200-300 words explaining each of these security recommendations along with 2 references.  Do you agree or disagree with these recommendations? Would you change, add or delete any of these?  Add additional criteria as you see necessary. 

ITSD322U3DB

 

Modern applications can be complex and working on a programming team can raise that complexity even further. Classes offer a way to reduce that complexity by isolating teams from each other’s work. For example, one team can develop a class that includes all the necessary properties and methods for connecting the application to a database. Another team might develop a class that utilizes a remote Web service, such as package tracking at UPS or FedEx.

Discuss possible classes that might be used in a distributed application, such as e-commerce, order handling or inventory management. You may include the two mentioned above and be creative in your posts. Suggest properties and methods for these classes and explain how the class might be used.

In your replies to fellow students, suggest additional classes that might be applicable, and discuss additional properties and methods that could be added to their classes.

CPT Experience Discussion

 

Have you learned concepts from your coursework that have helped you during your externship?  Discuss specific content that has been applicable to your job and how you have implemented what you are learning into your current position.

Have learning experiences during your externship been beneficial to your academic progress?  Discuss specific experiences that you have applied to your academic projects.

python programming

 

  1. Create a Parent folder with the following name: lastname_Chapter2Exercises
  2. Create a Program folder for each program (5, 8 ,12)
  3. Complete the Programming Exercises doing both the flowchart and the code in python.
  4. When complete, zip the parent folder and submit in the drop box 

300 words

Cloud computing

 Include a short paragraph describing your project and how you intend to research it. 

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