Lab Assignment 2
Lab Assignment 2
1. Create a data file by using Python random module with different random generator
parameters. The data file must have 20000 X 10000 (rows X columns) in the data file. This
data file to be used as database for realization of math and matrix operations in cloud
computing lab assignments.
2. Write a program in Python to assign subsequent rows to matrix first row elements.
3. Write a program in Python to group similar elements into matrix.
4. Write a program in Python to add and subtract matrices in python.
5. Write a program in Python to create an n x n square matrix, where all the sub-matrix has the
sum of opposite corner elements as even.
6. Write a program in Python to perform row-wise element addition in tuple matrix.