Section 1 - Technical Knowledge Question 19: According to the passage, while the DLL...
Accenture technical mcq question, verified with a worked answer. Free to practise - no sign-up.
Section 1 - Technical Knowledge
Question 19: According to the passage, while the DLL routine is executing, the calling application:
Show answer & explanation
This is a set theory problem. Using the Principle of Inclusion-Exclusion, the number of students using red color is calculated by adding the total students to the intersection and subtracting those who use green.
Step-by-step Derivation:
Step 1: Identify the given values. Total students (n(G ∪ R)) = 70, Students using green (n(G)) = 52, Students using both (n(G ∩ R)) = 38.
Step 2: Apply the Principle of Inclusion-Exclusion formula: n(G ∪ R) = n(G) + n(R) - n(G ∩ R).
Step 3: Substitute the values: 70 = 52 + n(R) - 38.
Step 4: Simplify the equation: 70 = 14 + n(R).
Step 5: Solve for n(R): n(R) = 70 - 14 = 56.
Step 6: Match the result (56) with the provided options in Option I, where 'C) 56' is the correct value.