Programming

General information/requirements/grading rules

  1. Adhere to the naming conventions discussed in class for variable names, program name and function names
  2. Use meaningful names for variables
  3. If there are two words in the variable use first word lowercase and first letter of second wordupper case i.e., firstName or underscore between 2 words i.e first_name
  4. Include appropriate comments in the code
  5. Output should be displayed exactly as mentioned against each problem
  6. Indent the lines of code appropriately

1.numeric.py  (20 Points)

Write a program that prompts the User to enter a number between the range of 1 through 10. The program should display the Roman Numeral version of that number. If the number is outside the the range of 1 through 10, the program should display the error message. The output should display the data in table as shown below:

Hints:

Prompt user to enter a number.

Use a ‘if /elif’ to verify if the number entered is within the range and display output accordingly. 

If the number is out of range, display the following error message : ”Error: Invalid Number’.

Output should look like:

Number                   Roman Numeral

1                                 I

2                                 II

3                                 III

4                                 IV

5                                 V

6                                 VI

7                                 VII

8                                 VIII

9                                 IX

10                                 X

  1. dollar.py   (30 Points)

Write a program that finds number of Dollars, quarters, dimes, nickels, pennies given an amount.

Hints:

              Prompt user to enter an amount

              Find number of one dollars (remember to convert total amounts to pennies)  

              Find number of quarters in the remaining amount

              Find number of dimes in the remaining amount

              Find number of nickels in the remaining amount

              Find number of pennies in the remaining amount

              Display results

Expected Output:

Your amount 10.63 consists of

               10 dollars

               2 quarters

               1 dimes

               0 nickels

               3 pennies

3. dates.py   (20 Points)

Design a program that asks the user to enter a month (in numeric form), a day, and a 2 digit year. The program should then determine whether the month * day is equal to the year. If so, it should display a message saying the date is magic. Otherwise, it should display a message saying the date not magic.

Hint:

Prompt user to the month, day, and year in two digit format

Verify the month input if it is between 1 and 12. Display error message otherwise.

Verify the day input if it is between 1 and 31. Display error message otherwise.

Verify the year input if it is between 0 and 99. Display error message otherwise.

If the inputs are valid, evaluate the magic date.

Expected output: 

If user enters a month as 7, day as 3, year as 21, the it should display as follows:

The date is  7 / 3 / 21
This is a magic date.

4. leapYear.py (30)

Write a program that asks the User to enter a year. The program should display the number of days in February that year. Use the following criteria to identify leap years: 

   1. Determine whether the year is divisible by 100.  If it is, then it is a leap year and if only if it is also divisible            by 400. For example,        

        2000 is a leap year but 2100 is not.

    2. If the year is not divisible by 100, then it is a leap year and if only if it is also divisible by 4. For example, 

         2008 is a leap year but 2009 is not.

Hints:

              Prompt user to enter a year

             Use nested if to verify if the year is divisible by both 100 & 400

                  determine if the leap year is ‘True or False’

            Use Else to o verify if the year is divisible by 4  (if year %4 == 0: )

                  determine if the leap year is ‘True or False’

             Now use IF and Else to print if the year entered is a leap year or not.

Output

If entered 2008, the output should display: That is a leap year. February has 29 days.

If entered 2009, the output should display:  That is not a leap year. February has 28 days.

Assignment: Case Study of a Criminal Offender

  

Assignment: Case Study of a Criminal Offender
In this assignment, you will develop a case study for a well-known criminal offender. Begin by selecting one criminal offender from the following high-profile individuals:
• ***** *****
• Jeffrey Dahmer
• Aileen Wournos
• Kip Kinkel
• Bernie Madoff
• Charles Manson
Research your selected case and complete the following:
• Describe the charges against the individual.
• Discuss the biological, developmental, and environmental factors that relate to the criminal behavior.
• Discuss the theories that could be applied to explain their actions.
• Analyze whether mental illness, substance abuse/dependence, or psychopathy factors contributed to the criminal action(s).
• Describe your reaction to the court verdict and if you agree or disagree with the final disposition. If you agree, make sure that you thoroughly defend that position. If you do not agree, include what you believe would be the appropriate verdict and use appropriate reasoning.
Remember to provide examples from the offender’s history, referring to course materials as well as a minimum of five external sources. For example, journal articles, books, credible Web sites, and newspaper articles may be used to support your explanation. Your external sources must include at least two peer-reviewed journal articles.
Write a 3–5-pages paper in Word format. Apply APA standards to citation of sources. Be sure to include a tile page and reference page in APA format.

security control

 

