CGS 3767 Operating Systems - project 1 : pgm1fCGS3767OS Professor: Michael Robinson e-mail : michael.robinson@cs.fiu.edu Web Page : www.cs.fiu.edu/~mrobi002/teaching a - Use virtualbox in your (optional) laptop and 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 cmd 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 : 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 }.......... *********************************************************************/ 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 : From the command line (cmd), use the notepad or 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 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 location - Using printf display the content of each index, ALIGNED. - Create an algorithm that will add all the values in all even columns, and print the total. - Create an algorithm that will add all the values in all odd rows and print the 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 call a method named arrays passing the two dimension array - In the arrays method do the rest of the program