HelpOut - Recent questions and answers in Engineering & Technology http://onlinehelpout.com/qa/technology Powered by Question2Answer Answered: What are Python Scripts http://onlinehelpout.com/310/what-are-python-scripts?show=312#a312 <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="http://karrigell.sourceforge.net/en/pythonscripts.html">more</a></strong></p><p></p> Engineering & Technology http://onlinehelpout.com/310/what-are-python-scripts?show=312#a312 Sun, 17 Mar 2019 21:12:12 +0000 Answered: how do you embed python in html? http://onlinehelpout.com/308/how-do-you-embed-python-in-html?show=311#a311 <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 datetime.date.today().strftime("%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="https://www.onlinehelpout.com/310/what-are-python-scripts">Python Scripts</a>.&nbsp;</p><p><a rel="nofollow" href="http://karrigell.sourceforge.net/en/pythoninsidehtml.html">See here for more details</a>.</p> Engineering & Technology http://onlinehelpout.com/308/how-do-you-embed-python-in-html?show=311#a311 Sun, 17 Mar 2019 21:07:20 +0000 Answered: How long does an oversized piston rings lasts in a rebuilt engine http://onlinehelpout.com/303/how-long-does-oversized-piston-rings-lasts-in-rebuilt-engine?show=304#a304 <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 http://onlinehelpout.com/303/how-long-does-oversized-piston-rings-lasts-in-rebuilt-engine?show=304#a304 Fri, 15 Mar 2019 11:55:34 +0000 Answered: What is Knee Voltage http://onlinehelpout.com/300/what-is-knee-voltage?show=302#a302 <p>Knee voltage (<a rel="nofollow" href="https://www.onlinehelpout.com/300/what-is-knee-voltage">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="https://www.onlinehelpout.com/300/what-is-knee-voltage" style="height:122px; width:100px"><img alt="" src="https://qph.fs.quoracdn.net/main-qimg-66682d1ca80a5c2727179da448301368.webp" style="height:154px; width:200px"></p> Engineering & Technology http://onlinehelpout.com/300/what-is-knee-voltage?show=302#a302 Fri, 15 Mar 2019 10:07:23 +0000 Answered: what is the full meaning of A. L. P http://onlinehelpout.com/293/what-is-the-full-meaning-of-a-l-p?show=294#a294 <p>In ICT, <strong>ALP</strong> means:</p><p>Alternative Learning Programmes (<strong>ALP</strong>)</p> Engineering & Technology http://onlinehelpout.com/293/what-is-the-full-meaning-of-a-l-p?show=294#a294 Sun, 10 Mar 2019 21:02:16 +0000 Answered: What is Doping http://onlinehelpout.com/285/what-is-doping?show=292#a292 Is the addition of impurities to a semiconductor Engineering & Technology http://onlinehelpout.com/285/what-is-doping?show=292#a292 Sun, 10 Mar 2019 10:52:42 +0000 Answered: What is an Extrinsic semiconductor http://onlinehelpout.com/289/what-is-an-extrinsic-semiconductor?show=291#a291 <p>An<strong> extrinsic semiconductor</strong> is one that has been doped; during manufacture of the&nbsp;<a rel="nofollow" href="https://www.onlinehelpout.com/index.php/281/what-is-a-semiconductor">semiconductor</a> crystal a trace element or chemical called a&nbsp;<a rel="nofollow" href="https://www.onlinehelpout.com/index.php/285/what-is-doping?state=comment-286&amp;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 http://onlinehelpout.com/289/what-is-an-extrinsic-semiconductor?show=291#a291 Fri, 08 Mar 2019 21:33:36 +0000 Answered: What is an Intrinsic semiconductor? http://onlinehelpout.com/287/what-is-an-intrinsic-semiconductor?show=288#a288 <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 http://onlinehelpout.com/287/what-is-an-intrinsic-semiconductor?show=288#a288 Fri, 08 Mar 2019 21:26:33 +0000 Answered: What is a semiconductor http://onlinehelpout.com/281/what-is-a-semiconductor?show=284#a284 <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 http://onlinehelpout.com/281/what-is-a-semiconductor?show=284#a284 Fri, 08 Mar 2019 12:17:54 +0000 Answered: What happens when a p-type and n-type semiconductor diode meet http://onlinehelpout.com/274/what-happens-when-p-type-and-n-type-semiconductor-diode-meet?show=280#a280 <p><strong><img alt="" src="https://slideplayer.com/slide/10760042/37/images/11/Diode%3A+p-type+meets+n-type.jpg" 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="https://www.onlinehelpout.com/index.php/281/what-is-a-semiconductor">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="https://image.slidesharecdn.com/organiclightemittingdiodes-140315100340-phpapp02/95/organic-light-emitting-diodes-11-638.jpg?cb=1394877945" style="height:240px; width:319px"></p> Engineering & Technology http://onlinehelpout.com/274/what-happens-when-p-type-and-n-type-semiconductor-diode-meet?show=280#a280 Fri, 08 Mar 2019 00:36:41 +0000 Answered: Why is HTML not a programming language? http://onlinehelpout.com/209/why-is-html-not-a-programming-language?show=211#a211 <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 http://onlinehelpout.com/209/why-is-html-not-a-programming-language?show=211#a211 Sun, 03 Mar 2019 22:23:13 +0000 Answered: How do I Edit PDFs Online for Free http://onlinehelpout.com/191/how-do-i-edit-pdfs-online-for-free?show=192#a192 <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 http://onlinehelpout.com/191/how-do-i-edit-pdfs-online-for-free?show=192#a192 Wed, 27 Feb 2019 00:47:42 +0000 Answered: What is the connection between Earthquake and Plate Tectonics? http://onlinehelpout.com/187/what-the-connection-between-earthquake-and-plate-tectonics?show=190#a190 <a href="https://sciencestruck.com/relationship-between-earthquakes-volcanoes.amp" rel="nofollow" target="_blank">https://sciencestruck.com/relationship-between-earthquakes-volcanoes.amp</a><br /> <br /> Relationship between Earthquakes and Volcanic Eruptions Engineering & Technology http://onlinehelpout.com/187/what-the-connection-between-earthquake-and-plate-tectonics?show=190#a190 Tue, 26 Feb 2019 21:54:07 +0000 Answered: What is the connection between Volcano and Plate Tectonics? http://onlinehelpout.com/188/what-is-the-connection-between-volcano-and-plate-tectonics?show=189#a189 <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 http://onlinehelpout.com/188/what-is-the-connection-between-volcano-and-plate-tectonics?show=189#a189 Tue, 26 Feb 2019 14:19:19 +0000 Answered: Why are only Group III & V elements used for doping? http://onlinehelpout.com/165/why-are-only-group-iii-v-elements-used-for-doping?show=166#a166 Because they donate or steal and also electron &nbsp;is their dopant energy level within the bandgab Engineering & Technology http://onlinehelpout.com/165/why-are-only-group-iii-v-elements-used-for-doping?show=166#a166 Fri, 22 Feb 2019 10:15:02 +0000 Answered: how do I clear screen in python? http://onlinehelpout.com/163/how-do-i-clear-screen-in-python?show=164#a164 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 http://onlinehelpout.com/163/how-do-i-clear-screen-in-python?show=164#a164 Thu, 21 Feb 2019 12:26:43 +0000 Answered: what is the new definition of the kilogram? http://onlinehelpout.com/137/what-is-the-new-definition-of-the-kilogram?show=138#a138 <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="https://ichef.bbci.co.uk/news/320/cpsprodpb/4617/production/_104234971_kilogrammel.jpg" style="height:180px; width:320px"></p><p>Visit&nbsp;<a rel="nofollow" href="https://www.bbc.com/news/science-environment-46143399">here</a>&nbsp;for updates on the new definition of the <strong>kilogram</strong></p> Engineering & Technology http://onlinehelpout.com/137/what-is-the-new-definition-of-the-kilogram?show=138#a138 Sat, 16 Feb 2019 15:57:44 +0000 Answered: how do I convert a word document into a PDF file http://onlinehelpout.com/98/how-do-i-convert-a-word-document-into-a-pdf-file?show=99#a99 <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="https://www.benchmarkemail.com/images/screen_shots/menu_word.gif" 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="https://kb.benchmarkemail.com/how-do-you-convert-a-word-document-to-a-pdf/">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 http://onlinehelpout.com/98/how-do-i-convert-a-word-document-into-a-pdf-file?show=99#a99 Fri, 08 Feb 2019 12:19:50 +0000 Answered: What year was computer made? http://onlinehelpout.com/27/what-year-was-computer-made?show=29#a29 <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 http://onlinehelpout.com/27/what-year-was-computer-made?show=29#a29 Fri, 25 Jan 2019 14:49:00 +0000 Answered: How does an LDR work with a PIR http://onlinehelpout.com/3/how-does-an-ldr-work-with-a-pir?show=8#a8 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: wikipedia.org Engineering & Technology http://onlinehelpout.com/3/how-does-an-ldr-work-with-a-pir?show=8#a8 Wed, 23 Jan 2019 19:54:19 +0000