QRB s design sectorization using complex programming . EQUATE to K….

Question Answered step-by-step QRB s design sectorization using complex programming . EQUATE to K…. QRB s design sectorization using complex programming . EQUATE to K.•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 [ExtendedAmount] for the present_value.•Use the value 0 for both future_value and type.Go to the Horizontal Navigation List Styles section. Karen has added a second navigation list thatshe wants to display horizontally. For all list items within the horizontal navigation list, style rule that displays the items as blocks with a width of 12.5% floated on the left margin.11. Go to the Topics Styles section. This section sets the styles for a list of four topics describing whatthe company is offering. Karen wants this list to also be displayed horizontally on the page. Forlist items within the ul element with the id topics,a style rule to: a) display the items asblocks with a width of 20%, b) float the items on the left margin, and c) set the size of the leftmargin space to 0% and the right margin space to 1.5%.12. Karen wants the topics list to be well away from the left and right edges of the page body. In thesame section, c rule that sets the size of the left margin of the first item in the topics list to7.75% and sets the right margin of the last item to 7.75%.13. In the same section, ca rule that displays the image within each list item in the topics list asa block with a width of 50% and centered within the list item block. (Hint: Set the left and rightmargins to auto.)14. Go to the HR Styles section. The hr element is used to display a horizontal divider betweensections of the page. Add a style rule that sets the width of the hr element to 50%.15. Go to the Customer Comment Styles section. In this section, you will create style rules for thecustomer comments displayed near the bottom of the page. For the ul element with the idcomments, a style rule that sets the width to 75% and centers the element by setting thetop/bottom margin to 40 pixels and the left/right margin to auto.16. Karen wants the list items to appear in two columns on the page. In the same section, cstyle rule for every list item in the comments list that: a) displays the item as a block with a widthof 50% floated on the left and b) sets the size of the bottom margin to 30 pixels.17. Every customer comment is accompanied by an image of the student. Karen wants theseimages displayed to the left of the comment.  style rule to display the image withineach comment list item as a block with a width of 20%, floated on the left, and with a left/rightmargin of 5%.18. a style rule for every paragraph nested within a customer list item that floats theparagraph on the left margin with a width of 70%.19. Go to the Footer Styles section anda style rule that displays the footer only when bothmargins are clear of floating objects.20. Save your changes to the file and then open the sp_home.html file in your browser. Verify thatthe layout and appearance of the page elements resemble that shown in Figure 3-66.Shipping Efficiency QueryYou will a query to calculate the number of days between the date an order was placed and the date the order was shipped for each order. The result of your work will be a list of orders that took more than 30 days to ship. The salespeople will be required to review the records and report the source of the delay for each order. The CEO feels there may be issues with one of the shipping companies, and would like data to back that up.aery using Query Design. From the Customers table, include the fields CompanyName, ContactName, ContactTitle, and Phone. From the Orders table, include the fields OrderID, OrderDate, and ShippedDate.b.Run the query and examine the records. Save the query as Shipping Efficiency.c.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 the ShippedDate; the results will not contain negative numbers.)d.Run the query and examine the results. Does the data in the DaysToShip field look accurate? Save the query.e.Add criteria to limit the query results to include only orders that took more than 30 days to ship.f.Add the Quantity field from the Order Details table and the ProductName field from the Products table to the query. Sort the query by ascending OrderID. When the sales reps contact these customers, these two fields will provide useful information about the orders.g.Add the caption Days to Ship to the DaysToShip field. Switch to Datasheet view to view the results. Adjust column widths as necessary.h.Save and close the query.Order Summary QueryThe CEO is considering the financial impact of discounts. She asked for a query showing the employee name, number of orders they have taken, and the total discount amount they have given customers. She hopes to see if there is a correlation between the discount offered and the number of sales.a.uery using Query Design and add the Orders, Order Details, Products, and Customers tables. Add the fields OrderID and OrderDate from the Orders table. Set both fields’ Total row to Group By.b.Add a calculated field in the third column. Name the field ExtendedAmount. This field should multiply the quantity ordered (from the Order Details table) by the unit price for that item (from the Products table). This will calculate the total amount for each order. Format the calculated field as Currency and change the caption to Total Dollars. Change the Total row to Sum.c.Add a calculated field in the fourth column. Name the field DiscountAmount. The field should multiply the quantity ordered, the unit price for that item, and the discount field (from the Customers table). This will calculate the total discount for each order. Format the calculated field as Currency and add a caption of Discount Amt. Change the Total row to Sum.d.Run the query. Examine the results. Most customers should have a discount of 10% of the total dollars, but some customers will have no discount. Save the query as Order Summary. Return to Design view.e.Add criteria to the OrderDate field so only orders made between 1/1/2016 and 12/31/2016 are displayed. Change the Total row to Where. This expression will display only orders that were placed in 2016.f.Run the query and view the results. Adjust column widths as necessary. Save and close the query.Order Financing QueryThe CEO would like the salespeople to discuss financing with customers. In order to do so, she would like you to a query showing the impact on price for prior orders. This way, the reps can give customers a comparison with an order they have already placed. For the moment, she is considering a 5% interest rate, paid over 12 months. She would like you to leave the results as negative numbers.aa copy of the Order Summary query named Order Financing.b.Open the Order Financing query in Design view and remove the DiscountAmount field.c.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 [ExtendedAmount] for the present_value.•Use the value 0 for both future_value and type.d.Change the Total row to Expression for the SamplePayment field.e.Change the Format for the SamplePayment field to Currency.f.Run the query and examine the results. Adjust column widths as necessary. The results appear as negative numbers, as requested. Save and close the query.Order Summary by Country QueryThe company is planning on opening up some shipping centers internationally. The previous CEO had been considering Brazil, Denmark, and Germany as potential shipping center locations, but he was working from older data. You will provide a list of total shipment value by country for the year before the current CEO started to best inform her decision making.a.Ccopy of the Order Summary query named Order Summary by Country.b.Open the query in Design view. Replace the OrderID field with the Country field from the Customers table.c.Run the query and examine the summary records; there should be 21 countries listed.d.Switch to Design view and change the sort order so that the country with the highest ExtendedAmount is first and the country with the lowest ExtendedAmount is last.e.Run the query and verify the results. Note the ExtendedAmount field has a caption of Total Dollars, so this is the field the query will be sortthe layout and appearance of the page elements resemble that shown in Figure 3-66.Shipping Efficiency QueryYou will a query to calculate the number of days between the date an order was placed and the date the order was shipped for each order. The result of your work will be a list of orders that took more than 30 days to ship. The salespeople will be required to review the records and report the source of the delay for each order. The CEO feels there may be issues with one of the shipping companies, and would like data to back that up.aery using Query Design. From the Customers table, include the fields CompanyName, ContactName, ContactTitle, and Phone. From the Orders table, include the fields OrderID, OrderDate, and ShippedDate.b.Run the query and examine the records. Save the query as Shipping Efficiency.c.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 the ShippedDate; the results will not contain negative numbers.)d.Run the query and examine the results. Does the data in the DaysToShip field look accurate? Save the query.e.Add criteria to limit the query results to include only orders that took more than 30 days to ship.f.Add the Quantity field from the Order Details table and the ProductName field from the Products table to the query. Sort the query by ascending OrderID. When the sales reps contact these customers, these two fields will provide useful information about the orders.g.Add the caption Days to Ship to the DaysToShip field. Switch to Datasheet view to view the results. Adjust column widths as necessary.h.Save and close the query.Order Summary QueryThe CEO is considering the financial impact of discounts. She asked for a query showing the employee name, number of orders they have taken, and the total discount amount they have given customers. She hopes to see if there is a correlation between the discount offered and the number of sales.a.uery using Query Design and add the Orders, Order Details, Products, and Customers tables. Add the fields OrderID and OrderDate from the Orders table. Set both fields’ Total row to Group By.b.Add a calculated field in the third column. Name the field ExtendedAmount. This field should multiply the quantity ordered (from the Order Details table) by the unit price for that item (from the Products table). This will calculate the total amount for each order. Format the calculated field as Currency and change the caption to Total Dollars. Change the Total row to Sum.2. Go to the sp_home.html file in your editor. Within the document head, create links to the sp_base.css, sp_styles.css, and sp_layout.css style sheet files. Study the content and structure of the file and then save your changes to the document.3. Go to the sp_layout.css file in your editor. Go to the Window and Body Styles section. style rule for the html element that sets the height of the browser window at 100%.4. style rule for the page body that sets the width to 95% of the browser window rangingfrom 640 pixels up to 960 pixels. Horizontally center the page body within the browser window.Finally, Karen wants to ensure that the height of the page body is always at least as high as thebrowser window itself. Set the minimum height of the browser window to 100%.5.style rule to apply the Border Box model to all header, ul, nav, li, and a elements inthe document.6. Go to the Row Styles section. Karen has placed all elements that should be treated as grid rowsin the row class. For every element of the row classstyle rule that expands the elementto cover any floating content within the element. (Hint: Use the technique shown in the tutorialthat employs the after pseudo-element.)7. Go to the Page Header Styles section. In this section, you will create styles for the content ofthe body header. tyle rule for the logo image within the body header that displays theimage as a block with a width of 70% of the header, floated on the left margin.8. The header also contains a navigation list that Karen wants to display vertically. C stylerule for the nav element within the body header that: a) floats the navigation list on the left,b) sets the size of the left and right padding to 2%, and c) sets the width of the navigation listto 30% of the width of the header.9. The hypertext links in the navigation list should be displayed as blocks. Cyle rule for every aelement in the header navigation list that displays the element as a block with a width of 100%.10. Go to the Horizontal Navigation List Styles section. Karen has added a second navigation list thatshe wants to display horizontally. For all list items within the horizontal navigation list,style rule that displays the items as blocks with a width of 12.5% floated on the left margin.11. Go to the Topics Styles section. This section sets the styles for a list of four topics describing whatthe company is offering. Karen wants this list to also be displayed horizontally on the page. Forlist items within the ul element with the id topics,a style rule to: a) display the items asblocks with a width of 20%, b) float the items on the left margin, and c) set the size of the leftmargin space to 0% and the right margin space to 1.5%.12. Karen wants the topics list to be well away from the left and right edges of the page body. In thesame section, c rule that sets the size of the left margin of the first item in the topics list to7.75% and sets the right margin of the last item to 7.75%.13. In the same section, ca rule that displays the image within each list item in the topics list asa block with a width of 50% and centered within the list item block. (Hint: Set the left and rightmargins to auto.)14. Go to the HR Styles section. The hr element is used to display a horizontal divider betweensections of the page. Add a style rule that sets the width of the hr element to 50%.16. Karen wants the list items to appear in two columns on the page. In the same section, cstyle rule for every list item in the comments list that: a) displays the item as a block with a widthof 50% floated on the left and b) sets the size of the bottom margin to 30 pixels.17. Every customer comment is accompanied by an image of the student. Karen wants theseimages displayed to the left of the comment.  style rule to display the image withineach comment list item as a block with a width of 20%, floated on the left, and with a left/rightmargin of 5%.18. a style rule for every paragraph nested within a customer list item that floats theparagraph on the left margin with a width of 70%. Computer Science Engineering & Technology Software engineering Share QuestionEmailCopy link Comments (0)