I automatically set up a box for each of these questions now. Takes an extra 20 or so seconds but it has really helped me reduce stupid errors.
The table is below. Let x be the number of participants who attended both sessions, y be the number of participants who attended a session on cloud computing but not cybersecurity, and z be the total number of participants who did not attend a cybersecurity session. We want to find x as a fraction of all the participants (a):
| Cyber | Not Cyber | Total: |
| Cloud Comp | x | y | c |
| Not CC | | d | |
| Total: | b | z | a |
z = a - b
y = z - d
x = c - y
substitute values:
y = (a - b) - d
x = c - ((a - b) - d) which can be rewritten as c - a + b + d or x = b + c + d - a
the number of participants who attended both sessions as a fraction of all the participants is x/a or \(\frac{b + c + d - a}{a}\)
Note: you get the same answer if assign variables to the other unknown values as well. For example, let x still be the number of participants who attended both sessions, but let p be the number of participants who attended a cyber session but not a cloud computing session, and let q be the total number of participants who did not attend a cloud computing session:
| Cyber | Not Cyber | Total: |
| Cloud Comp. | x | | c |
| Not CC | p | d | q |
| Total: | b | | a |
then,
q = a - c
p = (a - c) - d
x = b - [(a - c) - d] => b - a + c + d
Bunuel
At a tech seminar with
a total participants,
b attended a session on cybersecurity, and
c attended a session on cloud computing. If exactly
d participants attended neither session, then in terms of
a,
b,
c, and
d, what fraction of the participants attended both sessions?
A. \(\frac{a - b - c + d}{a}\)
B. \(\frac{a - b - c - d}{a}\)
C. \(\frac{b + c + d - a}{a}\)
D. \(\frac{a - b - c + 2d}{a}\)
E. \(\frac{b + c - a + d}{a-d}\)