Others
Calculate the number of colors issued per year. Add a comment to your code stating in which year the largest number of colors were issued.
INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS
Download the SAS data set named CRAYONS from Canvas and save it to your local machine. This data set contains information on standard Crayola crayon colors. The variables in this file are crayon number, color name, hexadecimal code, RGB triplet, pack added, year issued, and year retired.
- In a comment in your code, describe two different ways that you could view the variable attributes in this SAS data set.
- Using one of the methods described in part a), review the names, labels, and attributes of the variables in the SAS data set CRAYONS. Record the label and length for the variable Color as a comment in your program.
- Calculate the number of colors issued per year. Add a comment to your code stating in which year the largest number of colors were issued.
- Sorting the crayons by color using their names would be ineffective due to the uniqueness of the names, but the information found in the RGB triplets can be used instead. Sort the crayon data by RGB triplet.
- Print the sorted data showing only columns for the variables color name and RGB triplet.
Problem 2 (20 Points).
Download the SAS data set named SFF from Canvas and save it to your local machine.
The World Health Organization (WHO) collected data in countries across the world regarding the outbreak of swine flu cases and deaths in 2009. The SAS data set called SFF includes information on cases and deaths per country by month during the epidemic.
- Review the names, labels, and attributes of the variables in the SAS data set SFF. Record the name and length of the character variables as a comment in your program.
- Count the number of countries within each continent.
- Count the number of countries per continent that reported no cases during the first month of the outbreak (April) versus the number of countries per continent that had at least one case. Do the same for the last month of the outbreak (August).
- To find potential errors in the data, create a report for countries that reported a first death date, but reported no first case date. This output should include only the variables continent, country, first case date, last reported number of cases, and first death date.
- Add code that will organize the report from part d) so that the countries on the same continent are grouped together, and make sure that dates are presentable.
Related Questions
. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java
CS 340 Milestone One Guidelines and Rubric
Overview: For this assignment, you will implement the fundamental operations of create, read, update,
. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class
Retail Transaction Programming Project
Project Requirements:
Develop a program to emulate a purchase transaction at a retail store. This
. The following program contains five errors. Identify the errors and fix them
7COM1028
Secure Systems Programming
Referral Coursework: Secure
. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer
CS 340 Final Project Guidelines and Rubric
Overview The final project will encompass developing a web service using a software stack and impleme