toshiki-notebook/assets/academic_cis105_cis105-l1-lecture-note.md.249681f0.js

10 lines
16 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as t}from"./chunks/PageInfo.vue_vue_type_script_setup_true_lang.250b3e56.js";import{_ as n,o,c as l,H as r,k as e,a,Q as i}from"./chunks/framework.b7580407.js";import"./chunks/commonjsHelpers.725317a4.js";const D=JSON.parse('{"title":"CIS105: Computer Applications & Information Systems Lec. 1.","description":"","frontmatter":{},"headers":[],"relativePath":"academic/cis105/cis105-l1-lecture-note.md","filePath":"academic/cis105/cis105-l1-lecture-note.md","lastUpdated":1726415491000}'),p={name:"academic/cis105/cis105-l1-lecture-note.md"},c=e("h1",{id:"cis105-computer-applications-information-systems-lec-1",tabindex:"-1"},[a("CIS105: Computer Applications & Information Systems Lec. 1. "),e("a",{class:"header-anchor",href:"#cis105-computer-applications-information-systems-lec-1","aria-label":'Permalink to "CIS105: Computer Applications & Information Systems Lec. 1."'},"")],-1),m=e("h2",{id:"chapter-1-everything-changes",tabindex:"-1"},[a("Chapter 1: Everything Changes "),e("a",{class:"header-anchor",href:"#chapter-1-everything-changes","aria-label":'Permalink to "Chapter 1: Everything Changes"'},"")],-1),h=e("h3",{id:"_1-1-the-historic-timelines",tabindex:"-1"},[a("1.1: The Historic Timelines "),e("a",{class:"header-anchor",href:"#_1-1-the-historic-timelines","aria-label":'Permalink to "1.1: The Historic Timelines"'},"")],-1),d=e("ul",null,[e("li",null,[e("p",null,"1903: Wright bros, invented the airplane.")]),e("li",null,[e("p",null,"1969: Armstrong walks on the moon.")]),e("li",null,[e("p",null,"2004: SpaceX Falcon 9 lands upright.")]),e("li",null,[e("p",null,"2015: Electreic plane crosses English Channel")]),e("li",null,[e("p",null,"20xx: Google Live goes online.")]),e("li",null,[e("p",null,[a("Boeing 777, commercial airline airplanes normally cost approximately "),e("span",{class:"katex"},[e("span",{class:"katex-mathml"},[e("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[e("semantics",null,[e("mrow",null,[e("mi",{mathvariant:"normal"},"$"),e("mn",null,"200"),e("mo",{separator:"true"},","),e("mn",null,"000"),e("mo",{separator:"true"},","),e("mn",null,"000"),e("mo",{separator:"true"},","),e("mn",null,"000")]),e("annotation",{encoding:"application/x-tex"},"\\$ 200,000,000,000")])])]),e("span",{class:"katex-html","aria-hidden":"true"},[e("span",{class:"base"},[e("span",{class:"strut",style:{height:"0.9444em","vertical-align":"-0.1944em"}}),e("span",{class:"mord"},"$200"),e("span",{class:"mpunct"},","),e("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),e("span",{class:"mord"},"000"),e("span",{class:"mpunct"},","),e("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),e("span",{class:"mord"},"000"),e("span",{class:"mpunct"},","),e("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),e("span",{class:"mord"},"000")])])]),a(" for a singular aircraft.")])])],-1),u=i(`<h3 id="_1-2-analytical-engne" tabindex="-1">1.2: Analytical Engne <a class="header-anchor" href="#_1-2-analytical-engne" aria-label="Permalink to &quot;1.2: Analytical Engne&quot;"></a></h3><p>A mechanical computing device, was a special-purpose machine designed to tabulate logarithms and trigonometric functions by evaluating finite differences to create approximating polynomials.</p><h3 id="_1-3-ada-lovelace" tabindex="-1">1.3: Ada Lovelace <a class="header-anchor" href="#_1-3-ada-lovelace" aria-label="Permalink to &quot;1.3: Ada Lovelace&quot;"></a></h3><p>It tok the powerful insights of a mathematicial named Ada Lovelace to realize the true potentilal of the analytical engine. She was the first person to recognize that the machine could be used for more than pure calculations. She developed the first algorithm for the engine. It was the very first example of <strong>computer programming</strong>.</p><h3 id="_1-4-information-technology-is-for-people" tabindex="-1">1.4: Information Technology is for People <a class="header-anchor" href="#_1-4-information-technology-is-for-people" aria-label="Permalink to &quot;1.4: Information Technology is for People&quot;"></a></h3><ul><li><strong>Information technology (IT)</strong>: the study, design, development, implementation, support, and management of computer-baed information systems, particularly software hardware. <ul><li><strong>People are the most important component in an information system</strong> because <strong>it is only a human who can conceive information from data</strong>. Computer system is only a machinery device and human is expected to operate towards aspects on <strong>how to perform</strong>, <strong>what to perform</strong>, <strong>what to outcome</strong>.</li></ul></li><li><strong>End-users (people)</strong> are what make computers start.</li><li><strong>Attitude</strong> will be the defining factor in your success when it comes to computer competency.</li><li><strong>Best practice</strong>: a management process, technique, or method that is most effective at arriving at desired outcome or better outcome than any other process, technique, or method. <ul><li><strong>The best and effective way of practice is through persistent and consistent training and reviewing.</strong></li></ul></li></ul><h3 id="_1-5-moore-s-law" tabindex="-1">1.5: Moore&#39;s Law <a class="header-anchor" href="#_1-5-moore-s-law" aria-label="Permalink to &quot;1.5: Moore&#39;s Law&quot;"></a></h3><ul><li><strong>Gordon Moore</strong>: One of the founding fathers of the Intel.</li><li><strong>Computer power doubles every eighteen months</strong>. <ul><li>This essentially means that, if a business purchases a computer today, in eighteen months there will be a computer available that is twice as fast.</li></ul></li><li>Being a Leader vs. Follower controversy</li></ul><h3 id="_1-6-the-cuff-smartwatch" tabindex="-1">1.6: The Cuff Smartwatch? <a class="header-anchor" href="#_1-6-the-cuff-smartwatch" aria-label="Permalink to &quot;1.6: The Cuff Smartwatch?&quot;"></a></h3><p>US rapper/producer/entrepreneur Will.i.Am announced his foray into the world of wearable tech in 2014, proclaiming to have created a device so life-changing and futuristic it&#39;d blow our archaic mind.</p><ul><li><a href="https://en.wikipedia.org/wiki/Smartwatch" target="_blank" rel="noreferrer">Wikipedia smartwatch reference</a></li></ul><h3 id="_1-7-types-of-computer" tabindex="-1">1.7: Types of Computer <a class="header-anchor" href="#_1-7-types-of-computer" aria-label="Permalink to &quot;1.7: Types of Computer&quot;"></a></h3><ul><li><strong>Mainframe</strong>: Banks, Tech Companies</li><li><strong>Midrange</strong>: Small to Mid-sized business, not as powerful.</li><li><strong>Microcomputer</strong>: Laptops, <strong>Desktops</strong>, <strong>Tablet</strong> &amp; Handled.</li></ul><h3 id="_1-8-what-is-system-software" tabindex="-1">1.8: What is System Software? <a class="header-anchor" href="#_1-8-what-is-system-software" aria-label="Permalink to &quot;1.8: What is System Software?&quot;"></a></h3><ul><li><p>System software vs. Operating system</p></li><li><p>System software vs. Application software</p></li><li><p>Operating system: Manages resources. Responsible for reading and writing data.</p></li><li><p>Graphical User Interface (GUI) &amp; Command line interface.</p><ul><li><p>The level of an operational system layers by interface visibility.</p><ul><li><div class="language-mermaid vp-adaptive-theme line-numbers-mode"><button title="Copy Code" class="copy"></button><span class="lang">mermaid</span><pre class="shiki github-dark-dimmed vp-code-dark"><code><span class="line"><span style="color:#F47067;">graph</span><span style="color:#ADBAC7;"> </span><span style="color:#DCBDFB;">LR</span><span style="color:#ADBAC7;">;</span></span>
<span class="line"><span style="color:#F69D50;">a</span><span style="color:#F47067;">[</span><span style="color:#96D0FF;">GUI</span><span style="color:#F47067;">]</span><span style="color:#ADBAC7;"> </span><span style="color:#F47067;">--&gt;</span><span style="color:#ADBAC7;"> </span><span style="color:#F69D50;">b</span><span style="color:#F47067;">[</span><span style="color:#96D0FF;">Application software</span><span style="color:#F47067;">]</span><span style="color:#ADBAC7;">;</span></span>
<span class="line"><span style="color:#F69D50;">b </span><span style="color:#F47067;">--&gt;</span><span style="color:#ADBAC7;"> </span><span style="color:#F69D50;">c</span><span style="color:#F47067;">[</span><span style="color:#96D0FF;">Operating system</span><span style="color:#F47067;">]</span><span style="color:#ADBAC7;">;</span></span>
<span class="line"><span style="color:#F69D50;">c </span><span style="color:#F47067;">--&gt;</span><span style="color:#ADBAC7;"> </span><span style="color:#F69D50;">d</span><span style="color:#F47067;">[</span><span style="color:#96D0FF;">System software</span><span style="color:#F47067;">]</span><span style="color:#ADBAC7;">;</span></span>
<span class="line"><span style="color:#F69D50;">d </span><span style="color:#F47067;">--&gt;</span><span style="color:#ADBAC7;"> </span><span style="color:#F69D50;">e</span><span style="color:#F47067;">[</span><span style="color:#96D0FF;">CLI</span><span style="color:#F47067;">]</span></span></code></pre><pre class="shiki github-light vp-code-light"><code><span class="line"><span style="color:#D73A49;">graph</span><span style="color:#24292E;"> </span><span style="color:#6F42C1;">LR</span><span style="color:#24292E;">;</span></span>
<span class="line"><span style="color:#E36209;">a</span><span style="color:#D73A49;">[</span><span style="color:#032F62;">GUI</span><span style="color:#D73A49;">]</span><span style="color:#24292E;"> </span><span style="color:#D73A49;">--&gt;</span><span style="color:#24292E;"> </span><span style="color:#E36209;">b</span><span style="color:#D73A49;">[</span><span style="color:#032F62;">Application software</span><span style="color:#D73A49;">]</span><span style="color:#24292E;">;</span></span>
<span class="line"><span style="color:#E36209;">b </span><span style="color:#D73A49;">--&gt;</span><span style="color:#24292E;"> </span><span style="color:#E36209;">c</span><span style="color:#D73A49;">[</span><span style="color:#032F62;">Operating system</span><span style="color:#D73A49;">]</span><span style="color:#24292E;">;</span></span>
<span class="line"><span style="color:#E36209;">c </span><span style="color:#D73A49;">--&gt;</span><span style="color:#24292E;"> </span><span style="color:#E36209;">d</span><span style="color:#D73A49;">[</span><span style="color:#032F62;">System software</span><span style="color:#D73A49;">]</span><span style="color:#24292E;">;</span></span>
<span class="line"><span style="color:#E36209;">d </span><span style="color:#D73A49;">--&gt;</span><span style="color:#24292E;"> </span><span style="color:#E36209;">e</span><span style="color:#D73A49;">[</span><span style="color:#032F62;">CLI</span><span style="color:#D73A49;">]</span></span></code></pre><div class="line-numbers-wrapper" aria-hidden="true"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div></li></ul></li></ul></li></ul><h3 id="_1-9-operating-systems-platforms" tabindex="-1">1.9: Operating Systems/Platforms <a class="header-anchor" href="#_1-9-operating-systems-platforms" aria-label="Permalink to &quot;1.9: Operating Systems/Platforms&quot;"></a></h3><ul><li><strong>A collection of computer programs that work together to manage hardware and software to ensure that they are working properly.</strong><ul><li>Memory allocation</li><li>Administer input and output of information</li><li>File management</li></ul></li><li><strong>Platform (OS)</strong>: Microsoft Windows, macOS, iOS, Linux, UNIX.</li></ul><h3 id="_2-0-processes-multitasking" tabindex="-1">2.0: Processes/Multitasking <a class="header-anchor" href="#_2-0-processes-multitasking" aria-label="Permalink to &quot;2.0: Processes/Multitasking&quot;"></a></h3><ul><li><strong>Process</strong>: Any task a computer performs.</li><li><strong>Multitasking</strong>: the execution of multiple processes over a certain period of time.</li></ul><h3 id="_2-1-memory-disk-management" tabindex="-1">2.1: Memory/Disk management <a class="header-anchor" href="#_2-1-memory-disk-management" aria-label="Permalink to &quot;2.1: Memory/Disk management&quot;"></a></h3><ul><li><p><strong>Operating systems</strong>: Cache, random access memory (ram), registers, virtual memory.</p></li><li><p><strong>Primary storage vs. Secondary Storage</strong>: RAM, hard drive, file allocation table (FAT).</p><ul><li>The table of contents of a hard drive, or the file system directory structure of a system.</li></ul><blockquote><ul><li><p>Primary storage is accessed randomly which indicating the storage is only temporary without preserved.</p></li><li><p>Secondary storage is the permanent storage on a specific device while user information is stored on the machine within the physical drive storage.</p></li></ul></blockquote></li></ul><h3 id="_2-2-business-computing-software" tabindex="-1">2.2: Business Computing Software <a class="header-anchor" href="#_2-2-business-computing-software" aria-label="Permalink to &quot;2.2: Business Computing Software&quot;"></a></h3><ul><li><p>Software suite: Spreadsheets, word processors, database, and presentation software (aka application suite or productivity suite).</p><ul><li>Sharing information between these applications is te mot important aspect of a software suite.</li></ul></li><li><p>Hot keys/shortcuts: <kbd>Ctrl</kbd>+ <kbd>C</kbd> &amp; <kbd>Ctrl</kbd> + <kbd>V</kbd> on Windows; <kbd>Command</kbd>+ <kbd>C</kbd> &amp; <kbd>Command</kbd> + <kbd>V</kbd> on Windows.</p></li><li><p><strong>Object linking and embedding (OLE) (Static)</strong></p><ul><li><p><strong>In static linking, the system linker copies the dependencies into the final executable.</strong> At the time of linking an external library, the linker finds all dependencies that are defined in that library. And it replaces them with the corresponding functions from the library to resolve dependencies in our code. Afterward, the linker generates the final executable file that we can execute on the underlying machine.</p><p>For example, lets say our application calls the function <em>print()</em> from an external library named <em>Library.</em> The assembler generates the object file with all native symbols resolved to their memory addresses. The external reference <em>print()</em> cannot be resolved. The linker loads this library and finds the definition of <em>print()</em> in it. Then, it maps to <em>print()</em> to a memory location and thus resolves the dependency:</p><p><img src="https://www.baeldung.com/wp-content/uploads/sites/4/2022/10/Static-Linking.jpg" alt="Static Linking"></p><p><strong>So, a statically linked file contains our programs code as well as the code of all the libraries it invokes</strong>. Since we copy complete libraries, we need space on both the disk and in the main memory because the resulting file may be very large.</p></li></ul></li><li><p><strong>Object linking (Dynamic)</strong></p><ul><li><strong>In dynamic linking, we copy the names of the external libraries into our final executable as unresolved symbols. We do the actual linking of these unresolved symbols only at runtime.</strong> How? When encountering an unresolved symbol, we query RAM for it. If the corresponding library isnt loaded, the operating system loads it in the memory. So, <strong>the operating system performs dynamic linking for us by resolving each external symbol on the first muss.</strong> As a result, we load only a single copy of a library in memory and all processes use it.</li></ul></li></ul>`,23);function g(y,f,b,w,k,v){const s=t;return o(),l("div",null,[c,r(s,{readTime:"6",words:"971"}),m,h,d,u])}const S=n(p,[["render",g]]);export{D as __pageData,S as default};