Question
Which component in the MVC architecture communicates
directly with the database?Solution
The "Model" in the MVC architecture is responsible for managing data and business logic. This includes communication with the database to retrieve, update, or manipulate data. The "Model" encapsulates the database operations and shields the rest of the application from direct database communication.
- 'A' invested Rs. 9,000 in a business. After 5 months, 'A' reduced the investment by Rs. 2,000 and 'B' joined with Rs. 12,000. At the end of 20 months from ...
‘A’ and ‘B’ started a business by investing Rs. 9000 and Rs. 11000, respectively. 12 months later, ‘C’ joined the business by investing Rs. ...
A and B invested Rs.4500 and Rs.5400 respectively. A invested for n  months and B invested for (n + 6)  months. Their total profit is Rs.14700. On...
A and B started a business with capitals of Rs. 55,000 and Rs. 40,000 respectively. After 18 months, A withdrew his investment while B increased his inv...
K and L started a business by investing Rs. (q + 900) and Rs. (3q - 1800), respectively. If K's profit share was Rs.27,000 out of a total profit of Rs.6...
A and B start a business by investing Rs 24,000 and Rs 36,000 respectively. After 4 months, C joins with an investment of Rs x. At the end of the year, ...
X and Y started a business by investing Rs. 30000 and Rs. 20000 respectively. After 6 months, Z joined with an investment of Rs. 25000. At the end of on...
A started a business with an investment of Rs 16,000. After 2 months B joins in with 5/8th of the amount that A invested and A withdraws Rs 4,000. After...
P, Q and R invested their money in the ratio 4 : 5 : 7 respectively. The total amount invested by them was Rs. 5,90,000 and the profit earned was 40% of...
P started a business with an investment of Rs.14000, after 6 months Q joined him with Rs.16000 and after another 6 months R joined them with Rs.20000. I...