Question: 7 Q6: Create a five by five array of O's (zeros) with 1's down the diagonal, type integer. Assign the array to Q6. For example:

7

Q6: Create a five by five array of O's (zeros) with 1's down the diagonal, type integer. Assign the array to Q6. For example: A three by three array of O's with 1's down the diagonal would look like: array ([ [1, 0, 0], [0, 1, 0], [0, 0, 1]]) 16] : ### ENTER CODE HERE ### Q7: With a random seed of 10, make a four by two array of random numbers (random numbers 0 to 1, NOT random integers). Assign the array to Q7. 17] : ### ENTER CODE HERE ### Q8: With a random seed of 9: Assign to Q8 four, two by five, arrays with random integers from 0 to 15. [18] : ### ENTER CODE HERE ### Q9: Use the size method to determine the number of integers in Q8. Assign it to Q9. 19] : ### ENTER CODE HERE ###

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 Mathematics Questions!