Program 1 : pgm1d1_5_OS Class : CGS3767 Operating Systems Instructor : Michael Robinson e-mail : michael.robinson@cs.fiu.edu Web Page : cs.fiu.edu/~mrobi002 Worth 6 points (partial credit given) a - Download and install virtualbox in your laptop. It is already installed at the FIU Labs computers https://www.virtualbox.org/ b - Download and install Ubuntu as a virtual machine inside your virtualbox program https://www.ubuntu.com/download/alternative-downloads c - Download and install Windows7 or Windows10 as a virtual machine inside your virtualbox program from the iso-images as explained in class NOTE: Watch this video, it is a step by step Server VM installation. http://users.cis.fiu.edu/~downeyt/videos/win7-vbox/win7-vbox.html You can also get guidance in our Hardware Lab at PG6 #102 No appointments needed. and ask questions in class e - Download and install Java JDK inside Windows7 or Windows10 in your virtualBox http://www.oracle.com/technetwork/java/javase/downloads/index.html Install Java JDK in Ubuntu using the terminal mode, NOTE: Make sure you learn all terminal mode commands to do the following: f - Make sure that your java version and your javac version are the same for all VMs, g - Make sure that java programs can be compiled and run in terminal mode in all Vms. h - USING TERMINAL MODE ONLY, an using my JAVA Programming Rules, located at: https://users.cs.fiu.edu/~mrobi002/includes/JAVA_programmingRules In EACH of your VMs, write a java program named: 1) Your lastName, firstLetterOfYourFirstName, pgm1U.java that will do the following: example: robinsonMpgm1U.java, as follows: 2) Your lastName, firstLetterOfYourFirstName, pgm1W.java that will do the following: example: robinsonMpgm1W.java, as follows: i - In your Ubuntu virtual machine 1) Create a folder called pgm1 2) Using a LINUX EDITOR, in your pgm1 folder, create a Java program named: Your lastName, firstLetterOfYourFirstName, pgm1U.java that will do the following: *** make sure to follow my Java programming format LOCATED at *** http://users.cis.fiu.edu/~mrobi002/includes/JAVA_programmingRules 3) From your program's main method, passing your name, call a new method named: processUbuntu 4) At the processUbuntu method, call a new method named printMyUbuntuName, passing the data received from the main method 5) At the printMyUbuntuName method display the data received from the processUbuntu method using the "System.out.printf" java method. j) In your Windows virtual machine - Create a folder called pgm1 - In your folder pgm1, USING A WINDOWS EDITOR, create a java program named Your lastName, firstLetterOfYourFirstName, pgm1W.java that will do the following: *** make sure to follow my Java programming format LOCATED at *** http://users.cis.fiu.edu/~mrobi002/includes/JAVA_programmingRules - From your main method call a new method named: processArray - In the processArray method, create one 10x10 two dimensions array named twoDarray - In each index of your twoDarray, load the multiplication of its corresponding xy locations - Using the printf java command display, in a perfect square, the even values found in your array's locations In the square locations where the values are nor even, display 2 blank spaces Submitting your program - Upload your SOURCE CODE ONLY, from your java programs from both VMs to your Moodle account - Make sure the program is properly documented and aligned uniformally, looking professionally, I will take points off if it not. - Print your programs and bring them to class on the due date. !!!! MAKE SURE TO STAPLE YOUR PAGES OTHERWISE YOU LOSE .5 POINT !!!! - MAKE SURE YOUR PROGRAMS COMPILE AND EXECUTE NOTE: We recommend to use our FREE tutoring at our hardware lab PG6 #102 see schedule at https://users.cs.fiu.edu/~mrobi002/teaching/currentSemester2.php