Final answer:
The suitable performance testing category for the embedded software of the spacecraft is Endurance testing. The performance testing category for the automated tool used by GEC is Load testing. The type of performance testing that should have been done during web-site development for the university's web-based portal is Stress testing, and for the popular website is Spike testing.
Step-by-step explanation:
The suitable performance testing category for the embedded software of the spacecraft to ensure that it is capable of working for 8 years in space is Endurance testing. Endurance testing is a type of performance testing that focuses on determining the system's ability to function under continuous or extended load conditions.
The performance testing category for the automated tool used by the Global Education Centre (GEC) at Infosys Mysore to ensure it is capable of supporting 2000 simultaneous users is Load testing. Load testing is conducted to assess the behavior of the system under normal and anticipated peak load conditions.
The type of performance testing that should have been done during web-site development for the university's web-based portal to avoid crashing during the announcement of examination results is Stress testing. Stress testing is performed to evaluate the system's response under extreme and beyond-normal load conditions.
The type of performance testing that should have been carried out during web-site development for the popular website to avoid crashing during the unexpected terrorist attack is Spike testing. Spike testing assesses the system's ability to handle sudden and significant increases in user load.