The Software
Engineering Code of Ethics and Professional Practice contains eight (8)
principles related to the behavior of and decisions made by professional
software engineers, including practitioners, educators, managers, supervisors,
and policymakers, as well as trainees and students of the profession. After
reading the materials uploaded in the google classroom, write a minimum of 250
words of commentary about it and its impact/benefits to us as users/readers of
this code.
A survey asks a person the percent of time at work they spend working, web-surfing, socializing, eating, and daydreaming. The person should enter the percents as 5 integers that should add to 100. Read 5 integers, and output OK if they sum to 100. Otherwise, output "Total should be 100. Your total: ___".
If the input is 20 30 10 10 30, the output is: OK
If the input is "80 10 10 10 5", the output is:
Total should be 100. Your total: 115
Consider “iris.arff” dataset. Perform classification using Decision Tree with the following training and testing configurations: (a) 10-Fold Cross Validation (b) Training-Testing Split of 80%-20%
Consider “supermarket.arff” dataset. Implement Association Analysis to figure out the products sharing strong association. [15 marks]
“Our state of the art algorithm allows you to simply input the width and height of your skyscraper, and using a specially trained machine learning model, it would automatically generate a “star” (*) image of the entire structure. Specifically, the foundation of the building would always be width + 2 stars wide, while the top of the tower contains 1 star if the width is an odd number, or 2 stars if the width is an even number. Are you ready to see how it works?”
Apart from the base and the top level of the tower, every level starts and ends with a white space(" ").
The first line will contain a message prompt to width of the skyscraper.
The second line will contain a message prompt to height of the skyscraper.
The succeeding lines will contain the skyscraper pattern.
For example:
Output:
Enter·width·of·skyscraper:·5
Enter·height·of·skyscraper:·10
*
*****
*****
*****
*****
*****
*****
*****
*****
*******
Create class BinaryStore & Byte
overloaded +=in BinaryStore
overloaded + for Byte Class
overloaded - Byte Class
overloaded || for Byte Class
overloaded && for Byte Class
overloaded == Byte Class
int main()
{
// address 4 bit bytes 8 bit long
BinaryStore b1(10);
b1+="0011";
b1.Add("0011",Byte("00000010"));
cout<<b1;
b1+="0110";
b1.Add("0110",Byte("00000110"));
b1+="1010";
Byte nb=b1.Get("0011")+b1.Get("0110");
b1.Add("1010",nb);
Byte nb2=b1.Get("1010")+b1.Get("0110");
bool r=b1.Get("0011")==b1.Get("0110");
cout << r <<b1;
Byte nb3=b1.Get("1010");
bool r1=nb3==b1.Get("1010");
cout<< r1 ;
Byte nb4=b1.Get("0011") || b1.Get("1010");
Byte nb5("00001100");
Byte nb6= nb4 && nb5;
b1+="1011";
b1.Add("1011",nb6);
cout<<b1;
}
1. DRAM is used in the main memory. To compensate for the slow speed of the DRAM, there are advanced DRAM organizations introduced. Discuss the advanced DRAM organization.
The first line will contain a message prompt to input the number of rows.
The second line will contain a message prompt to input the number of columns.
The succeeding lines will prompt to input the elements of the matrix.
The last line contains the matrix elements from a spiral form to a straight line.
The website that Dineo wants to create will require data to be stored in a way that will make building the dynamic website easier. Please help her understand why she needs a database management system (DBMS). Q.1.1Explain the five components of a DBMS and why Dineo would need each of the components for her website.