1. ATM SYSTEM
Problem Summary: Create a menu to Deposit, Withdraw, Change PIN, and Check Balance . Key Logic: Use a while True loop to keep the program running until "Exit" is chosen.
# --- INITIAL SETUP ---
balance = 5000 # Starting money
pin = 1234 # Default PIN
print("--- WELCOME TO ATM ---")
while True:
# 1. Display Menu [cite: 16]
print("\n1. Deposit 2. Withdraw 3. Check Balance 4. Change PIN 5. Exit")
choice = input("Enter choice: ")
# ---...
In C language, pointers and arrays have a very close relationship, and understanding this relationship is important for memory handling and efficient programming. An array is a collection of similar data items stored in contiguous memory locations, whereas a pointer is a variable that stores the address of another variable. Because an array name represents the address of its first element, a pointer can be directly used to access and manipulate array elements.
1. Array Name as a Pointer:- In C,
In Java, multiple catch statements allow a program to handle different types of exceptions separately. When we write a try block, it may throw different exceptions while running. To handle each specific exception, Java provides multiple catch blocks, arranged one after another. Multiple catch statements mean writing more than one catch block after a single try block so that each block handles a different type of exception. This helps in writing reliable and error-free programs.
Need for Multiple
UNIT–IV
1. Winding Up of a Company – Definition and Meaning
Winding up of a company refers to the legal process of bringing the life of a company to an end. During winding up, all business operations stop, the company’s assets are collected and sold, and the proceeds are used to pay off debts and liabilities. Any remaining amount is distributed among shareholders according to their rights. Winding up is carried out under the supervision of a liquidator who ensures fair settlement of claims.
Database Cluster is a group of databases or database servers that work together to store data, share workload, and improve performance and reliability
/ Why Database Clusters are used?
To conclude, the discussion above demonstrates that these developments were part of a much larger historical process that gradually shaped India’s legal, political and administrative framework. Each reform, institution or policy did not stand alone; instead, it contributed to strengthening governance, improving accountability and introducing more systematic methods of administration. These changes also reflected India’s transition from traditional and colonial structures to more modern, organized...
Q1. Write a brief note on the preparation, structure, and bonding of diborane (B₂H₆). (6 marks)
Answer:
Diborane can be prepared by reducing boron trifluoride (BF₃) with lithium aluminium hydride or by reacting sodium borohydride (NaBH₄) with acids. The molecule consists of two boron atoms linked to four terminal hydrogen atoms and two bridging hydrogen atoms. The four terminal B–H bonds are normal covalent bonds, while the two bridging hydrogen atoms form three-centre two-electron bonds,