Question
The total population of a village is 1000. The number of
males and females increases by 6% and 8% respectively and consequently the population of the village becomes 1075. What was the number of males in the village?Solution
Population of a village increases from 1000 to 1075 So, net % increase in population = (75/1000)× 100 = 7.5%
Hence, the number of males in that village was = (1/4) × 1000 = 250
What is the time complexity of searching an element in a balanced binary search tree (BST) with nnn nodes?
In a data warehousing environment, what is the primary purpose of an OLAP (Online Analytical Processing) cube?
Max-Flow Min-Cut theorem states:
In system design, what is the primary purpose of a feasibility study?
A complete binary tree has 127 nodes. What is its height (assuming the root is at level 0)?
Deletion in Red-Black Trees maintains balance using:
Fibonacci heaps support which operation in O(1) amortized time?
Which of the following is a primary advantage of using a star schema in a data warehouse design?
Which of the following is an effective countermeasure against Cross-Site Scripting (XSS) attacks in a web application?
A programmer is implementing a data analysis tool that frequently needs to append elements to a collection. If an array is used, what is a potential per...