Question
Average weight of all the people in a group is 62 kg.
When two people of weight 68 kg and 82 kg left the group, average weight reduces by 1 kg. Find the number of people in the group now.Solution
Let the number of people initially be 'n'.
So, 62n - 61 × (n - 2) = 68 + 82
Or, 62n - 61n + 122 = 150
Or, n = 28
Required number of people = 28 - 2 = 26
In a relational database, what is a candidate key?
In two-phase locking, a transaction releases its locks:
Which of the following is a non-relational database?
Which of the following is a type of phishing attack?
Which interrupt is generated by software?
Which of the following illustrates an advantage of DBMS over traditional file systems?
Which deadlock prevention scheme allows older transactions to preempt younger ones?
Which database model represents data in a tree-like structure, where each child record has only one parent?
Which SQL command is used to retrieve data from a table?
Which constraint ensures that a column contains only unique values, but allows NULL values?