C++ I programming

 

Overview

For this assignment you will be building two main components. A menu system and several drawing routines.

The menu system will operate on a whitelist principle and prompt the user for the type of drawing they want and its size. A whitelist is a list of accepted inputs with anything not on the list rejected.

The drawings will all be ASCII shapes of user specified size.

Menu System

The menu should prompt the user for a command and if it is not a valid command, respond it is invalid and prompt again. The commands it needs to respond include:

  • help – This will print a list of all accepted inputs and re-prompt the user.
  • quit – This will terminate the program.
  • square – This will initiate the square drawing.
  • box – This will initiate a box drawing.
  • diagonaldown – This will initiate a diagonal down line.
  • diagonalup – This will initiate a diagonal up line.
  • checkerboard – This will initiate a checkerboard pattern.

The matching for the commands should be case insensitive. That is “Help”, “help”, and “hElP” will all trigger the help command.

Drawings

There are several drawings that your program needs to support

Square

When a square is drawn it will first prompt the user for a size. Valid sizes are 1 through 15 inclusive. An example square of size 5 is

*****
*****
*****
*****
*****

Box

When a box is drawn it will first prompt the user for a size. Valid sizes are 3 through 15 inclusive. An example box of size 5 is

*****
*   *
*   *
*   *
*****

Diagonal Down

When a diagonal down line is drawn, it will first prompt the user for a size. Valid sizes are 3 through 15 inclusive. An example line of size 5 is

*    
*   
 *  
  *
   *

Diagonal Up

When a diagonal up line is drawn, it will first prompt the user for a size. Valid sizes are 3 through 15 inclusive. An example line of size 5 is

    *
  *
 *  
*   
*    

Checkerboard

When a checkerboard drawn, it will first prompt the user for a size. Valid sizes are 5 through 15 inclusive. An example line of size 10 is

* * * * * 
* * * * *
* * * * *
* * * * *
* * * * *
* * * * *
* * * * *
* * * * *
* * * * *
* * * * *

Tips

  • Write your program iteratively. You shouldn’t ever write more than a few lines of code without compiling and testing it.
  • Start with small pieces. It isn’t reasonable to sit down and write the whole program from beginning to end. The pieces you build should ultimately fit together to build the whole program.
  • It is easiest to draw the various shapes using nested for loops.
  • One way to build the program is as follows:
    1. Write a function that accepts user input and validates it against the list of command. Start with it being case sensitive and then add case insensitivity.
    2. Write the functionality to print out a help message, quit, and re-prompting the user on invalid input.
    3. Start with one of the drawings, say a square. Create a function to draw a square. Initially make it draw a fixed size, then allow for it to draw an arbitrary size.
    4. Write a function to prompt the user for a size within a specified range. This function should validate the input is in the specified range and re-prompt if it is outside. Make sure to write this function so that it can be used for multiple drawings which may have different size constraints.
    5. Integrate your size prompt function to fully draw your first chosen shape.
    6. At this point your program should have close to full functionality, with the only thing missing being other shapes.
    7. Add the remaining shapes to the program using the infrastructure you have already built.

Example Output

User input is in bold

Please enter a command: bad
Invalid command
Please enter a command: hElP
Acceptable commands: help, quit, square, box, diagonaldown, diaonalup, checkerboard
Please enter a command: square
Please enter a size between 1 and 15: -1
The value -1 is not in a valid range.
Please enter a size between 1 and 15: 16
The value 16 is not in a valid range.
Please enter a size between 1 and 15: 5

*****
*****
*****
*****
*****

Please enter a command: box
Please enter a size between 3 and 15: 2
The value 2 is not in a valid range.
Please enter a size between 3 and 15: 5

*****
*   *
*   *
*   *
*****

Please enter a command: diagonaldown
Please enter a size between 3 and 15: 7

*      
*     
 *    
  *   
   *  
    *
     *

Please enter a command: diagonalup
Please enter a size between 3 and 15: 7

     *
    *
   *  
  *   
 *    
*     
*      

Please enter a command: checkerboard
Please enter a size between 5 and 15: 13

* * * * * * *
* * * * * *
* * * * * * *
* * * * * *
* * * * * * *
* * * * * *
* * * * * * *
* * * * * *
* * * * * * *
* * * * * *
* * * * * * *
* * * * * *
* * * * * * *

Please enter a command: quit

PreviousNext
 

Java

1. Describe the key architecture points in a high capacity enterprise solution processing over 100/000 TPS?

2. What are the key breakage points in the architecture? How would you improve upon them?

3. Describe a defect that you encountered in your code that impacted production. Why was it not caught pre-deployment? How did you handle the remediation of this fault?

Research Topic

paper must be from 6 – 10 pages excluding the required pages like title page, menu and so on.

The paper must consists of 4 sections – Introduction. Literature Review, Details and Conclusion

RTP

Topic: Create summary tables that address relevant factors related to COVID-19

1) effectiveness of multifactorial strategy prevent secondary transmission

2) Effectiveness of workplace distancing

3) How does temperature and humidity affect the transmission of 2019-nCoV? 

4) Effectiveness of personal protective equipment (PPE)

Reference:  https://www.kaggle.com/allen-institute-for-ai/CORD-19-research-challeng

NOTE:

In this project, you will follow your own interests to create a portfolio worthy single-frame viz or multi-frame data story that will be shared in your presentation. You will first create a project to identify your goals for the project, including the question you wish to answer or explore with data. You will then find data that will provide the information you are seeking. You will then import that data into Tableau and prepare it for analysis. Next you will create a dashboard that will allow you to explore the data in depth and identify meaningful insights. You will then give structure to your data story by writing the story in narrative form. Finally, you will consult your design checklist to craft the final viz or data story in Tableau. 

APA FORMAT, 8 PAGES LENGTH and should have at least two figures or graphs or tables(data visualization) and 5 to 6 peer reviewed journals

Discussion 2 HRM

You are responsible for planning and conducting diversity training for your organization. List and explain a minimum of three topics that you would include in the training and explain your rationale.

APA format 300 words and intent citations and at-least 2 peer reviewed articles as references.

Discussion_Clustering_Algorithms

Many partitional clustering algorithms that automatically determine the number of clusters claim that this is an advantage. List two situations in which this is not the case.

Need 250 words with references. No APA format required.

Assignment Lab 6

 

Technology Acceptable Use Policy (AUP) 

FileName: AUP_YourLastName.docx

Upload the file for grading below

You are the owner of a new technology corporation, Acme Technology, LLC., and charged with the responsibility of writing new Acceptable Use Policy (AUP) for the organization.  Based upon  Week 6 readings of Chapters 16, 17, 18 and 19, write the text of the AUP that you propose.  Consider defining major the terms, stating organization policy related to the terms, stating organization penalties for violations, applicable state, and federal laws from which you derive the language.  (See Chapter 4 of the course materials)

You are writing this policy from scratch, please review the following three corporation’s (Amazon, Microsoft and Dell Corporations) samples of AUPs to assist in the process.  

Upon sucessful completion of the New AUP, Upload: AUP_YourLastName.docx for grading purposes.

Please NO PLAGIARISM

Need 1 and a half page 

Need it in APA FORMAT with References 

bharg discussion

 Networks have changed drastically over the last 30 years.  With the first introduction of the 56k modem, which was about 3 typewriter pages per second, to speeds well over 1Gbps these days, the ability to use networks globally, has changed the way we do business.  Using research, determine where networks will go in the next 5-10 years and how that might impact the global economy.