Question
3 years ago, the average age of a family of 5 members
was 17 years. A baby being born, the average age of the family is 17 years. The present age of the baby is:Solution
Total age of 5 members now = (17 * 5 + 3 * 5) years = 100 years. Total age of 6 members now = (17 * 6) years = 102 years. Age of the baby = (102 - 100) years = 2 years.
Which of the following statements about normalization in relational databases is correct?
The amortized cost of appending an element at the end of a dynamic array is:
Which of the following scenarios violates Boyce-Codd Normal Form (BCNF) in a relational schema?
What is a key challenge in applying Natural Language Processing (NLP) techniques to real-world text data?
Which protocol is used by devices to obtain an IP address automatically in a network?
In a data warehouse, which of the following best describes the concept of "data granularity"?
What is the primary purpose of an Entity-Relationship (ER) Diagram in database design?
Which design pattern is best suited for managing the creation of objects without specifying their concrete classes?
Which SOLID principle emphasizes that a class should have only one reason to change?
Which of the following best illustrates Encapsulation in Object-Oriented Programming?