Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a - Use virtualbox in your (optional) laptop and/or FIU Lab computer b - Install Ubuntu as a virtual machine inside virtualbox c - Install

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 - Using Ubuntu's terminal create the java program described below,

inside your projects folder.

g - Using Windows's command line create the java program described below,

inside your projects folder. Do not use an IDE like NetBeans.

Java program:

- Program must be named: ArrayMath.java

- Make sure the program is properly documented and aligned uniformally,

according to our "JAVA Programming Rules"

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.

Professor :

Program # : Program Purpose/Description

{A brief description of the program }

Due Date : MM/DD/YYYY

*********************************************************************/

How to create the java program:

- Create a Java program in both 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 ArrayMath.java

to run : java ArrayMath

Purpose of this program:

- Create a 10 x 10 two dimensional array of int data type (Remember that arrays start with 0, not 1.

- 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 using a loop that will add all the values in all odd columns, and print their total aligned below the column.

- Print the addition of all values in each index in the array. This is a sum of all the elements of the array.

- Print your name and Panther ID below all other output.

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

Submit a zip file named FirstnameLastnameA1.zip containing the following into the Blackboard dropbox for Assignment 1.

1. a screenshot of your program running on the Windows system

2. a screenshot of your program running on the Ubuntu system.

3. The ArrayMath.java file.

4. Do not include any other files or folders in your submission.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions

Question

Project management skills and/or experience desirable

Answered: 1 week ago