Question: IB_SL_Unit4 Name: Question 6 2 4 -1 2 -10 -18 -10 5 11 4 5 -7 18 -7 6 -1 11 6 Write an algorithm

 IB_SL_Unit4 Name: Question 6 2 4 -1 2 -10 -18 -10

IB_SL_Unit4 Name: Question 6 2 4 -1 2 -10 -18 -10 5 11 4 5 -7 18 -7 6 -1 11 6 Write an algorithm that outputs the transpose of a square 2D array of size NxN. This is where the array(5 marks) is flipped on the diagonal, so that an element that is at location [x][y] is now at [y][x]. Question 7 Outline the main steps involved in a selection sort algorithm. (3 marks) (4 marks) Question 8 Construct a trace table for the following algorithm. K = 1 N = 1 M = 100 loop while K

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!