Question
The ratio of the number of people
in A and B Companies is 4:5. 70% and 72% of people in A and B Companies passed the interview, respectively. After the regulation of the passing mark's in interview, the number of people who passed increased by 8 in both companies. If the total number of people who failed in interview is now 36, then find the total number of people in both A and B Companies.Solution
ATQ, Let number of people in A and B be 4p and 5p respectively. 4p - (4p × (70/100) + 8) + 5p - (5p × (72/100) + 8) = 36 4p - 2.8p - 8 + 5p - 3.6p - 8 = 36 2.6p = 52 p = 20 Total number of people = 4p + 5p = 9 × 20 = 180
Which of the following is an example of a NoSQL database?
Which SQL command is used to remove a table from the database?
What will be the output of the following Python code:
a=[1,2,3,4,5,6]
print(a[-1],a[-1:],a[:-1])
When implementing a `Graph` traversal algorithm like Depth-First Search (DFS) recursively, what is the primary control flow mechanism that manages the o...
A programmer is trying to debug an issue where an `ArrayList` (or equivalent dynamic array) in their Java/Python code unexpectedly throws an `IndexOut...
Consider the following pseudo-code:Â
 ```
  function calculate(arr):
    sum = 0
    for i from 0 to l...
An SQL `VIEW` is a:
Which of the following is used to enforce referential integrity?
In a relational schema, which normal form eliminates transitive dependencies (i.e., non-prime attribute depends on another non-prime attribute)?
Consider a scenario in an OOP application where a `NullPointerException` (or equivalent) occurs when trying to access a member of an object. What is the...