HelpOut - Recent questions and answers in Engineering & Technology Powered by Question2Answer Answered: What are Python Scripts <p><u><strong>Python scripts&nbsp;</strong></u></p><p>Python scripts run with Karrigell are ordinary Python scripts, except that the print statement sends the output to the client's browser instead of the console window. Therefore you'll have to write HTML code if you need the correct formatting ; for a minimal table you'll have to write something like:</p><p><strong>print "&lt;TABLE&gt;"</strong></p><p><strong>print "&lt;TR&gt;"&nbsp;</strong></p><p><strong>print "&lt;TD&gt;Name&lt;/TD&gt;"&nbsp;</strong></p><p><strong>print "&lt;TD&gt;Address&lt;/TD&gt;"&nbsp;</strong></p><p><strong>print "&lt;/TR&gt;"&nbsp;</strong></p><p><strong>print "&lt;/TABLE&gt;"</strong></p><p><strong>.....<a rel="nofollow" href="">more</a></strong></p><p></p> Engineering & Technology Sun, 17 Mar 2019 21:12:12 +0000 Answered: how do you embed python in html? <p><u><strong>Python Inside HTML:</strong></u></p><p><strong>Python</strong> Inside<strong> HTML</strong> behaves much like <u>Microsoft's Active Server Pages</u>, Sun's Java Server Pages and <strong>PHP</strong> : it's basically a HTML document, in which you insert portions of code written in a programming language - here Python In Python Inside HTML, these portions of code are separated from the HTML code inside special tags :<strong>&lt;% and %&gt;</strong>&nbsp;</p><p>Suppose you want to display the current date, you'll mix html and Python code this way : The current date is:&nbsp;</p><p><strong><span style="font-size:12px">&lt;% import datetime</span></strong></p><p><strong><span style="font-size:12px">&nbsp;print"%d:%m:%y")&nbsp;</span></strong></p><p><strong><span style="font-size:12px">%&gt;&nbsp;</span></strong></p><p>With a text editor, write the code above and save it under time.pih in your Root Directory. Enter http://localhost/time.pih and see what happens.&nbsp;&nbsp;</p><p>You'll notice that the code inside the <strong>&lt;% and %&gt;</strong> tags is ordinary Python code, in which you can import modules, create and instanciate classes, use variables, read or write to the file system, etc.&nbsp;</p><p>Access to HTTP environment, to form fields, to the exceptions defined by Karrigell are made the same way as in <a rel="nofollow" href="">Python Scripts</a>.&nbsp;</p><p><a rel="nofollow" href="">See here for more details</a>.</p> Engineering & Technology Sun, 17 Mar 2019 21:07:20 +0000 Answered: How long does an oversized piston rings lasts in a rebuilt engine <p>Piston rings should be changed by a knowledgeable mechanic. The engine must be fully disassembled to change the rings. You also must change the bearings on the crankshaft and the connecting rods. Replacing the piston rings is considered a engine rebuild and you cannot just change them as you must ensure that the cylinder is true, meaning that it is straight from the top of the cylinder to the bottom, and that the cylinder is perfectly round, as well. This requires a special set of micrometers, so it's best to take the block to a machine shop to have it cleaned and checked. Replacing the rings is relatively quick, if someone is dedicated to the job. <strong>It can take several weeks</strong>, if a mechanic is doing the job for you, because it is a very intense job, requiring engine removal, disassembly, and as previously stated, possible machine-work.</p> Engineering & Technology Fri, 15 Mar 2019 11:55:34 +0000 Answered: What is Knee Voltage <p>Knee voltage (<a rel="nofollow" href="">cut in voltage</a>)&nbsp;</p><p>The forward voltage at which the current through the<strong> P-N Junction</strong> starts increasing rapidly is called as Cut in voltage or knee voltage</p><p><img alt="" src="" style="height:122px; width:100px"><img alt="" src="" style="height:154px; width:200px"></p> Engineering & Technology Fri, 15 Mar 2019 10:07:23 +0000 Answered: what is the full meaning of A. L. P <p>In ICT, <strong>ALP</strong> means:</p><p>Alternative Learning Programmes (<strong>ALP</strong>)</p> Engineering & Technology Sun, 10 Mar 2019 21:02:16 +0000 Answered: What is Doping Is the addition of impurities to a semiconductor Engineering & Technology Sun, 10 Mar 2019 10:52:42 +0000 Answered: What is an Extrinsic semiconductor <p>An<strong> extrinsic semiconductor</strong> is one that has been doped; during manufacture of the&nbsp;<a rel="nofollow" href="">semiconductor</a> crystal a trace element or chemical called a&nbsp;<a rel="nofollow" href=";show=286#c286">doping</a> agent has been incorporated chemically into the crystal, for the purpose of giving it different electrical properties than the pure semiconductor crystal, which is called an intrinsic semiconductor. In an<u> extrinsic semiconductor</u> it is these foreign dopant atoms in the crystal lattice that mainly provide the charge carriers which carry electric current through the crystal.&nbsp;</p><p>The doping agents used are of two types, resulting in two types of extrinsic semiconductor. An electron donor dopant is an atom which, when incorporated in the crystal, releases a mobile conduction electron into the crystal lattice.&nbsp;</p><p>An extrinsic semiconductor which has been doped with electron donor atoms is called an n-type semiconductor, because the majority of charge carriers in the crystal are negative electrons. An electron acceptor dopant is an atom which accepts an electron from the lattice, creating a vacancy where an electron should be called a hole which can move through the crystal like a positively charged particle.&nbsp;</p><p>An extrinsic semiconductor which has been doped with electron acceptor atoms is called a p-type semiconductor, because the majority of charge carriers in the crystal are positive holes.</p> Engineering & Technology Fri, 08 Mar 2019 21:33:36 +0000 Answered: What is an Intrinsic semiconductor? <p>An <strong>intrinsic(pure)</strong> semiconductor, also called an<strong> undoped</strong> semiconductor or i-type semiconductor, is a pure semiconductor without any significant<strong> dopant</strong> species present.&nbsp;</p><p>The number of charge carriers is therefore determined by the properties of the material itself instead of the amount of impurities</p> Engineering & Technology Fri, 08 Mar 2019 21:26:33 +0000 Answered: What is a semiconductor <p><span style="font-size:24px"><span style="font-family:Comic Sans MS,cursive"><strong>Semiconductors:</strong></span></span><strong> </strong></p><hr><p><u>Semiconductors</u> are materials which have a conductivity between <u>conductors</u> (<em>generally metals)</em> and <u>nonconductors or insulators</u> (<em>such as most ceramics</em>).</p><hr><p>Semiconductors can be<strong><em> pure elements,</em></strong> such as<strong> silicon </strong>or<strong> germanium</strong>, or <u><strong>compounds </strong></u>such as<strong> gallium arsenide</strong> or <strong>cadmium selenide</strong>.</p><hr><p>&nbsp;In a process called<strong>&nbsp;Doping</strong>, small amounts of <u>impurities</u> are added to pure semiconductors causing large changes in the<u> conductivity of the materia</u>l.&nbsp;</p><p>&nbsp;Due to their role in the fabrication of electronic devices, semiconductors are an important part of our lives.</p><p>Imagine life without electronic devices. There would be no radios, no TV's, no computers, no video games, and poor medical diagnostic equipment.&nbsp;</p><p>Although many electronic devices could be made using vacuum tube technology, the developments in semiconductor technology during the past 50 years have made electronic devices smaller, faster, and more reliable.&nbsp;</p><p>Think for a minute of all the encounters you have with electronic devices. How many of the following have you seen or used in the last twenty-four hours? Each has important components that have been manufactured with electronic materials. <strong> </strong></p> Engineering & Technology Fri, 08 Mar 2019 12:17:54 +0000 Answered: What happens when a p-type and n-type semiconductor diode meet <p><strong><img alt="" src="" style="height:360px; width:480px"></strong></p><p><strong>In electronics</strong>, a <u>diode</u> is a <u>two-terminal</u> electronic component that conducts primarily in <strong>one</strong> <strong>direction (asymmetric conductance)</strong>; it has low <strong>(ideally zero</strong>) resistance to the flow of current in one direction, and high<strong> (ideally infinite) resistance</strong> in the other.</p><p><em>The contacting surface of P- and N-type&nbsp;<a rel="nofollow" href="">semiconductors</a> is a</em><strong><em> P-N junction.</em></strong> &nbsp;</p><p>When P-type and N-type come into contact, carriers, which are <strong>holes</strong> and <strong>free electrons</strong>, are attracted to each other, <u>recombine</u> at the junction of P-type and N-type, and<u> disappear.</u>&nbsp;</p><p>Because there are no carriers near the junction, it is called a <u><strong>depletion layer,</strong></u> and it becomes the same state as an <u><strong>insulator</strong></u>.&nbsp;</p><p>When voltage is applied by connecting <strong>P-type</strong> to <strong>"+"</strong> electrode and <strong>N-type</strong> to <strong>"-" </strong>electrode, electrons flow from N-type region to P-type region, electrons that did not disappear through recombination with holes move to <strong>“+”</strong> electrode, and current flows.&nbsp;</p><p>The same mechanism applies to holes in P-type region.</p><p><img alt="" src="" style="height:240px; width:319px"></p> Engineering & Technology Fri, 08 Mar 2019 00:36:41 +0000 Answered: Why is HTML not a programming language? <p>HTML is no more a programming language than Microsoft Word is. With Word (or any other word processor software), you can write out text and format it with different fonts, sizes, and colors. Images and tables and bullet points can be added as well. This is all done through the word processor's graphical user interface. An HTML file is similar, except it does not have a GUI. Instead, it is entirely written out in plaintext, so all the formatting instructions must be typed out as HTML tags (for example, &lt;b&gt; or &lt;center&gt;.) This "language" of tags is how we can format the appearance of a webpage. Programming languages, on the other hand, can process data and make decisions. You can store data such as text strings and integers, and then manipulate these values to perform calculations. For example, doing some math or sorting text alphabetically are kinds of data processing that you cannot do in HTML. Programming languages can also make decisions about what instructions they should execute. Depending on if a certain condition is true or false, a set of instructions may be executed or skipped by a program.</p><p>Programming languages also have ways of executing instructions over and over again in loops. Loops, if-else statements, and other such instructions are called flow control statements.<strong> All programming languages have these flow control statements, but HTML (and Microsoft Word) do not.</strong></p> Engineering & Technology Sun, 03 Mar 2019 22:23:13 +0000 Answered: How do I Edit PDFs Online for Free <ul><li>Upload your PDF to your Google Drive. <strong>Click New &gt; File Upload</strong> and navigate to the location where your file is saved on your computer.</li><li>Once the upload is complete, go to the file in your Google Drive, right click it and select <strong>Open With &gt; Google Docs. </strong></li><li>Your PDF will now open up as an editable document in Google Docs.</li><li>Once you’re done editing it, you can save it to your computer as a PDF or Word Document, among other file formats. <strong>Click File &gt; Download </strong>as and select your file type to save your edited document.</li></ul><p></p> Engineering & Technology Wed, 27 Feb 2019 00:47:42 +0000 Answered: What is the connection between Earthquake and Plate Tectonics? <a href="" rel="nofollow" target="_blank"></a><br /> <br /> Relationship between Earthquakes and Volcanic Eruptions Engineering & Technology Tue, 26 Feb 2019 21:54:07 +0000 Answered: What is the connection between Volcano and Plate Tectonics? <p><span style="color:#3c4043; font-family:Roboto,HelveticaNeue,Arial,sans-serif; font-size:18px">Some, but not all, earthquakes are related to&nbsp;</span><strong style="color:#3c4043; font-family:Roboto,HelveticaNeue,Arial,sans-serif; font-size:18px; max-height:999999px">volcanoes</strong><span style="color:#3c4043; font-family:Roboto,HelveticaNeue,Arial,sans-serif; font-size:18px">. For example, most earthquakes are along the edges of&nbsp;</span><strong style="color:#3c4043; font-family:Roboto,HelveticaNeue,Arial,sans-serif; font-size:18px; max-height:999999px">tectonic plates</strong><span style="color:#3c4043; font-family:Roboto,HelveticaNeue,Arial,sans-serif; font-size:18px">. ... However, most earthquakes are caused by the interaction of the&nbsp;</span><strong style="color:#3c4043; font-family:Roboto,HelveticaNeue,Arial,sans-serif; font-size:18px; max-height:999999px">plates</strong><span style="color:#3c4043; font-family:Roboto,HelveticaNeue,Arial,sans-serif; font-size:18px">&nbsp;not the movement of magma . Most earthquakes directly beneath a</span><strong style="color:#3c4043; font-family:Roboto,HelveticaNeue,Arial,sans-serif; font-size:18px; max-height:999999px">volcano</strong><span style="color:#3c4043; font-family:Roboto,HelveticaNeue,Arial,sans-serif; font-size:18px">&nbsp;are caused by the movement of magma.</span></p> Engineering & Technology Tue, 26 Feb 2019 14:19:19 +0000 Answered: Why are only Group III & V elements used for doping? Because they donate or steal and also electron &nbsp;is their dopant energy level within the bandgab Engineering & Technology Fri, 22 Feb 2019 10:15:02 +0000 Answered: how do I clear screen in python? An easier way to clear a screen while in python is to use Ctrl + L though it works for the shell as well as other programs. Command+K works fine in OSX to clear screen. Shift+Command+K to clear only the scrollback buffer. Subprocess allows you to call &quot;cls&quot; for Shell. Engineering & Technology Thu, 21 Feb 2019 12:26:43 +0000 Answered: what is the new definition of the kilogram? <p><strong>The Kilogram</strong></p><p>Currently, it is defined by the weight of a platinum-based ingot called "Le Grand K" which is locked away in a safe in Paris.</p><p><img alt="" src="" style="height:180px; width:320px"></p><p>Visit&nbsp;<a rel="nofollow" href="">here</a>&nbsp;for updates on the new definition of the <strong>kilogram</strong></p> Engineering & Technology Sat, 16 Feb 2019 15:57:44 +0000 Answered: how do I convert a word document into a PDF file <p><u><strong>Below are the steps to convert your word document into a pdf document:</strong></u></p><ul><li>Click the microsoft office button, point to the arrow next to<strong> Save As</strong>. and then click on <strong>PDF</strong> or <strong>XPS.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <img alt="" src="" style="height:52px; width:251px"></li><li>In the<strong> File name list</strong>, type or select the name of the document.</li><li>In the <strong>Save As</strong> type list, click <strong>PDF.</strong>&nbsp; &nbsp; &nbsp; &nbsp;</li><li>If you want to open the file immediately after saving it, select the <strong>open file after publishing </strong>check box. This check box is available only if u have a pdf reader installed on your computer.</li><li>Click<strong> publish.</strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</li></ul><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For references see&nbsp;<a rel="nofollow" href="">here</a>.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p> Engineering & Technology Fri, 08 Feb 2019 12:19:50 +0000 Answered: What year was computer made? <p>The first programmable computer, the Z1, was created by German Konrad Zuse in his parents' living room between <u><strong>1936</strong> </u>and <u><strong>1938</strong></u></p> Engineering & Technology Fri, 25 Jan 2019 14:49:00 +0000 Answered: How does an LDR work with a PIR Light Dependent Resistor(LDR) is a component that has a (variable) reistance that changes with the light intensity that falls upon it. This allows them to be used in light sensing circuits.<br /> <br /> Also,<br /> <br /> A Passive Infrared Resistor (PIR) is an electronic sensor that measures infrared light radiating from objects in its feild of view. They are most often used in PIR-based motion-detectors.<br /> <br /> Ref: Engineering & Technology Wed, 23 Jan 2019 19:54:19 +0000