0% found this document useful (0 votes)
2 views11 pages

Project Cs

The document certifies the completion of an arithmetic calculator project by Anju Mog under the supervision of Mr. Pulak Roy. It details the hardware and software requirements, provides the source code, and discusses the project's objectives and outcomes, emphasizing the learning of fundamental programming concepts. The project concludes by highlighting the importance of the skills gained and the potential for future programming challenges.

Uploaded by

legendamar165
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views11 pages

Project Cs

The document certifies the completion of an arithmetic calculator project by Anju Mog under the supervision of Mr. Pulak Roy. It details the hardware and software requirements, provides the source code, and discusses the project's objectives and outcomes, emphasizing the learning of fundamental programming concepts. The project concludes by highlighting the importance of the skills gained and the potential for future programming challenges.

Uploaded by

legendamar165
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

CERTIFICATE

This is to certify that the project entitled Arithmatic


Calculator software is prepared under my guidance and
supervision by

NAME:-Anju Mog
ROLL NUMBER: 06
CLASS:XI B2
SUBJECT: COMPUTER SCIENCE
SESSION 2024-2025

SUBMITTED TO MR. PULAK ROY

Signature
AKNOWLEDGEMENT

I express my heartfelt gratitude to my C.S teacher, Mr.


Pulak Roy, and our principal, Mr. Animesh Acharya, for
their invaluable guidance in completing my C.S project.

I would also like to acknowledge the efforts of our team


members, Willson Debbarma, Rehan Chakma, Juwel
Debbarma, and Khumili Debbarma, for their hard work,
collaboration, and commitment. Each member brought
unique skills and perspectives to the table, which greatly
enriched the project.

Finally, I would like to thank my family who motivated me


and boosted my morale when I was stressed.
INDEX

Topic

Serial.N
o

1 Hardware & Software Requirement

2 Introduction

3 Source Code

4 Output

5 Refrence

6 Conclusion
HARDWARE AND SOFTWARE REQUIREMENTS

Hardware Requirements

1. Processor
A modern multi-core processor (Intel i3/i5/i7 or AMD Ryzen) is recommended for better
performance, especially for data-intensive tasks.

2. RAM :
Minimum: 4 GB
- Recommended: 8 GB or more, especially if you plan to run multiple applications or work with
large datasets.

3. Storage :
- Minimum: 10 GB of free disk space for Python and libraries.
- Recommended: SSD (Solid State Drive) for faster read/write speeds, especially if you are
working with large files or databases.

4. Display :
- A monitor with at least 1920x1080 resolution is recommended for better visibility and
multitasking.

5. Internet Connection :
- A stable internet connection is beneficial for downloading packages, libraries, and updates.

Software Requirements
1. Operating System :
- Python is cross-platform and can run on various operating systems, including:
- Windows (Windows 10 or later)
- macOS (10.9 or later)
- Linux (most distributions)

2. Python Installation :
- Download the latest version of Python from the official website:
[python.org](https://www.python.org/downloads/).
- Ensure that you install the version that matches your operating system (32-bit or 64-bit).
INTRODUCTION

 This project aims to create a simple arithmetic


calculator using Python, a user-friendly programming
language. The calculator will perform basic operations
like addition, subtraction, multiplication, and division
through a console-based interface, allowing users to
input numbers and select operations easily.
 The project serves as an introduction to fundamental
programming concepts such as variables, data types,
control structures, and functions. It emphasizes user
input handling, error processing, and code organization,
ensuring the calculator is efficient and easy to update.
 In summary, this arithmetic calculator project is a
foundational step into more complex programming
challenges, showcasing computational thinking and
problem-solving techniques while highlighting Python's
effectiveness in addressing everyday tasks.
SOURCE CODE

def add(x, y):


return x + y

def subtract(x, y):


return x - y

def multiply(x, y):


return x * y

def divide(x, y):


if y == 0:
return "Error! Division by zero."
return x / y

def calculator():
print("Welcome to the Arithmetic Calculator!")
print("Select operation:")
print("1. Add")
print("2. Subtract")
print("3. Multiply")
print("4. Divide")

while True:
choice = input("Enter choice (1/2/3/4): ")

if choice in ['1', '2', '3', '4']:


try:
num1 = float(input("Enter first number: "))
num2 = float(input("Enter second number: "))
except ValueError:
print("Invalid input! Please enter numeric values.")
continue

if choice == '1':
print(f"{num1} + {num2} = {add(num1, num2)}")
elif choice == '2':
print(f"{num1} - {num2} = {subtract(num1, num2)}")
elif choice == '3':
print(f"{num1} * {num2} = {multiply(num1, num2)}")
elif choice == '4':
print(f"{num1} / {num2} = {divide(num1, num2)}")
else:
print("Invalid choice! Please select a valid operation.")

next_calculation = input("Do you want to perform another calculation?


(yes/no): ")
if next_calculation.lower() != 'yes':
break

print("Thank you for using the calculator!")

if __name__ == "__main__":
calculator ()
OUTPUT
REFERENCE

1.Chatgpt
2.Youtube
3.Class 11 C.S Book
CONCLUSION

In conclusion, developing an arithmetic calculator in Python


provided a valuable hands-on experience in fundamental
programming concepts. We successfully built a user-friendly tool
for basic arithmetic operations while reinforcing key skills such as
control flow, functions, and error handling. The project's modular
design enhances code reusability and maintainability, empasizing
best practices in software development. Beyond this calculator,
the knowledge gained lays a foundation for tackling more
complex programming challenges. This project highlights Python’s
power in creating practical solutions, inspiring future exploration
of advanced computer science concepts.

You might also like