program cycle and concept of

  

Using program cycle and concept of top- down modular approach and pseudocode to design a suitable, write program using loops, conditionals, and file processing concept for Eversoft Eraser Company has a list of its customers’ names(not necessarily in alphabetical order) and telephone numbers in a file named customer with records of the following form: last name, first name, phone number
a. Allow the user to input a last name; then search the file and display all names and phone numbers corresponding to that last name.
b. Load the file into parallel arrays and display the list of customers’ names and phone numbers in alphabetical order.(Raptor can be used for part b of this program)

GO19_AC_CH02_GRADER_2F_HW – Student Publications 1.0

 GO19_AC_CH02_GRADER_2F_HW – Student Publications 1.0

  

Project Description:

In this project, you will use a database to answer questions about student publications at a college. You will import an Excel spreadsheet as a new table in the database, create a relationship between two tables, and create queries using numeric, compound, and wildcard criteria using the fields in one or both tables. You will create calculated fields, group data when calculating statistics, create a crosstab query, and create a parameter query.

     

Start Access. Open the file Student_Access_2F_Student_Publications.accdb downloaded with   this project.

 

Import   the records from the downloaded Excel file named a02F_Student_Papers.xlsx as a new table named 2F Student Papers into the database. Use the first row   of the Excel worksheet as the table column headings, and set Paper ID as the   primary key. Complete the wizard and do not save the import steps. After   importing the records, open the 2F Student Papers table and change the data   type of the Student ID field to Short Text. Apply Best Fit to the table, and   then save and close the table.

 

Using   Publisher ID as the common field, create a one-to-many relationship between   the 2F Publishers table and the 2F Student Papers table. Enforce referential   integrity and enable both cascade options. Create a relationship report with   normal margins, and then save the report as 2F Relationship   Report.   Close all open objects.

 

Create   a query in Query Design view based on the 2F Student Papers table to answer   the question, What is the Student ID, Home Campus, Award Paid, and Publisher   ID for awards greater than or equal to $50, sorted in ascending order by the   Student ID field? Display the fields in the order listed in the question.   Five records match the criteria. Save the query as 2F Awards $50 or More Query.

 

Copy   the 2F Awards $50 or More Query to create a new query with the name 2F 2nd Qtr NW Students Query. Redesign the query to answer the   questions, Which students (Student ID) from the Northwest   campus had papers published between 4/1/22   and 6/30/22, and what was the Paper Name, the   Award Paid, and the Category, sorted in ascending order by the Publication   Date field? Do not display the Home Campus field in the query results, and   display the rest of the fields in the order listed in the question. Three   records display. Close the query, saving the changes to the query.

 

Create   a query in Query Design view based on the 2F Student Papers table to answer   the question, Which Paper IDs, Paper Names, and Category for students from   the Southeast and Northeast   campuses were published that had an Award Paid greater than $25, sorted in   descending order by the Award Paid field? Display the fields in the order   listed in the question. Six records match the criteria. Run the query (six   records display). Save the query as 2F SE OR NE Over   $25 Query,   and then close the query.

 

Create   a query in Query Design view based on both tables to answer the questions,   Which Paper Names were published with a Publisher Name that has Texas as part of its name, what is the   Contact Name and Contact Phone Number, and what was the Award Paid, sorted in   descending order by the Award Paid field? (Hint: Use a wildcard character in   the criteria row.). Run the query (eight records display). Save the query as 2F Texas Publishers Query, and then close the query.

 

Create   a query in Query Design view based on the 2F Student Papers table to answer   the question, In ascending order by the Paper ID field, what will be the Federation Donation to the Writing Lab if the Federation   donates an additional 50 (.5)   percent of each award paid to students? Run the query (the first record—Paper   ID P-01—has a Federation Donation of 20).

 

Display   the query in Design view. In the fourth column of the design grid, create a   new field named Total Donation   that will answer the question, What is the total value of each scholarship   after the alumni association donates an additional 50%? Run the query (the   first record—Paper ID P-01—has   a Total Donation of $60.00).

 

Display   the query in Design view. Use the Property Sheet to format the Federation   Donation field as Currency with 2 decimal places, and then close the Property   Sheet. Run the query (for the Paper ID P-20, the Federation Donation is   $22.50 and the Total Donation is $67.50). Apply Best Fit to the fields, save   the query as 2F Federation Donation   Query,   and then close the query.

 

Create   a query in Query Design view based on the 2F Student Papers table and the Sum   aggregate function to answer the question, What are the total awards paid for   each Category, sorted in descending order by the Award Paid field? Use the   Property Sheet to format the Award Paid field with 0 decimal places, and then   close the Property Sheet. Run the query (for the Category of Student Life,   the sum of the awards paid is $265). Apply Best Fit to the fields, save the   query as 2F Awards by Category   Query,   and then close the query.

 

