Question: What is the dot product of vectors A = (2, 3, 4) and B = (1, 0, -1)?
Options:
Correct Answer: 5
Solution:
A . B = 2*1 + 3*0 + 4*(-1) = 2 + 0 - 4 = -2.