CGS 3767 Operating Systems - project 1 : pgm1gCGS3767OS Professor: Michael Robinson e-mail : michael.robinson@cs.fiu.edu Web Page : cs.fiu.edu/~mrobi002 a - Use virtualbox in your (optional) laptop and/or FIU Lab computer b - Install Ubuntu as a virtual machine inside virtualbox c - Install Windows7 as a virtual machine inside virtualbox d - Install Java JDK inside Ubuntu and Windows7 in your virtualBox e - Create a folder called projects inside Windows7 and Ubuntu VM's f - Create a folder called backups inside Windows7 and Ubuntu VM's g - Using Ubuntu's terminal create the java program described below, inside your projects folder. h - Using Windows's command line create the java program described below, inside your projects folder. i - In Ubuntu and in Windows7 VM's: Copy your java source program in the projects folder to your backup folder Rename your java source program in the backup folder to bak.java Java program: - Program must be named: yourLastNameFirstLetterOfYourFirstNamePgm1.java - Email me your program source code, and turn in your signed source code on paper. - Make sure the program is properly documented and aligned uniformally, according to our "JAVA Programming Rules", discussed in class, I will take points off if you do not follow the programming instructions. - Include the following header in every program: /********************************************************************* Author : Your Name Course : OS section. Example OS-1 OS-2 OS-3 OS-4 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 }.......... *********************************************************************/ How to create java program: - Create a Java program in Windows and Ubuntu using any of their Editors *** DO NOT USE IDE'S SUCH AS ECLIPSE, NETBEANS, ETC *** - Windows : In the Command Line (cmd), use the notepad or notepad++ editor - Ubuntu : In the Terminal Mode use the gedit, or nano or pico or vi or vim editor - Compile and run this program using the MSDOS/Terminal ex: to compile : javac robinsonMpgm1.java to run : java robinsonMpgm1 Purpose of this program: - Create a 10 x 10 two dimensional array of int data type - Load each index in the array with the multiplication of each (row * column)/2 location - Using printf display the content of each index, ALIGNED. - Create an algorithm that will add all the values in all odd columns, and print their total. - Create an algorithm that will add all the values in all even rows, and print their total. - Print the addition of all values in each index in the array. How: - In the main method declare the two dimension array. - From the main method, passing the two dimensions array, call a method named arrays - In the arrays method do the rest of the program