Use   the Query Wizard to create a crosstab query based on the 2F Student Papers   table with the Home Campus field as row headings and the Category field as   column headings. Sum the Award Paid field, and name the query 2F Campus and Category Crosstab Query.   Display the query in Design view. Use the Property Sheet to format the last   two columns with 0 decimal places, and then close the Property Sheet. Run the   query, and then apply Best Fit to the fields. Save the changes to the query,   and then close the query.

 

Create   a query in Query Design view based on the 2F Student Papers table that   prompts you to Enter the Home Campus,   and then answers the question, What is the Home Campus, Student ID, Paper   Name, Category, and Publication Date for student publications, sorted in   ascending order by the Publication Date field? Run the query, and when   prompted, enter southwest   as the criteria (seven records display). Save the query as 2F Campus Parameter Query, and then close the query.

 

Save   and close the database, and then submit for grading.

Rewrite TableGenerator

Rewrite TableGenerator and Table Dumper from the previous Lab

Write two new interfaces.

Change TableGenerator and Table Dumper to implement the new interfaces 

Rewrite your driver code  

———This zip is the work done by student————-

DATA BASE DESIGN

 Project

Can be any business other than a bicycle shop (sales/repair)

1 Person 20 Tables

2 People 38 Tables

3 People 56 Tables

4 People 74 Tables

(Average 5 Columns per table)

Should be normalized to 3rd Normal Form

1 (per person) instance where 1st, 2nd, or 3rd normal form is violated, give a detailed explanation as to why you designed this violation (you can have more than one, but it must be explained)

Create Select/Insert/Update/Delete statements for each table (other than  many-to-many tables)

Create at least 12 business rules, 10 should be built into the design (Per person)

Naming convention – explain the naming convention you used.

Data Dictionary

10 rows of dummy data in each table (where possible)

DDL Scripts for each table, PK, and FK

Using https://app.diagrams.net/ create the ERD using Crow’s Foot Notation (No other Notation will be accepted)

If you are working as a team, make sure it is obvious who created which pieces. Color code the ERD, showing who did what.

One person should submit the project for the team.

How Do You Form a Team

  • What are some typical challenges that occur as a team develops?
  • Which of these situations have you encountered when working with a team?
  • How did you and other team members react in these situations? Based on what you learned this week, were those reactions appropriate? How would you respond if your supervisor asked you what it means to “strengthen a team”

   200 Words

Discussion2

There are various enacted statutes that address different aspects of cybersecurity. What piece of legislation do you think has been most impactful in this realm and why? Be sure to give the name of the statute, a brief description discuss its purpose and how it has impacted cybersecurity from a law perspective.

HW

 

 

 

Your company specializes in pool cleaning and maintenance services, and you have identified a large health club that has several locations as a prospect and conducted research on the business. You think you have identified some opportunities to help the customer save money. One service option provides biweekly maintenance visits, and the customer pays monthly. Another involves monthly service visits and biannual training sessions at your customer’s business so that their staff can learn to perform routine maintenance tasks on their own.

You are preparing to approach the health club’s manager to set up a sales call. How would you approach the manager? What other type of information would you want to know before you make your approach? What role would each of the six Cs have in your approach?

Exercise Instructions:  You are required to submit a 2-Page (Title Page and Content Page), APA formatted paper with substantial content. Substantial content requires staying on topic and fully addresses the assignment in a clear, concise, and meaningful manner. The deliverable length of your posting responses must be at least 2-pages, (Title Page and Content Page) APA format.

Exercises must be the students original thoughts based on the topics from the “Open Educational Resource” (OER) Course Textbook and/or other referenced sources.  Direct quotes from references must be less than 20 words.  Please review for sentence structure, grammar and punctuation errors.  Plagiarized submissions may result in a “0” for the submission.  

Late submissions will be deducted 5 points.

All assignment(s) derive from the OER Textbook.  For academic purposes, at least 1 APA formatted reference is required pertaining to the topic(s).

Question

1. Write a program that takes a string of someone’s name and prints it out last name first.  Your program must use pointers, not array subscripts.  You may use the available string manipulation functions if you find an opportunity.  Example:
“XXXXX XXXXX”  
“XXXXX, XXXXX”

 
 

2. Write a program that will take a string of someone’s full name, and break it into separate strings of first name and last name, as well as capitalize the first letter of each.  Again, use pointers and string manipulation functions only.  Example:
“joseph smith”
“Joseph”  
“Smith”
 

3. Write a program that has the user enter two Strings. Display whether the first String is less than (comes first), equal to, or greater than (comes after) the first.

Week 5

 

Week 5 Assignment:

In order to complete assignment #5 you will need to answer the below questions. Please complete the questions in a Word document and then upload the assignment for grading. When assigning a name to your document please use the following format (last name_Assignment #5). Use examples from the readings, lecture notes and outside research to support your answers. The assignment must be a minimum of one (1) full page in length with a minimum of two (2) outside sources. Please be sure to follow APA guidelines for citing and referencing source. Assignments are due by 11:59 pm Eastern time on Sunday.

                               Question below

