CGS 3767 Operating Systems - project 1 : pgm1Ccgs3767OS Professor: Michael Robinson e-mail : michael.robinson@cs.fiu.edu Web Page : www.cs.fiu.edu/~mrobi002/teaching For this assignment you can use your own computer or the buffalo server provided by FIU. If you use the buffalo server follow this link: http://users.cis.fiu.edu/~downeyt/videos/win7-vbox/win7-vbox.html for detailed activation instructions, as explained in class. To obtain Virtualbox, Ubuntu, Java, and Windows follow this link: http://users.cis.fiu.edu/~mrobi002/teaching/teachingMain.php as explained in class. a - Install Virtualbox b - Install Ubuntu as a virtual machine inside virtualbox c - Install Windows as a virtual machine inside virtualbox d - Install Java JDK inside Ubuntu and Windows Make sure that java and javac work in the terminal mode in Ubuntu and in the cmd mode in Windows. e - Create a folder called projects inside Windows and Ubuntu f - Create a folder called backups inside Windows and Ubuntu g - Using editors (DO NOT USE ECLIPSE, NETBEANS OR ANY OTHER IDE) In Ubuntu's terminal create the java program described below h - In Windows's cmd create the java program described below i - In Ubuntu and in Windows using the terminal/cmd modes Copy and rename your files in the projects folder to your backup folder Program: - Program must be named: yourLastNameFirstLetterOfYourFirstNamepgm1.java - Turn in the signed source code on paper, and email me the source code. - Make sure the program is properly documented and aligned uniformally, looking professionally, I will take points off if it not. - Include the following header in every program: /********************************************************************* Author : Your Name Course : CGS 3767 days and time Professor : Michael Robinson Program # : Program Purpose/Description {A brief description of the program } Due Date : MM/DD/YYYY Certification: I hereby certify that this work is my own and none of it is the work of any other person. ..........{ your signature }.......... *********************************************************************/ Purpose of this program: - Create a very simple Java program in Windows and Ubuntu using their Editors *** DO NOT USE ANY IDE *** - Windows : From the command line (cmd), use the notepad editor - Ubuntu : From the Terminal use the gedit, or nano or pico or vi or vim editor - Compile and run this program using the MSDOS/Terminal javac robinsonMpgm1.java java robinsonMpgm1 - Create a 10 x 10 two dimensional array of int data type - Load each index location in the array with the sum of it's row + column - Create and algorithm that will add all the values in the diagonal indexes from 0,0 to 9,9 and print the total - Create and algorithm that will add all the values in the diagonal indexes from 0,9 to 9,0 and print the total - Print the addition of both diagonals How: - From the main method create the rows and columns variables with their values - From the main method call a method named arrays passing rows and columns - In the arrays method do the rest of the program