Question
In a survey conducted in a locality, it was found that
50% read newspaper A, 40% read newspaper B, and 20% read neither A nor B. If the number of persons who read both A and B is 500, then how many persons were surveyed?Solution
Percentage of persons who do not read newspaper A = 100% - 50% = 50% Percentage of persons who do not read newspaper B = 100% - 40% = 60% Percentage of persons who don't read any newspaper neither A nor B = 20% From the following chart. Total percentage who read both A and B newspaper = 100% - 30%-20%-40% = 10% Let the total number of people be x, then x × (10/100) = 500 x = 500 x 10 = 5000 The total number of persons are 5000.
In Java, what will be the output of the following code snippet?
public class Test {
public static void main(String[] args) { <...
Which sorting algorithm is considered the most efficient for large datasets with no additional memory constraints?
What is a fundamental characteristic of a singly linked list?
Which cryptographic concept ensures that data integrity is preserved and cannot be altered during transmission?
Which of the following correctly describes the primary difference between Cross-Site Request Forgery (CSRF) and Cross-Site Scripting (XSS)?
...Which of the following is a core characteristic of Big Data?
In the context of asymmetric encryption, which of the following is a key feature of public-private key pairs?
- Computer Architecture
Which architectural feature is crucial for improving the performance of modern multi-core processors?
In a binary tree, what is the maximum number of children a node can have?
What is the base case in a recursive function?