Module 03 Content

  1. For this part of your Course Project, you will use the following Trust Service Principle:
    “Logical access security software, infrastructure, and architectures have been implemented to support (1) identification and authentication of authorized users; (2) restriction of authorized user access to system components, or portions thereof, authorized by management, including hardware, data, software, mobile devices, output, and offline elements; and (3) prevention and detection of unauthorized access.”
    Add at least 5 security controls into the XYZ Security Controls Matrix which can be used by XYZ Technologies to adhere to the above trust service principle. Each column of information should include the following:
    XYZ Security Control Matrix.docx

    • Control Activity – The written security control for XYZ Technologies
    • Evidence of Performance of Control – A description of the evidence used to validate the function of the control.
    • Test Plan – How the control will be tested to determine is operating effectiveness.
    • Review Interval – How often the control will be tested throughout the recording period: Daily, Weekly, Monthly, Quarterly, Bi-Annual, Annually
    • Additional requirements are: all three criteria in the trust service principle should be addressed by at least one control.
      Submit your completed assignment by following the directions linked below. Please check the Course Calendar for specific due dates.

ops

Part 1: 

Using the Internet and/or the Library research and complete the following: 

In a minimum of 1000 words, respond to the following: 

  • What are the major considerations of organizational security policies? (minimum 750 words)
  • Create two possible policies regarding risk assessment and analysis. (minimum 250 words) 

Part 2: 

In 250 or more words for each answer, respond to the following: 

  • What should the acceptable use policy cover and why?
  • What types of information should be covered in a commercial organization’s data classification policy and why?
  • What are some effective ways to get user buy-in of security policies? 

Write a program for the Bookstore

  

Write a program for the Bookstore. The main application will declare a table to hold the names of the items ordered as well as the prices.
Create a class named Menu that will display the following:WELCOME TO ***** FROM THE FOLLOWING:
ENTER 1 TO PURCHASE A TEXTBOOK
ENTER 2 TO ORDER SUPPLIES
ENTER 3 TO ORDER LOGO CLOTHINGReturn the selected value back to the main program and, depending on the value, you will call one of three subroutines:Supplies – Sample menu – DO NOT DISPLAY THE PRICES IN THE MENU!:
PLEASE SELECT FROM THE FOLLOWING SUPPLIES:
ENTER 1 FOR PRINTER PAPER $12
ENTER 2 FOR 3 SUBJECT NOTEBOOK $12
ENTER 3 FOR 2019 PLANNER $10
ENTER 4 FOR 6 PK SCANTRON $2Textbook – Sample menu:
PLEASE SELECT FROM THE FOLLOWING TEXTBOOKS:
ENTER 1 FOR JAVA PROGRAMMING $128
ENTER 2 FOR OFFICE 2016 W/SNAP CODE $178
ENTER 3 FOR VISUAL C# $152
ENTER 4 FOR JAVASCRIPT $120Clothing – Sample menu:
PLEASE SELECT FROM THE FOLLOWING ITEMS:
ENTER 1 FOR KNIT BEANIE $10
ENTER 2 FOR T SHIRT $15
ENTER 3 FOR FLEECE HOODIE $25
ENTER 4 FOR WINDBREAKER $41Each subroutine will move the item name and price into the table (Hint: Table must be sent to the subroutine) After allowing the user to order 3 items (Hint: Perform Varying), then display from main the items as well as a grand total for their order. (Sales Tax not included).

Building an economy: Government planning vs. entrepreneurial innovation

Find a peer-reviewed scholarly journal article discussing government planning and/or entrepreneurial innovation. Complete a review of the article by writing a 2-3 page overview of the article. This will be a detailed summary of the journal article, including concepts discussed and findings. Additionally, find one other source (it does not have to be a peer-reviewed journal article) that substantiates the findings in the article you are reviewing.Once you find the article, you will read it and write a review of it. This is considered a research article review.Your paper should meet these requirements: 

  • Be approximately 3-4 pages in length, not including the required cover page and reference page.
  • Follow APA 7 guidelines. Your paper should include an introduction, a body with fully developed content, and a conclusion.
  • Support your answers with the readings from the course and at least two scholarly journal articles to support your positions, claims, and observations, in addition to your textbook.

GRCA JUNE 1

Please use the same EXCEL sheet that you used to input HOW and WHAT in the blue sections,

ADD the who, where, when, and why in the salmon sections

Submit the sheet with both the blue and salmon sections filled in.

Please create an APA-7-compliant References page with all 3 or 4 references you found. 

(the title page and references page must be one document, with numbered pages 1 and 2)

PLEASE use the resources in your manual pages 19-20 and page 28also attached hereAND the template below. Remember, there are VERY specific rules about capitalization and italics. You have a “ways to get help” document in your content folder.