Question: please solve this programs [03] Create a method with the following specifications: 1. Name: fracArray 2. Return: your responsibility 3. Parameters: your responsibility. 4. Process:

please solve this programs

please solve this programs [03] Create a method with the following specifications:

[03] Create a method with the following specifications: 1. Name: fracArray 2. Return: your responsibility 3. Parameters: your responsibility. 4. Process: a. Accepts a 10 double array and checks each element. b. If the ith element has a fraction, it saves "true" in the ith position of a boolean array else, it saves "false" c. Finally, it returns the boolean array, [04] Create a method with the following specifications: 1. Name: sum Diagonal 2. Returns: your responsibility 3. Parameters: your responsibility 4. Process: a. Accepts a 2D int array. Page 2 of 3 A. ALK AMERICAN Dept. of Computer Science and Information Systems-CSIS College of Arts and Sciences CSIS 120 - Computer Programming Section 2 KUWAIT Fall 2020- b. Assumes the 2D array is a square. C. Calculates the summation of the elements in the diagonal of the 2D array. See image below d. Returns the summation. [05] Create a method with the following specifications: 1. Name: namePos 2. Return: your responsibility. 3. Parameters: your responsibility 4. Process: a. Accepts an arraylist of strings and a name b. Searches the arraylist for the given name c. If it finds the name in the ith position, it adds the position to a second arraylist. d. Returns the second arraylist 5. Assumptions: multiple copies of "name" may exist in the list

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!