1. About Mphasis
Founded in 1998 and headquartered in Bengaluru, India, Mphasis is currently led by CEO Nitin Rakesh. It is an Indian multinational information technology services and consulting company providing infrastructure technology and applications outsourcing services.
2. Why Mphasis?
Mphasis's unique front-to-back approach and focus on cloud cognitive solutions make it a highly innovative workplace. I am eager to apply my skills to build agile and scalable architectures for their clients.
3. What is try/except?
Handles exceptions safely. Prevents sudden crashes. Common error control. code Python try: print(1/0) except: print("error")
try:
print(1/0)
except:
print("error")
4. What is raise keyword?
Used to throw exception. Creates custom errors manually. Useful in validation. code Python raise Exception("Invalid")
raise Exception("Invalid")
5. What is self keyword?
Represents current object instance. Used inside class methods. Accesses variables easily. code Python class A: def show(self): print("ok") A().show()
class A:
def show(self):
print("ok")
A().show()