DIVE Scoring Program

  

DIVE Scoring Program
 

Your mission: The state diving commission wants to computerize the scoring at its diving competitions. You’ve been hired to write a program to automate the scoring of dives. Following are the requirements for the program.
 

After each dive, the user will be prompted to enter the:
 

diver’s name;
diver’s city;
degree of difficulty (ranges from 1.00 to 1.67); and
scores from five judges (scores can range from 0 to 10).
If an invalid score is entered, an error message will be displayed. The user will be prompted for the score repeatedly until a valid score is entered.
 

The program will then display the following information:
 

Diver’s name
Diver’s city
Dive final score: This is calculated by dropping the highest and lowest of the five judges’ scores. The remaining three scores are added together, and the result is divided by 3 and then multiplied by the degree of difficulty.
The program will then prompt the user if she/he wants to process another dive. The user can type “Y” or “y” to continue, and “N” or “n” to quit.
 

Sample output:
 

Diver’s name: Sue Jones
Diver’s city: Dallas
Dive degree of difficulty: 1.9
Invalid degree of difficulty – Please reenter (Valid Range: 1 – 1.67)
Dive degree of difficulty: 2
Invalid degree of difficulty – Please reenter (Valid Range: 1 – 1.67)
Dive degree of difficulty: 1.2
 

Judge #1 score: 45
Invalid score – Please reenter (Valid Range: 0 – 10)
Judge #1 score: 3
Judge #2 score: 4.5
Judge #3 score 6.7
Judge #4 score 89
Invalid score – Please reenter (Valid Range: 0 – 10)
Judge #4 score 8
Judge #5 score: 9.2
 

Diver: Sue Jones
City: Dallas
Dive score: 7.68
 

Do you want to process another dive (Y/N)? y
 

Diver’s name: XXXXX XXXXX
Diver’s city: Houston
Dive degree of difficulty: 1.1
Judge #1 score: 5.7
Judge #2 score: 6.8
Judge #3 score:: 7.6
Judge #4 score: 8.7
Judge #5 score: 6.7
 

Diver: XXXXX XXXXX
City: Houston
Dive score: 7.74
 

Do you want to process another diver (Y/N)? N
 

Tips
 

Best practice: Note that a good way to implement the code is to write a first version for only a single dive without validating input. Put yourself in the place of the program. What steps would you personally need to perform in order to process a single dive yourself? Write out those steps on paper as pseudocode and/or in Visual Studio as C# XXXXX and then implement them one by one, testing as you go. After you have a single dive process working, implement one of the input validations, or the outer loop that repeats the whole process. Whichever you choose, remember to not write too much at one time. Always add and test functionality incrementally!
 

Pseudocode: Although there are several valid ways to write the program, the following is an outline of one way to design the overall logic.
 

Declare and initialize variables: name, city, judge score, highest score, lowest score, total score
Loop while there are dives to process
 

Get diver’s name and city
Get degree of difficulty
Loop to validate input
End Loop
 

Loop five times to get judges’ scores
Loop to Validate input
End Loop
Update highest and lowest scores if need be
Add score to total score
 

End Loop
 

Calculate the final score (subtract highest and lowest scores from total score, divide by 3, multiply by degree of difficulty)
 

Display the diver’s information and final dive score
Prompt the user if he or she wants to process another dive
End-Loop
 

The code and screenshots have to be on ms word

Bistro Site Questions

  

Bistro Site Questions

Please answer all of the following questions. Each answer should be two sentences.

  1. Why is it necessary to have a default image folder?
  2. What is the only file that should be in the root directory of the site?
  3. What is the difference between absolute and relative links?
  4. What is cloaking and why should it be used

 Place answers in an MS Word file called Project-03FDL

———————————————————————————————

 

Bistro Site Questions

Discuss the following

You are creating a site from scratch

  • Define your site structure and the file naming rules
  • How would you take advantage of Search Engine Optimization

Discussion should be at least 6 to 7 sentences. 

quiz

Person,Gender,Heardofcondition,Set,@1st,@2nd,@3rd,@4th,Combination,VideoAGenUnderstandingCONDITION,VideoBdoctorUnderstandingCONDITION,VideoCOldUnderstandingCONDITION,DEMOUnderstandingCONDITION,TotalAGen,TotalBdoc,TotalCOld,TotalDDEMO

7

Need 250 to 300 words with references for each discussion in 2 separate documents. No APA format required and the textbook is attached.

Home work

 

Describe the plain view doctrine, and why  it has such a significant impact on digital forensics? What are three approaches to determining whether the doctrine applies to a specific case.

Use your own words and do not copy  the work of another student.

Attach your WORD document here.(300 Words)

Assignment

  

A Security Awareness Program plays an important role in defining the security posture of an enterprise. When managers consider the nature of risk an organization is exposed to, the threats fall into two distinct categories: the risk of disaster and the risk of intentional abuse.

Using the online library resources, industry websites or published articles (scholarly or trade) find two sources which describe how security awareness impacts the success of an enterprise’s security posture. Write a short paper (2 to 3 pages) which provides description of the components of the Security Awareness Program, the type of security threats it addressed (disaster versus intentional abuse), and the effects on the attitudes and behaviors of members of the enterprise.

Please list your reference/s