COMPUTER PROJECT
COMPUTER PROJECT
1 SALTLAKE
Investigatory
Project
for
AISSCE -2024-25
Computer Science (083)
Practical Exam
Group Information
Group members:
1) Suryava Basu
2) Rhythm Sarkar
3) Prarthak
Class : XII A
Submitted by
SURYAVA BASU
CBSE ROLL NO :
1
ACKNOWLEGEMENT
I would like express my special gratitude
to our Principal Sabiha Shahin, our
teacher cum guide Shri Arbind Kumar jha
and other teachers of the school who
gave me guidance to complete this
project. Also, I am thankful to the various
Internet sites and my school Library from
where I could get instant help whenever I
got stuck in the course of completing the
project.
I consider myself lucky to have such a
wonderful batch of classmates whose
motivation and help made it possible for
me to complete this project within the
given time frame.
2
CERTIFICATE
____________________ ____________________
Signature of Internal Signature of External
Examiner Examiner
Principal’s Signature
3
Content / index
SL NO TOPIC Page
1 Acknowledgement 2
2 Certificate 3
1 Introduction 4
Project Phase 6
2 Minimum System 6
Requirement
3 Properties of Matrix 6
5 Feature of the Project 6
4 Python Code 7-9
Output of the Project 9-10
6 Future Scope of the 11
Project
7 Bibliography 11
4
INTRODUCTION
Q. What is Python ?
Ans. Python is an interpreted, high-level and general-purpose programming language. ... It
supports multiple programming paradigms, including structured (particularly, procedural), object-
oriented and functional programming. Python is often described as a "batteries included" language
due to its comprehensive standard library.
Q. What is Matrix ?
Ans. A matrix is a rectangular arrangement of numbers, symbols, or expressions in rows and
columns, enclosed within brackets. It is used in various mathematical and scientific applications,
including linear algebra, transformations, and solving systems of equations. A matrix with rows
and columns is called an matrix and is represented as:
Where each element represents the entry in tith row and jth column.]
Q. What is PySimpleGUI ?
Ans. PySimpleGUI is a Python library for creating simple yet powerful graphical user interfaces
(GUIs). It provides an easy-to-use API that wraps around other GUI frameworks like Tkinter, PyQt,
WxPython, and Remi. PySimpleGUI is designed to make GUI development accessible for beginners
while still being flexible enough for more complex applications.
Q. What is NumPy ?
Ans. NumPy (Numerical Python) is a powerful Python library used for numerical computing. It
provides support for large, multi-dimensional arrays and matrices, along with a collection of
mathematical functions to operate on these data structures efficiently.
5
Project Phases:
1.Importing the required python library.
2.ShortWelcome speech
4.Main program
5.Short Ending speech
6.Printing mini-statement
7.Sending mail to the user who login to the bank
MINIMUM SYSTEM REQUIREMENTS:
6
MATRIX CODE:
import PySimpleGUI as sg
import numpy as np
7
layout1 = [
[sg.Text("Enter Matrix A Dimensions:")],
[sg.Text("Rows: "), sg.Input(size=(5, 1), key="ROWS_A"), sg.Text("Columns: "),
sg.Input(size=(5, 1), key="COLS_A")],
[sg.Text("Enter Matrix B Dimensions (if required):")],
[sg.Text("Rows: "), sg.Input(size=(5, 1), key="ROWS_B"), sg.Text("Columns: "),
sg.Input(size=(5, 1), key="COLS_B")],
[sg.Button("Next"), sg.Button("Exit")]
]
# Parse dimensions
try:
rowsA, colsA = int(values["ROWS_A"]), int(values["COLS_A"])
rowsB, colsB = int(values["ROWS_B"]), int(values["COLS_B"]) if values["ROWS_B"] and
values["COLS_B"] else (None, None)
except ValueError:
sg.popup_error("Invalid dimensions! Please enter numbers.")
exit()
if event == "Calculate":
matrixA = get_matrix_values(values, "MatrixA", rowsA, colsA)
matrixB = get_matrix_values(values, "MatrixB", rowsB, colsB) if rowsB and colsB
else None
8
scalar = int(values["SCALAR"]) if values["SCALAR"].strip().isdigit() else None
operation = values["OPERATION"]
if matrixA is None:
continue # Skip if invalid input
window2["RESULT"].update(result_text)
window2.close()
OUTPUT:
9
10
Future of the Project :
We wish to add more operations of Matrix like EIGEN VALUE, EIGEN
VECTORS, RANK OF A MATIX. This would help students at the higher
study level.
BIBLIOGRAPHY
For successfully completing my Project file, I have taken the help of the
following website links :
www.wikipedia.com
https://youtube
www.google.com
11