Project Cs
Project Cs
NAME:-Anju Mog
ROLL NUMBER: 06
CLASS:XI B2
SUBJECT: COMPUTER SCIENCE
SESSION 2024-2025
Signature
AKNOWLEDGEMENT
Topic
Serial.N
o
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
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 == '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.")
if __name__ == "__main__":
calculator ()
OUTPUT
REFERENCE
1.Chatgpt
2.Youtube
3.Class 11 C.S Book
CONCLUSION