Python 3
Python 3
DELHI - 110085
SUBMITTED BY – Sonal
CLASS – XIITH B
ROLL NUMBER - 33
PROJECT NAME – Space Agency Management
ACKNOWLEDGEMENT
Teacher’s signature
_________________
INTRODUCTION
+------------------------+--------------+------+-----+---------+-------+
+------------------------+--------------+------+-----+---------+-------+
+------------------------+--------------+------+-----+---------+-------+
+------------------+--------------+------+-----+---------+----------------+
+------------------+--------------+------+-----+---------+----------------+
+------------------+--------------+------+-----+---------+----------------+
+----------------------+-------------+------+-----+---------+----------------+
+----------------------+-------------+------+-----+---------+----------------+
+----------------------+-------------+------+-----+---------+----------------+
+----------------+--------------+------+-----+---------+----------------+
+----------------+--------------+------+-----+---------+----------------+
+----------------+--------------+------+-----+---------+----------------+
+----------------+-------------+------+-----+---------+----------------+
+----------------+-------------+------+-----+---------+----------------+
+----------------+-------------+------+-----+---------+----------------+
db1 = py.connect(
host = "localhost",
user = "root",
passwd = "Sejal@20",)
cur = db1.cursor()
#creating tables
db1 = py.connect(
host = "localhost",
user = "root",
passwd = "Sejal@20",
db = "SSA")
cur = db1.cursor()
NAME VARCHAR(30),
OBJECTIVE VARCHAR(100),
TARGET VARCHAR(15),
SPACECRAFT_NAME VARCHAR(20),
SPACECRAFT_WEIGHT_kg INT(10),
LAUNCH_VEHICLE VARCHAR(20),
TYPE VARCHAR(10),
POWER_SOURCE VARCHAR(20),
STATUS VARCHAR(20),
ESTIMATED_COST_$ INT(30),
SPACE_INSTRUMENTS_USED VARCHAR(100));""")
NAME VARCHAR(40),
ROLE VARCHAR(30),
DEPARTMENT VARCHAR(40),
HIRE_DATE DATE,
SALARY_$ INT(7),
EXPERIENCE_LEVEL VARCHAR(10),
MISSION_ASSIGNED VARCHAR(100));""")
INSTRUMENT_NAME VARCHAR(40),
`FUNCTION` VARCHAR(90),
DIMENSIONS VARCHAR(30),
MASS_KG INT(2),
`POWER_CONSUMPTION(W)` VARCHAR(7),
COST_$ INT(10),
STATUS VARCHAR(50),
QUANTITY INT(3));""")
VEHICLE_NAME VARCHAR(20),
MANUFACTURER VARCHAR(30),
CAPACITY_KG INT(5),
ENGINE_TYPE VARCHAR(20),
HEIGHT_meter INT(3),
DIAMETER_meter DECIMAL(5),
STATUS VARCHAR(30));""")
SATELLITE_NAME VARCHAR(20),
LAUNCH_DATE DATE,
PURPOSE VARCHAR(30),
STATUS VARCHAR(20),
ORBIT_TYPE VARCHAR(20),
WEIGHT_KG INT(5));""")
db1.commit()
def view_missions():
db1 = py.connect(
host = "localhost",
user = "root",
passwd = "Sejal@20",
db = "SSA")
cur = db1.cursor()
rows = cur.fetchall()
print(col_format.format(*columns))
def add_mission():
db1 = py.connect(
host = "localhost",
user = "root",
passwd = "Sejal@20",
db = "SSA")
cur = db1.cursor()
while True:
cur.execute(query,(nam,obj,tar,spc,wt,lnch,typ,pwr,stat,estcost,inst))
db1.commit()
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unacceptable")
print("Exiting...")
break
#updating a mission
def update_mission():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = 'SSA')
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
pass
else:
print("exiting...")
break
else:
1.name
2.objective
3.target
4.spacecraft name
5.spacecraft weight
6.launch vehicle
8.power source
9.status
10.estimated cost
Enter here:"""))
if b==1:
c = input("Enter update:")
print("updated successfully!")
db1.commit()
elif b==2:
c = input("Enter update:")
print("updated successfully!")
db1.commit()
elif b==3:
c = input("Enter update:")
print("updated successfully!")
db1.commit()
elif b==4:
c = input("Enter update:")
print("updated successfully!")
db1.commit()
elif b==5:
c = input("Enter update:")
db1.commit()
elif b==6:
c = input("Enter update:")
print("updated successfully!")
db1.commit()
elif b==7:
c = input("Enter update:")
print("updated successfully!")
db1.commit()
elif b==8:
c = input("Enter update:")
print("updated successfully!")
db1.commit()
elif b==9:
print("updated successfully!")
db1.commit()
elif b==10:
print("updated successfully!")
db1.commit()
elif b==11:
if c=='a':
print("updated successfully!")
db1.commit()
elif c=='r':
print("updated successfully!")
db1.commit()
else:
print("Value not accepted")
print("starting again...")
pass
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
#Deleting a mission
def del_mission():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = 'SSA')
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
pass
else:
print("exiting...")
break
else:
b = input("Are you sure you want to delete this mission from the table?(y/n):")
if b=='n':
print("exiting..")
break
elif b=='y':
db1.commit()
if restart=='y':
pass
elif restart=='n':
break
else:
print("starting again...")
pass
#searching a mission
def search_mission():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = 'SSA')
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
pass
else:
print("exiting...")
break
else:
print(res)
else:
break
def list_mission():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = 'SSA')
cur = db1.cursor()
while True:
1.planned
2.ongoing
3.completed
Enter here:"""))
if stat==1:
for x in cur.fetchall():
print(x)
break
elif stat==2:
for x in cur.fetchall():
print(x)
break
elif stat==3:
for x in cur.fetchall():
print(x)
break
else:
print("starting again..")
pass
restart = input("Do you want to list again?(y/n):")
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def view_personnel():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = 'SSA')
cur = db1.cursor()
rows = cur.fetchall()
print(col_format.format(*columns))
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = 'SSA')
cur = db1.cursor()
while True:
cur.execute(query,(nam,role,dept,hdate,sal,exp,assign))
db1.commit()
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unacceptable")
print("Exiting...")
break
def update_personnel():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = 'SSA')
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
break
else:
1.Name
2.Role
3.Department
4.Hire Date
5.Salary
6.Exp
7.Mission Assigned
Enter here:"""))
if b==1:
print("updated successfully!")
db1.commit()
elif b==2:
print("updated successfully!")
db1.commit()
elif b==3:
print("updated successfully!")
db1.commit()
elif b==4:
print("updated successfully!")
db1.commit()
elif b==5:
print("updated successfully!")
db1.commit()
elif b==6:
print("updated successfully!")
db1.commit()
elif b==7:
print("updated successfully!")
db1.commit()
else:
print("starting again...")
pass
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def del_personnel():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
break
else:
b = input("Are you sure you want to delete this information from the table?(y/n):")
if b=='n':
print("exiting..")
break
elif b=='y':
db1.commit()
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
else:
print("starting again...")
pass
def assign_personnel():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
break
else:
db1.commit()
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def view_instruments():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
rows = cur.fetchall()
print(col_format.format(*columns))
def add_instrument():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
cur.execute(query,(name,typ,func,sz,mass,pwr,cst,stat,qty))
db1.commit()
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def del_instrument():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
res = cur.fetchall()
if res is None:
pass
else:
break
else:
b = input("Are you sure you want to delete this instrument from the table?(y/n)")
if b=='n':
print("Exiting...")
break
elif b=='y':
db1.commit()
else:
continue
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
#updating an instrument
def update_instrument():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
break
else:
1.Instrument name
2.Function
3.Dimensions
4.Mass
5.Power Consumption
6.Cost
7.Status
Enter here:"""))
if b==1:
db1.commit()
print("Updated successfully!")
elif b==2:
db1.commit()
print("Updated successfuly!")
elif b==3:
db1.commit()
print("Updated successfully!")
elif b==4:
db1.commit()
print("Updated successfully!")
elif b==5:
db1.commit()
print("Updated successfully!")
elif b==6:
db1.commit()
print("Updated successfully!")
elif b==7:
db1.commit()
print("Updated successfully!")
else:
print("Value Not Valid.")
print("Starting Again...")
continue
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def list_instruments():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
1.Telescope
2.Spectrometer
3.Radiometer
4.Camera
5.Gyroscope
6.Magnetometer
7.Plasma Analyzer
8.Photometer
9.Particle Detector
10.Radar
11.Altimeter
12.Gas Chromatograph
13.Anemometer
14.Environmental sensors
Enter here:"""))
print("Here is all the information of the intruments of given type:")
if lst==1:
for x in cur.fetchall():
print(x)
elif lst==2:
for x in cur.fetchall():
print(x)
elif lst==3:
for x in cur.fetchall():
print(x)
elif lst==4:
for x in cur.fetchall():
print(x)
elif lst==5:
for x in cur.fetchall():
print(x)
elif lst==6:
for x in cur.fetchall():
print(x)
elif lst==7:
for x in cur.fetchall():
print(x)
elif lst==8:
for x in cur.fetchall():
print(x)
elif lst==9:
for x in cur.fetchall():
print(x)
elif lst==10:
for x in cur.fetchall():
print(x)
elif lst==11:
cur.execute("SELECT * from space_instruments WHERE type = 'altimeter' ;")
for x in cur.fetchall():
print(x)
elif lst==12:
for x in cur.fetchall():
print(x)
elif lst==13:
for x in cur.fetchall():
print(x)
elif lst==14:
for x in cur.fetchall():
print(x)
else:
print("Value unacceptable")
break
else:
pass
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def assign_instrument():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
break
else:
db1.commit()
print("assigned successfully")
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def view_launch_vehicles():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
rows = cur.fetchall()
print(col_format.format(*columns))
def add_launch_vehicle():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
cur.execute(query,(name,mfg,cpt,eng,hght,d,stat))
db1.commit()
restart = input("Do you want to add another launch vehicle to the table?(y/n):")
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def del_launch_vehicle():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
break
else:
pass
else:
if b=='n':
print("Exiting...")
break
elif b=='y':
db1.commit()
else:
print("Value unaccepteable")
print("Exiting...")
break
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def update_launch_vehicle():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
break
else:
1.Vehicle Name
2.Manufacturer
3.Capacity
4.Engine Type
5.Height
6.Diameter
7.Status
Enter here:"""))
if b==1:
db1.commit()
print("updated successfully!")
elif b==2:
db1.commit()
print("updated successfully!")
elif b==3:
db1.commit()
print("updated successfully!")
elif b==4:
db1.commit()
print("updated successfully!")
elif b==5:
db1.commit()
print("updated successfully!")
elif b==6:
db1.commit()
print("updated successfully!")
elif b==7:
db1.commit()
print("updated successfully!")
else:
print("Value unacceptable")
if input("Do you want to start again?(y/n):")=='n':
break
else:
pass
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def list_launch_vehicle():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
a = int(input("Enter the minimum capacity that the launch vehicle should have:"))
res = cur.fetchall()
if res is None:
break
else:
pass
else:
print("Here are all the details of all the launch vehicles having capacity higher
than",a)
for x in res:
print(x)
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def view_satellites():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
rows = cur.fetchall()
print(col_format.format(*columns))
def add_satellite():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
cur.execute(query,(name,ldate,pur,stat,orbtype,wt))
db1.commit()
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def del_satellite():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
break
else:
pass
else:
if b=='n':
print("Exitiing...")
break
elif b=='y':
db1.commit()
else:
print("Value unacceptable")
print("Exiting...")
break
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def update_satellite():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
res = cur.fetchone()
if res is None:
break
else:
pass
else:
1.Satellite Name
2.Launch date
3.Purpose
4.Status
5.Orbit type
6.Weight
Enter here:"""))
if b==1:
db1.commit()
print("Updated successfully!")
elif b==2:
db1.commit()
print("Updated successfully!")
elif b==3:
db1.commit()
print("Updated successfully!")
elif b==4:
db1.commit()
print("Updated successfully!")
elif b==5:
db1.commit()
print("Updated successfully!")
elif b==6:
db1.commit()
print("Updated successfully!")
else:
print("Value unacceptable")
break
else:
pass
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
def list_satellite():
db1 = py.connect(
host = 'localhost',
user = 'root',
passwd = 'Sejal@20',
db = "SSA")
cur = db1.cursor()
while True:
1.Purpose
2.Status
Enter here:"""))
if a==1:
1.Communication
2.Weather
3.GPS
4.Earth Observation
5.Research
Enter here:"""))
if b==1:
for x in cur.fetchall():
print(x)
elif b==2:
for x in cur.fetchall():
print(x)
elif b==3:
for x in cur.fetchall():
print(x)
elif b==4:
for x in cur.fetchall():
print(x)
elif b==5:
for x in cur.fetchall():
print(x)
else:
print("Value unacceptable")
break
else:
pass
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
elif a==2:
b = int(input("""select status:
1.Operational
2.Decommissioned
Enter here:"""))
if b==1:
for x in cur.fetchall():
print(x)
elif b==2:
for x in cur.fetchall():
print(x)
else:
print("Value unacceptable")
break
else:
pass
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
else:
print("Value unacceptable")
break
else:
pass
#MENU
while True:
1.Missions
2.Personnel
3.Space instruments
4.Launch vehicles
5.Satellites""")
while True:
if a==1:
if ch==1:
view_missions()
elif ch==2:
add_mission()
elif ch==3:
del_mission()
elif ch==4:
update_mission()
elif ch==5:
search_mission()
elif ch==6:
list_mission()
else:
print("INVALID VALUE")
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
elif a==2:
if ch==1:
view_personnel()
elif ch==2:
add_personnel()
elif ch==3:
del_personnel()
elif ch==4:
update_personnel()
elif ch==5:
assign_personnel()
else:
print("INVALID VALUE")
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
elif a==3:
if ch==1:
view_instruments()
elif ch==2:
add_instrument()
elif ch==3:
del_instrument()
elif ch==4:
update_instrument()
elif ch==5:
list_instruments()
elif ch==6:
assign_instrument()
else:
print("INVALID VALUE")
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
elif a==4:
if ch==1:
view_launch_vehicles()
elif ch==2:
add_launch_vehicle()
elif ch==3:
del_launch_vehicle()
elif ch==4:
update_launch_vehicle()
elif ch==5:
list_launch_vehicle()
else:
print("INVALID VALUE")
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
elif a==5:
if ch==1:
view_satellites()
elif ch==2:
add_satellite()
elif ch==3:
del_satellite()
elif ch==4:
update_satellite()
elif ch==5:
list_satellite()
else:
print("INVALID VALUE")
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
else:
print("INVALID VALUE")
if restart=='y':
pass
elif restart=='n':
break
else:
print("Value unaccepptable")
print("Exiting...")
break
if res=='y':
pass
elif res=='n':
print("Exiting...")
break
else:
print("INVALID VALUE")
if input("start again?(y/n):")=='y':
pass
else:
break
OUTPUT
WELCOME TO Solaris Space Authority(SSA) management system
1.Missions
2.Personnel
3.Space instruments
4.Launch vehicles
5.Satellites
Enter target:Neptune
Enter target:Sun
Enter target:Moon
Enter target:Venus
Enter target:Sedna
Enter target:Titan
Enter objective of the mission:Study Europa's ice crust and subsurface ocean
Enter target:Europa
Enter target:Sun
Enter target:Mars
Enter target:Enceladus
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
--------
Poseidon Journey | Study Neptune's Atmosphere and Magnetic Field | Neptune | Nereus | 3200
| AstraX1 | Orbiter | RTG | Planned | 1200000000 | SpecTron,MagProbeX,AstraVision
Helio-Probe | Explore Solar Wind and Heliosphere | Sun | sol invictus | 1000
| Solis IV | Probe | Solar Panel | Ongoing | 500000000 |
PlasmaWaveDetector,Neutrinonet,MagProbeX
Gaia observer | Map the Milky Way Galaxy | Milky Way | Calypso | 2500
| Kautilya Launcher | Survey | Solar Panels | Planned | 750000000 | StarScope-1,Luxor,Photonix
LunaQuest | Investigate Lunar Surface Composition | Moon | Selene Rover | 1200
| Prithvi Pioneer | Rover | Solar Panels | Completed | 600000000 | Quantis,LumaLens,Stratabore
Titan Voyager | Analyze Titan's Atmosphere And Surface | Titan | Kronos Lander | 2800
| Titan V | Lander | RTGG | Planned | 900000000 | ChromatoScope,VistaCam,SpecTron
Perseus | Study Europa's ice crust and subsurface ocean | Europa | Perseus | 1500
| Titan V | Orbiter | Solar Panels | Planned | 800000000 | RadarScope,MagnetoScope,OptiCam
Mars Rover Next | Research Human Habitability on Mars | Mars | Stratos | 2400
| Prithvi Pioneer | Lander | Solar Panels | Ongoing | 1000000000 | BioGauge,OptiCam,Terrabore
Icarus | Explore Enceladus' geysers and subsurface ocean | Enceladus | Icarus | 2200
| Saturn V | Lander | RTG | Planned | 1100000000 | CoreBore,SpectroVision,ImagoPro
1.name
2.objective
3.target
4.spacecraft name
5.spacecraft weight
6.launch vehicle
8.power source
9.status
10.estimated cost
Enter here:8
Enter update:RTG
updated successfully!
1.planned
2.ongoing
3.completed
Enter here:1
('Poseidon Journey', "Study Neptune's Atmosphere and Magnetic Field", 'Neptune', 'Nereus', 3200, 'AstraX1',
'Orbiter', 'RTG', 'Planned', 1200000000, 'SpecTron,MagProbeX,AstraVision')
('Gaia observer', 'Map the Milky Way Galaxy', 'Milky Way', 'Calypso', 2500, 'Kautilya Launcher', 'Survey', 'Solar
Panels', 'Planned', 750000000, 'StarScope-1,Luxor,Photonix')
('Sedna Scout', 'Explore Trans-Neptunian Object Sedna', 'Sedna', 'Permafrost', 1700, 'DeepSpaceX', 'Flyby', 'RTG',
'Planned', 950000000, 'VisionRay,PartiScan,ImagoPro,Beamix')
('Titan Voyager', "Analyze Titan's Atmosphere And Surface", 'Titan', 'Kronos Lander', 2800, 'Titan V', 'Lander',
'RTG', 'Planned', 900000000, 'ChromatoScope,VistaCam,SpecTron')
('Perseus', "Study Europa's ice crust and subsurface ocean", 'Europa', 'Perseus', 1500, 'Titan V', 'Orbiter',
'Solar Panels', 'Planned', 800000000, 'RadarScope,MagnetoScope,OptiCam')
('Icarus', "Explore Enceladus' geysers and subsurface ocean", 'Enceladus', 'Icarus', 2200, 'Saturn V', 'Lander',
'RTG', 'Planned', 1100000000, 'CoreBore,SpectroVision,ImagoPro')
('Gaia observer', 'Map the Milky Way Galaxy', 'Milky Way', 'Calypso', 2500, 'Kautilya Launcher', 'Survey', 'Solar
Panels', 'Planned', 750000000, 'StarScope-1,Luxor,Photonix')
1.Missions
2.Personnel
3.Space instruments
4.Launch vehicles
5.Satellites
-------------------------------------------------------------------------------------------------------------------
------------------------------------
1 | Dr. Aditi Sharma | Cheif Scientist | Research and Development | 2015-06-10 | 150000 | Senior
| Poseidon Journey,LunaQuest
7 | Dr, Rakesh Mehta | Mission Specialist | Space Science | 2015-03-25 | 125000 | Senior
| Sedna Scout,Icarus
9 | Dr. Anjali Nair | Payload Specialist | Payload Operations | 2016-06-07 | 130000 | Senior
| Mars Rover Next
1.Name
2.Role
3.Department
4.Hire Date
5.Salary
6.Exp
7.Mission Assigned
Enter here:1
updated successfully!
1.Name
2.Role
3.Department
4.Hire Date
5.Salary
6.Exp
7.Mission Assigned
Enter here:6
Enter update:Junior
updated successfully!
1.Name
2.Role
3.Department
4.Hire Date
5.Salary
6.Exp
7.Mission Assigned
Enter here:1
updated successfully!
1.Missions
2.Personnel
3.Space instruments
4.Launch vehicles
5.Satellites
-------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------
1.Instrument name
2.Function
3.Dimensions
4.Mass
5.Power Consumption
6.Cost
7.Status
Enter here:1
Updated successfully!
1.Telescope
2.Spectrometer
3.Radiometer
4.Camera
5.Gyroscope
6.Magnetometer
7.Plasma Analyzer
8.Photometer
9.Particle Detector
10.Radar
11.Altimeter
12.Gas Chromatograph
13.Anemometer
14.Environmental sensors
Enter here:4
(3, 'AstraVision', 'Camera', 'Captures high resolution images', '9 x 4 x 4', 70, '4100', 1150000, 'In use', 4)
(10, 'OptiCam', 'camera', 'Captures high resolution images', '16 x 7 x 7', 930, '6000', 56000000, 'not in use', 3)
(15, 'ImagoPro', 'Camera', 'Captures high resolution images', '15 x 4 x 4', 380, '3700', 85000000, 'in use', 5)
Are you sure you want to delete this instrument from the table?(y/n)y
1.Missions
2.Personnel
3.Space instruments
4.Launch vehicles
5.Satellites
-------------------------------------------------------------------------------------------------------------------
-------------------
1.Vehicle Name
2.Manufacturer
3.Capacity
4.Engine Type
5.Height
6.Diameter
7.Status
Enter here:4
updated successfully!
Enter the minimum capacity that the launch vehicle should have:15000
Here are all the details of all the launch vehicles having capacity higher than 15000
(2, 'Prithvi Pioneer', 'Global Launch Systems', 18000, 'Hybrid', 80, Decimal('4'), 'Operational')
(6, 'DeepSpaceX', 'Cosmic Innovations', 25000, 'Liquid fuel', 85, Decimal('4'), 'Operational')
(7, 'Titan V', 'Space Frontier Corp', 22000, 'Hybrid', 90, Decimal('5'), 'Operational')
(8, 'Saturn V', 'Aerospace Innovations', 30000, 'Liquid Fuel', 110, Decimal('10'), 'Retired')
1.Missions
2.Personnel
3.Space instruments
4.Launch vehicles
5.Satellites
Enter status:Operational
Enter status:Operational
Enter status:Operational
Enter status:Decommissioned
Enter status:Operational
Enter status:Operational
Enter status:Operational
Enter status:Operational
Enter status:Operational
Enter status:Operational
1.Satellite Name
2.Launch date
3.Purpose
4.Status
5.Orbit type
6.Weight
Enter here:4
Enter update:Decommissioned
Updated successfully!
------------------------------------------------------------------------------------------------------------
1.Purpose
2.Status
Enter here:1
1.Communication
2.Weather
3.GPS
4.Earth Observation
5.Research
Enter here:1
1.Purpose
2.Status
Enter here:2
select status:
1.Operational
2.Decommissioned
Enter here:2
(4, 'ApolloSat-2', datetime.date(2019, 11, 1), 'Communication', 'Decommissioned', 'Geostationary', 1100)
Exiting...
BIBLIOGRAPHY