Question
In a village, 40% of the families have bikes, 10% have
cars and 10% have both bikes and cars. There are 60 families in the village. How many families have neither bikes nor cars?Solution
ATQ,
Total families = 60. 40% have bikes = 24 families. 10% have cars = 6 families. 10% have both = 6 families. Families with either bikes or cars = 24+6−6=24. Families with neither bikes nor cars = 60−24=36. So, 36 families have neither bikes nor cars.
What is a "collision" in the context of hashing?
In the context of system analysis, which of the following best defines the "use case" diagram?
Which of the following is NOT a type of graph representation?
In a compiler's code flow, which operation is primarily used to manage function call contexts (local variables, return addresses) during program execution?
Which sorting algorithm is the most efficient for large datasets and uses a divide-and-conquer approach?
Which of the following is a key advantage of digital signatures?
What is the worst-case time complexity for inserting an element into a hash table that uses separate chaining for collision resolution?
Deletion in Red-Black Tree may require:
Tarjan’s algorithm is used to find:
Which of the following is a key objective of the Requirement Analysis phase in the Software Development Lifecycle (SDLC)?