In this task you will be given a passage and a yes/no question based on the passage. You should answer the question using the information from the passage.

passage: A new version of the Surface Pen was launched in 2014 with the Surface Pro 3. Based on technology developed by N-trig (a separate company at the time, though subsequently acquired by Microsoft), the Surface Pro 3 version lacks the eraser tip present in the previous generation; erasing is done by drawing over the ink strokes while holding down one of two physical buttons on the side, above the button used for right-clicking. A third button, located in place of the eraser tip, sends a Bluetooth signal to a paired Surface PC which instantly opens OneNote, even when the device is locked (although advanced editing functions are disabled in this case). Unlike the Wacom-powered Surface Pen, it requires two batteries: one AAAA battery for stylus operation, and two size 319 coin cell batteries for the top button. The pen is included with all Surface Pro 3s but is also compatible with and available as an optional accessory for the Surface 3. It is also compatible with all subsequent Surface PCs, which uses the same basic technology. Surface Pro 3 Pen is able to detect 256 levels of pressure on its tip.
 question: is surface pro 3 pen compatible with surface pro 4?
Yes

passage: Although the electric chair has long been a symbol of the death penalty in the United States, its use is in decline due to the rise of lethal injection, which is widely believed to be a more humane method of execution. While some states still maintain electrocution as a method of execution, today it is only maintained as a secondary method that may be chosen over lethal injection at the request of the prisoner, except in Tennessee, where it may be used if the drugs for lethal injection are not available, without input from the prisoner. As of 2014, electrocution is an optional form of execution in the states of Alabama, Florida, South Carolina, and Virginia, all of which allow the prisoner to choose lethal injection as an alternative method. In the state of Kentucky, the electric chair has been retired, except for those whose capital crimes were committed prior to March 31, 1998, and who choose electrocution; inmates who do not choose electrocution and inmates who committed their crimes after the designated date are executed by lethal injection. In the state of Tennessee, the electric chair is available for use if lethal injection drugs are unavailable, or otherwise, if the inmate so chooses and if their capital crime was committed before 1999. The electric chair is an alternate form of execution approved for potential use in Arkansas, Mississippi, and Oklahoma if other forms of execution are found unconstitutional in the state at the time of execution.
 question: do they still use electric chair death penalty?
Yes

passage: During the climactic battle, Hagrid attempts to come to the defence of Aragog's carnivorous children, who have been driven out of the Forbidden Forest by the Death Eaters and are now attacking both Hogwarts defenders and Death Eaters indiscriminately, but he is carried off by a swarm of them. He later turns up, captive in the Death Eaters' camp, when Harry sacrifices himself to Voldemort. Hagrid is forced to carry Harry back to the school, not realising that Harry has survived again, and en route accuses the watching Centaurs of not doing enough to help. The Centaurs soon afterward join the fray and Hagrid takes part in the second half of the battle, felling his main nemesis among the Death Eaters, the magical-creature executioner Walden Macnair.
 question: does hagrid die in harry potter and the deathly hallows?

No