Student A, B, C, and D participated in a science mini-test. The test only has 5 true or false questions, with 1 point awarded for each correct answer. The table below provides the answers of each student and the scores of A, B, and C. How many points did D get?



The translation maintains the original text's line breaks and format.
Logical reasoning.
Comparing Yi and Bing:
Yi and Bing only differ on the fourth question, and Yi's score is 1 point lower than Bing's; therefore, the correct answer to the fourth question is “Yes”;
Comparing Jia and Ding:
Jia and Ding have opposite answers for the first, second, third, and fifth questions;
Thus, for the first, second, third, and fifth questions, the total score of Jia and Ding is 4 points;
And Jia and Ding both scored 0 on the fourth question;
Therefore, the total score of Jia and Ding is 4 points;
So Ding scored $4-2=2$ points.