Question
In a class, 70% of the students
are adults, and 40% of the adults are females. If the number of adult males in the class is 105, what is the total number of students in the class?Solution
ATQ, Let total number of students in the class be '100a'. So, number of adults in the class = 100a X 0.7 = '70a' And, number of adult females in the class = 70a X 0.4 = '28x' So, number of adult males in the class = 70a - 28a = '42a' ATQ; 42a = 105 Or, a = 2.5 So, total number of students in the class = 100 × 2.5 = 250
Time complexity of heap sort is:
Which type of database key is a candidate key that has not been chosen as the primary key?
Which data structure uses LIFO (Last In, First Out) principle?
In a data warehousing environment, what is the primary purpose of an OLAP (Online Analytical Processing) cube?
- Which of the following is the primary characteristic of Infrastructure as a Service (IaaS) in cloud computing?
Which of the following accurately describes the role of a "foreign key" in a relational database system?
Deletion in Red-Black Trees maintains balance using:
Which SQL command is used to remove only specific rows from a table while preserving the structure and other rows?
In the dynamic programming approach for LCS, the base cases are crucial for correctly initializing the dp table.
Consider the following Python co...
RISC stands for: