Given a question and a context passage, generate the answer having the word or phrase from the context passage. Here, the answer should be a shortest continous span from the passage.

Q: Context: Did you ever make a secret code? One way to make a code is to represent each letter of the alphabet by a different number. Then you can send a coded message by writing words as strings of digits. This is similar to how information is encoded using an electric current. The voltage of the current is changed rapidly and repeatedly to encode a message, called an electronic signal. There are two different types of electronic signals: analog signals and digital signals. Both are illustrated in Figure 23.20. A digital signal consists of pulses of voltage, created by repeatedly switching the current off and on. This type of signal encodes information as a string of 0s (current off) and 1s (current on). This is called a binary ("two-digit") code. DVDs, for example, encode sounds and pictures as digital signals. An analog signal consists of continuously changing voltage in a circuit. For example, microphones encode sounds as analog signals. Electronic components are the parts used in electronic devices such as computers. The components transmit and change electric current. They are made of materials called semiconductors. A semiconductor is a solid crystalusually consisting mainly of siliconthat can conduct current better than an electric insulator but not as well as an electric conductor. Very small amounts of other elements, such as boron or phosphorus, are added to the silicon so it can conduct current. A semiconductor is illustrated in Figure 23.21. There are two different types of semiconductors: n-type and p-type. An n-type semiconductor consists of silicon and an element such as phosphorus that gives the silicon crystal extra electrons. An n-type semiconductor is like the negative terminal in a chemical cell. A p-type semiconductor consists of silicon and an element such as boron that gives the silicon positively charged holes where electrons are missing. A p-type semiconductor is like the positive terminal in a chemical cell. Electronic components contain many semiconductors. Types of components include diodes, transistors, and inte- grated circuits. Each type is described in Table 23.2. Electronic Component Diode Transistor Integrated Circuit (Microchip) Description A diode consists of a p-type and an n-type semicon- ductor placed side by side. When a diode is connected by leads to a source of voltage, electrons flow from the n-type to the p-type semiconductor. This is the only direction that electrons can flow in a diode. This makes a diode useful for changing alternating current to direct current. A transistor consists of three semiconductors, either p- n-p or n-p-n. Current cant flow through a transistor unless a small amount of current is applied to the center semiconductor (through the base). Then a much larger current can flow through the transistor from end to end (from collector to emitter). This means that a transmitter can be used as a switch, with pulses of a small current turning a larger current on and off. A transistor can also be used to increase the amount of current flowing through a circuit. You can learn more about transistors and how they work at this URL: http An integrated circuitalso called a microchipis a tiny, flat piece of silicon that consists of layers of elec- tronic components such as transistors. An integrated circuit as small as a fingernail can contain millions of electronic components. Current flows extremely rapidly in an integrated circuit because it doesnt have far to travel. You can learn how microprocessors are made at this URL: Many of the devices you commonly use are electronic. Electronic devices include computers, mobile phones, TV remotes, DVD and CD players, game systems, MP3 players, and digital cameras. All of these devices use electric current to encode, analyze, or transmit information. Consider the computer as an example of an electronic device. A computer contains microchips with millions of tiny electronic components. Information is encoded as 0s and 1s and transmitted as electrical pulses. One digit (either 0 or 1) is called a bit, which stands for "binary digit." Each group of eight digits is called a byte. A gigabyte is a billion bytes that
Question: electronic component consisting two semiconductors

A: diode
****
Q: Context: Ten-year-old Chihiro (voice: Daveigh Chase in the 2002 English dub) and her parents (voices: Lauren Holly and Michael Chiklis) drive to their new home. Chihiro is whiny and unhappy about the move, especially when she notices that the bouquet her friend gave her as a good-bye gift is wilting. In sight of their new house, they take a wrong turn and follow a bumpy, decayed old road through the woods; Chihiro sees an odd old statue through the trees as they drive by. The road ends at a tunnel leading to an abandoned theme park. It gives Chihiro the creeps, but her parents persuade her to go in with them and look around.After wandering across a grassy landscape and a dry riverbed, they climb a stone staircase and come to a street lined with restaurants and shops. Most are deserted, but the aroma of cooking leads them to the one restaurant that's well stocked with food -- though it's mysteriously deserted. Mom and Dad are hungry and start eating, despite Chihiro's objections. The food is delicious, and Chihiro wanders away to explore while they eat. She finds a towering, ornate building that she recognizes as a bathhouse (a spa resort); there's a train track running under it. She meets a boy (voice: Jason Marsden) in traditional dress who is alarmed to see her; he tells her to leave and get back across the river before it gets dark. Chihiro runs back to her parents, but they're still eating -- and they've turned into pigs. Strange, dark, ghostly figures appear in all the shops and streets, frightening Chihiro and separating her from the pigs that were her parents. Chihiro runs back to the river, which was nearly dry when they came over but is now full and large, and she doesn't even recognize the buildings on the far side. As a riverboat approaches, she notices that her body has become transparent.The riverboat lands a big crowd of people in costume -- or maybe they're not people; at first they're only visible as paper masks. Chihiro thinks shes dreaming, but can't wake up. The boy who warned her away finds her and tells her she must eat some food from his world or she'll fade away. He assures her that she won't turn into a pig. She swallows the morsel he gives her and becomes solid, but finds that she's stuck to the ground until he recites an incantation to release her. A bird with a woman's head flies above them and he hides her, saying the bird is looking for her. They run through alleys and the pig barn to the big bathhouse, which is accessed by a bridge; the boy says she has to hold her breath as they cross the bridge or the spell that makes her invisible will be broken. Customers -- fantastically varied gods and spirits -- are crossing the bridge and being greeted by bathhouse staff. Chihiro makes it almost all the way across, but a frog (voice: Bob Bergen) that speaks to her companion (calling him Haku) startles her and she takes a breath. Luckily only the frog seems to see her, and Haku uses magic to encase it in a bubble to shut it up.Haku tells her to find Kamajii (voice: David Ogden Stiers), the boiler man, and make him give her a job; she must have a job to stay at the bathhouse, or else Yubaba (voice: Suzanne Pleshette), the old witch who rules the bathhouse, will turn her into an animal. And Haku says she has to stay if she wants to find and help her parents, who are still pigs, wherever they are. He knows her name and says he's known her since she was very small.Chihiro descends a steep, winding, rail-less wooden stairway in search of Kamajii and the boiler room. When she finds them, she sees a weird set-up in which the boiler is fed by creatures like spiders (delivering coal one lump at a time) and the machinery is controlled by a bearded, bald man
Question: Who used the black slug to control Haku?

A: yubaba
****
Q: Context: Abdali invaded the Mughal Empire seven times from 1748 to 1767. According to Jaswant Lal Mehta, Durrani aroused the Afghans "religious passions" to fire and "sword into the land of infidels India." He crossed the Khyber pass in December 1747 with 40,000 troops for his first invasion of India. He occupied Peshawar without any opposition. He first crossed the Indus River in 1748, the year after his ascension- his forces sacked and absorbed Lahore. The following year , the Mughal ruler was induced to cede Sindh and all of the Punjab including the vital trans Indus River to him, in order to save his capital from being attacked by the forces of the Durrani Empire. Having thus gained substantial territories to the east without a fight, Durrani and his forces turned westward to take possession of Herat, which was ruled by Nader Shah's grandson, Shah Rukh. The city fell to the Afghans in 1750, after almost a year of siege and bloody conflict; the Afghan forces then pushed on into present-day Iran, capturing Nishapur and Mashhad in 1751. Durrani then pardoned Shah Rukh and reconstituted Khorasan, but a tributary of the Durrani Empire. This marked the westernmost border of the Afghan Empire as set by the Pul-i-Abrisham, on the Mashhad-Tehran road.
Question: Who invaded India

A:
durrani
****