Question
There are three bags, A, B, and C, each containing two
different colored bands: red and yellow. The ratio of the total number of bands from A, B, and C is 2:3:1. Further, (1/5)th of the bands from C are red, (2/5)th of the bands from B are red, and (1/2) of the bands from A are red. What percent of the total number of bands from all the bags together are yellow?Solution
ATQ, Yellow bands from Bag A = (1/2) × 2x = x Yellow bands from Bag B = (3/5) × 3x = (9x/5) Yellow Bands from Bag C = (4/5) × x = (4x/5) Total yellow Bands = x + (9x/5) + (4x/5) = (18x/5) Required percentage =[ (18x/5)/6x] × 100 = 60%
What is false about linked list?
Which layer of the TCP/IP model is responsible for IP addressing and routing?
Which hazard occurs when there is a conflict in accessing a shared resource, such as a register file or an ALU, in an instruction pipeline?
Which consensus mechanism is used by Bitcoin, the first blockchain-based cryptocurrency?
In dynamic programming, what does "optimal substructure" mean?
What is a "token" in lexical analysis?
Which sorting algorithm is known for its best-case time complexity of O(n) when the input is already partially sorted?
Which data visualization technique is commonly used to represent the frequency distribution of a large dataset?
An XML document is a string of ____.
Which of the following algorithm is most sensitive to outliers?