Question
A shopkeeper mixes 40 kg sugar worth Rs.15 per
kg with 160 kg sugar worth Rs. 25 per kg. At what rate should he sell the mixture per kg to gain a profit of 25%?Solution
Cost of 40 kg sugar = Rs.600 Cost of 160 kg sugar = Rs.4,000 Total cost of 200 kg sugar = Rs. 4,600 Cost price of 1 kg sugar = `4600/200` = Rs.23 per kg S.P. = `(23xx125)/100` = Rs. 28.75
Trace the output int main() { int a=12,b=39; printf ("%d",a&b); return 0; }
Which routing protocol is commonly used within an autonomous system (AS) to determine the best path for data packets?
What is the primary strategy of a divide-and-conquer algorithm?
What is a "page fault" in the context of virtual memory?
In dynamic programming, what is the purpose of the "bottom-up" approach?
What is a primary key in the context of the ER model?
What is the primary advantage of using shared memory for IPC?
Which network topology is commonly used in Ethernet local area networks (LANs)?
Which type of variable has the widest scope and can be accessed from any part of the program?
Which clause is used to filter rows in the result set based on a specific condition in SQL?