|
@@ -22,18 +22,18 @@
|
|
|
var CONFIG = {"hostname":"schtonn.github.io","root":"/","scheme":"Muse","version":"7.7.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":true},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideLeftIn"}}};
|
|
|
</script>
|
|
|
|
|
|
- <meta name="description" content="Introduction We all know computers, and we basically knows how to use it, but we have no idea about how does it work.">
|
|
|
+ <meta name="description" content="Introduction We all know computers, and we basically know how to use it, but we have no idea about how does it work.">
|
|
|
<meta property="og:type" content="article">
|
|
|
<meta property="og:title" content="How do computers work?">
|
|
|
<meta property="og:url" content="https://schtonn.github.io/2020/03/04/computer/index.html">
|
|
|
<meta property="og:site_name" content="Schtonn's Blog">
|
|
|
-<meta property="og:description" content="Introduction We all know computers, and we basically knows how to use it, but we have no idea about how does it work.">
|
|
|
+<meta property="og:description" content="Introduction We all know computers, and we basically know how to use it, but we have no idea about how does it work.">
|
|
|
<meta property="og:locale" content="en_US">
|
|
|
<meta property="og:image" content="https://schtonn.github.io/images/transistor.png">
|
|
|
<meta property="og:image" content="https://schtonn.github.io/images/and-gate.jpg">
|
|
|
<meta property="og:image" content="https://schtonn.github.io/images/compute-module.jpg">
|
|
|
<meta property="article:published_time" content="2020-03-04T04:53:05.000Z">
|
|
|
-<meta property="article:modified_time" content="2020-03-04T10:34:36.992Z">
|
|
|
+<meta property="article:modified_time" content="2020-03-04T10:39:12.331Z">
|
|
|
<meta property="article:author" content="Schtonn">
|
|
|
<meta property="article:tag" content="other">
|
|
|
<meta name="twitter:card" content="summary">
|
|
@@ -188,7 +188,7 @@
|
|
|
<span class="post-meta-item-text">Posted on</span>
|
|
|
|
|
|
|
|
|
- <time title="Created: 2020-Mar-04 12:53:05 / Modified: 18:34:36" itemprop="dateCreated datePublished" datetime="2020-03-04T12:53:05+08:00">2020-Mar-04</time>
|
|
|
+ <time title="Created: 2020-Mar-04 12:53:05 / Modified: 18:39:12" itemprop="dateCreated datePublished" datetime="2020-03-04T12:53:05+08:00">2020-Mar-04</time>
|
|
|
</span>
|
|
|
|
|
|
|
|
@@ -203,21 +203,21 @@
|
|
|
|
|
|
|
|
|
<h3 id="introduction"><a class="markdownIt-Anchor" href="#introduction"></a> Introduction</h3>
|
|
|
-<p>We all know computers, and we basically knows how to use it, but we have no idea about how does it work.</p>
|
|
|
+<p>We all know computers, and we basically know how to use it, but we have no idea about how does it work.</p>
|
|
|
<a id="more"></a>
|
|
|
<h3 id="well"><a class="markdownIt-Anchor" href="#well"></a> Well…</h3>
|
|
|
<blockquote>
|
|
|
<p>If I can present well, and you can understand well, We can watch a video!</p>
|
|
|
</blockquote>
|
|
|
<h3 id="deep-inside-the-computer"><a class="markdownIt-Anchor" href="#deep-inside-the-computer"></a> Deep inside the computer</h3>
|
|
|
-<p>Inside the computer, there are loads of parts, and the most inportant one is the <strong>CPU</strong>.</p>
|
|
|
-<p>The <strong>CPU</strong> contains <strong>basic modules</strong>, which contains <strong>logic gates</strong>, which <strong>contains transistors</strong>.</p>
|
|
|
+<p>Inside the computer, there are loads of parts, and the most important one is the <strong>CPU</strong>.</p>
|
|
|
+<p>The <strong>CPU</strong> contains <strong>basic modules</strong>, which contains <strong>logic gates</strong>, which contains <strong>transistors</strong>.</p>
|
|
|
<h3 id="transistor"><a class="markdownIt-Anchor" href="#transistor"></a> Transistor</h3>
|
|
|
<p>What is a transistor?<br />
|
|
|
-Transistor is the most basic part of a computer. It is just an electronic switch, but without it, yout computer cannot compute anything.<br />
|
|
|
+Transistor is the most basic part of a computer. It is just an electronic switch, but without it, your computer cannot compute anything.<br />
|
|
|
<img src="/images/transistor.png" alt="A transistor" /></p>
|
|
|
<p>The transistor has three pins, collector, base, and emitter, also, C, B, E for short. You must be familiar with this because we’ve met it before.<br />
|
|
|
-Transistor prosesses information, and the information is called BITS, which can be set to either 0 or 1.</p>
|
|
|
+Transistor processes information and the information is called <strong>BITS</strong>, which can be set to either 0 or 1.</p>
|
|
|
<h3 id="logic-gate"><a class="markdownIt-Anchor" href="#logic-gate"></a> Logic Gate</h3>
|
|
|
<p>Combining transistors, you will get logic gates, which can get some input and create some output. For example, an AND gate produces an output of 1 if all its inputs are one, and output of 0 otherwise.<br />
|
|
|
<img src="/images/and-gate.jpg" alt="AND gate" /></p>
|