Question: Q 1 : Use Compiler ( ex: C + + ) to create 2 ( n * n ) matrices [ A ] * [

Q1: Use Compiler (ex: C++) to create 2(n*n) matrices [A]*[B]=[C]. Generate A and B randomly as follows:
[A]*[B] Execution Time
[100*100]*[100*100]4
[500*500]*[500*500]524
[1000*1000]*[1000*1000]5186
[2500*2500]*[2500*2500]128943
[5000*5000]*[5000*5000]
[10000*10000]*[10000*10000]
[20000*20000]*[20000*20000]
Device name DESKTOP-G1KFN2I
Processor 12th Gen Intel(R) Core(TM) i7-12700H 2.30 GHz
Installed RAM 16.0 GB (15.6 GB usable)
Device ID 70A4E1F2-8257-405B-9D41-8EEF719763B9
Product ID 00331-10000-00001-AA887
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display

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!