<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bsccs.stoney-wiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Hardware_%26_OS%3A_Overview</id>
	<title>Hardware &amp; OS: Overview - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bsccs.stoney-wiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Hardware_%26_OS%3A_Overview"/>
	<link rel="alternate" type="text/html" href="https://bsccs.stoney-wiki.com/w/index.php?title=Hardware_%26_OS:_Overview&amp;action=history"/>
	<updated>2026-05-04T20:16:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://bsccs.stoney-wiki.com/w/index.php?title=Hardware_%26_OS:_Overview&amp;diff=48&amp;oldid=prev</id>
		<title>Bfh-sts: Created page with &quot;= Hardware &amp; OS: Overview = This page introduces the basic model of a computer and explains how the &#039;&#039;&#039;hardware&#039;&#039;&#039; and the &#039;&#039;&#039;operating system&#039;&#039;&#039; interact.   It provides the mental map for the following pages.  == What is a Computer Built Of? == A computer can be very simple (a microcontroller in an electric toothbrush) or highly complex (a multi-CPU server).   In both cases, the core elements are the same:  * &#039;&#039;&#039;Central Processing Unit (CPU)&#039;&#039;&#039;: executes instructions (c...&quot;</title>
		<link rel="alternate" type="text/html" href="https://bsccs.stoney-wiki.com/w/index.php?title=Hardware_%26_OS:_Overview&amp;diff=48&amp;oldid=prev"/>
		<updated>2025-10-20T13:33:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Hardware &amp;amp; OS: Overview = This page introduces the basic model of a computer and explains how the &amp;#039;&amp;#039;&amp;#039;hardware&amp;#039;&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;&amp;#039;operating system&amp;#039;&amp;#039;&amp;#039; interact.   It provides the mental map for the following pages.  == What is a Computer Built Of? == A computer can be very simple (a microcontroller in an electric toothbrush) or highly complex (a multi-CPU server).   In both cases, the core elements are the same:  * &amp;#039;&amp;#039;&amp;#039;Central Processing Unit (CPU)&amp;#039;&amp;#039;&amp;#039;: executes instructions (c...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Hardware &amp;amp; OS: Overview =&lt;br /&gt;
This page introduces the basic model of a computer and explains how the &amp;#039;&amp;#039;&amp;#039;hardware&amp;#039;&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;&amp;#039;operating system&amp;#039;&amp;#039;&amp;#039; interact.  &lt;br /&gt;
It provides the mental map for the following pages.&lt;br /&gt;
&lt;br /&gt;
== What is a Computer Built Of? ==&lt;br /&gt;
A computer can be very simple (a microcontroller in an electric toothbrush) or highly complex (a multi-CPU server).  &lt;br /&gt;
In both cases, the core elements are the same:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Central Processing Unit (CPU)&amp;#039;&amp;#039;&amp;#039;: executes instructions (computation, comparison, data movement).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Memory&amp;#039;&amp;#039;&amp;#039;: stores instructions and data.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Peripherals&amp;#039;&amp;#039;&amp;#039;: devices for input, output, and storage (keyboard, display, disk, network, USB, …).&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;Minimal model&amp;#039;&amp;#039;&amp;#039; → CPU + memory.  &lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;Extended model&amp;#039;&amp;#039;&amp;#039; → CPU + memory + peripherals.&lt;br /&gt;
&lt;br /&gt;
== Memory as “Remembered State” ==&lt;br /&gt;
The essential feature of memory is to store information until changed.&lt;br /&gt;
&lt;br /&gt;
* Everyday metaphor: a light switch remains on or off until someone flips it.&lt;br /&gt;
* In computers: states are represented electrically (voltage = 1, no voltage = 0).&lt;br /&gt;
* Changing state = overwriting a previous value.&lt;br /&gt;
&lt;br /&gt;
This idea underlies all later forms of computer memory, from punch cards to DRAM.&lt;br /&gt;
&lt;br /&gt;
== The CPU at a Glance ==&lt;br /&gt;
The CPU is often described as the “brain” of the computer. Its core tasks:&lt;br /&gt;
&lt;br /&gt;
* Arithmetic (addition, subtraction, logic).&lt;br /&gt;
* Comparisons (greater/less/equal).&lt;br /&gt;
* Moving data (load from memory, store to memory).&lt;br /&gt;
* Controlling execution flow (jumps, calls).&lt;br /&gt;
&lt;br /&gt;
Modern systems blur boundaries:  &lt;br /&gt;
A graphics processor (GPU) or a network card may include their own CPUs for specialized tasks.&lt;br /&gt;
&lt;br /&gt;
== Why the Operating System Exists ==&lt;br /&gt;
Without an OS, a program would have to:&lt;br /&gt;
* Control every piece of hardware directly,&lt;br /&gt;
* Handle memory layout itself,&lt;br /&gt;
* Decide which program runs when.&lt;br /&gt;
&lt;br /&gt;
The OS solves this by:&lt;br /&gt;
* Acting as a &amp;#039;&amp;#039;&amp;#039;resource manager&amp;#039;&amp;#039;&amp;#039; (CPU time, memory, I/O).&lt;br /&gt;
* Providing &amp;#039;&amp;#039;&amp;#039;abstractions&amp;#039;&amp;#039;&amp;#039; (files, processes, devices).&lt;br /&gt;
* Enabling &amp;#039;&amp;#039;&amp;#039;multitasking&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;multi-user&amp;#039;&amp;#039;&amp;#039; operation.&lt;br /&gt;
&lt;br /&gt;
== Putting It Together ==&lt;br /&gt;
A working system typically looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;#039;bash&amp;#039;&amp;gt;&lt;br /&gt;
[ Peripherals ]  ↔  [ CPU ]  ↔  [ Memory ]&lt;br /&gt;
↑&lt;br /&gt;
[ Operating System ]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Hardware provides the raw capabilities.&lt;br /&gt;
* The OS organizes and controls access.&lt;br /&gt;
* Programs run *on top of* the OS, not directly on the hardware.&lt;/div&gt;</summary>
		<author><name>Bfh-sts</name></author>
	</entry>
</feed>