Question
A buffalo alone can plough field βAβ in 15 days. A
Bull alone can plough the field βAβ in 25 days. Find the number of days taken by 2 bulls and 3 buffalo to together plough field βBβ that is 26% larger than field βAβ?Solution
Let the total work done to plough field βAβ = 75 units (LCM of 15 and 25) Then, efficiency of a buffalo = (75/15) = 5 units/day Efficiency of a bull = (75/25) = 3 units/day Total work required to plough field βBβ = 75 Γ 1.26 = 94.5 units Combined efficiency of 2 bulls and 3 buffalo = 3 Γ 2 + 3 Γ 5Β = 21 units So, number of days required to plough field βBβ = 94.5/21 = 4.5 days
Which normal form ensures no partial dependency of non-prime attributes on a candidate key?
What will be the value of `x` after the following pseudo-code execution?Β
```
Β Β x = 0
Β Β data = [10, 20, 30]
Β Β f...
Consider a `Stack` data structure implemented with `push` and `pop` operations. What is the final state of the stack after the following sequence of ope...
Which of the following is a common technique for concurrency control in databases?
Which operation is NOT part of relational algebra?
In indexing, which tree is most commonly used for disk-based indexing because it minimizes disk seeks and keeps nodes dense?
A table is in 2NF (Second Normal Form) if it is in 1NF and:
Which of the following is a type of phishing attack?
Which of the following is NOT a type of database model?
Which SQL command is used to remove a table from the database?