Question
In a zoo, 30% of the people are males. 50% of the
remaining are females and the remaining 630 are children. Find the total number of people in a zoo.Solution
Let the total number of people be x. Male = 30% of x = 3x/10 Remaining = x - 3x/10 = 7x/10 Female = 50% of (7x/10) = 7x/20 Now, children left = x - (3x/10 + 7x/20) = 630 => 7x/20 = 630 => x = 1800 Total number of people in a zoo is 1800.
The Banker's Algorithm is primarily used for:
Method overriding is an example of which type of polymorphism?
Which of the following scheduling algorithms minimizes average seek time?
What is the primary function of a router in a network?Â
What is a best practice for securing remote access in Windows and Unix/Linux environments?Â
What does Polymorphism mean in the context of OOP?
The latency of a network isÂ
What does "optimal substructure" mean in the context of Dynamic Programming?
Which of the following describes a major benefit of Continuous Integration (CI) in the software development lifecycle?Â
Consider the following C++ code:
#include
class Base {
public:
  virtual void show() = 0;
};
cl...