Describe the steps involved in modifying the default password policy in Oracle?

COMP 220 Lab 3

  

COMP 220 Lab 3
Inheritance: Baseball Player and Pitcher Classes

Objectives:

· Develop and apply an appropriate and useful inheritance hierarchy.

· Use multiple cpp and header files effectively to develop modular code.

Background

Assume that all baseball players, regardless of their position, have these two important statistics:

· rbi – runs batted in, a whole number (so you must data type int)

· batting average – real number percentage of hits per at-bat (a real number, so you must use data type double)

Pitchers are baseball players with an additional statistic, era (earned run average), a real number for earned runs per nine innings pitched (so you must use data type double).

Developing the Class Hierarchy

A logical class hierarchy for these two types of objects would use aPlayer class as a parent (base) class for a derived (child) Pitcherclass. The Pitcher class would include all the members of the Player class and have an additional (private) era data member, and, of course, appropriate (public) accessor, mutator and constructor methods.

         

This relationship is sometimes called a tree, but is also called a hierarchy, more particularly in this case, a class hierarchy. Note that the arrow points from derived (child) class to parent (base) class, which indicates the search path for executing member methods; if the method is not found in the Pitcher class, the compiler looks back to the parent class, Player, to find it.

File Organization (Class Header and Implementation Files, etc.)

Each class (in this case Player and Pitcher) will have its own header (.h) and implementation (.cpp) file, and, of course, there needs to be an executable file that actually uses the class (an application .cpp file with a main function). As with the classes previously developed in the course, the application will be a“driver” program that executes each member function at least once with an arbitrary, but specifictest case data set.

Requirements

Use the given Player class as a base class for Pitcher and add to the BaseballPlayerDriver file code to test the class with the data specified below.

Player class requirements:

1. Create with separate header (Player.h) and implementation (Player.cpp) files.

2. Two private data members, rbi and battingAverage.

3. A parameterized constructor that receives and sets the initial values for both rbi and battingAverage.

4. Two accessor (get) methods that return the values of the data members: getRbi and getBattingAverage.

5. Two mutator methods:

5.1. setRbi that receives a whole number and writes it to the rbi data member.

5.2. setBattingAverage that receives a real number and writes it to the battingAverage data member.

6. showAll accessor method that displays the values of both data members as shown here for an arbitrary test case for a player who has 10 rbi and batting average 0.1234:

rbi = 10
batting average = 123

Note that the battingAverage variable will be a floating point number (double), but it must be rounded and display as a digit integer.

Pitcher class requirements:

1. Pitcher class must be derived from Player class.

2. Create with separate header (Pitcher.h) and implementation (Pitcher.cpp) files.

3. One private data member, era.

4. A parameterized constructor that receives and sets the initial values for all three data members, rbi, battingAverage and era.

5. getEra accessor method that returns the value of era.

6. setEra mutator method that receives a real number and writes it to the era data member.

7. showAll function toover-ride the base class’s showAll function and do the following: call the base class’s showAll function to display the inherited data members’ values and, in addition, output the additional value, the pitcher’s era, as shown for an arbitrary test casefor a pitcher who has 10 rbi, batting average 0.1234 and era of 3.456:

rbi = 10
batting average = 123

era = 3.46

Note that the era variable will be a floating point number (double), but it must be rounded and display to decimal places.

BaseballPlayerDriver class requirements:

1. Tell the user you’re creating a Pitcher with 10 rbi, batting average 0.1234 and era 3.456.

2. Use the parameterized constructor to create to instantiate a Pitcher variable, p1 with initial values 10 rbi, batting average 0.1234 and era 3.456.

3. Tell the user you’re using the get methods to display the values of the data members.

4. Use cout and the three get methods to display the values.

5. Tell the user you’re using the showAll method to display the values of the data members.

6. Call the showAll method.

7. Tell the user you’re using setRbi to change it to 9.

8. Use setRbito change it to 9.

9. UseshowAllto display the data values.

10. Tell the user you’re using setBattingAverage to change it to 0.2345.

11. Use setBattingAverage to change it to 0.2345.

12. Use showAll to display the data values.

13. Tell the user you’re using setEra to change it to 5.678.

14. Use setEra to change it to 5.678.

15. Use showAll to display the data values.

Additional Requirement:

Use the const modifier for member functions that do not write to a data member to guarantee the data members are protected.

Report

Put all five files (Player.h, Player.cpp, Pitcher.h, Pitcher.cpp andBaseballPlayerDriver.cpp ) in a folder called FirstNameLastNameLab3Pitcher, zip it into a file named FirstNameLastNameLab3Pitcher.zip and submit it to the Week 3 Drop Box by the deadline.