<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by khairinasofea on Medium]]></title>
        <description><![CDATA[Stories by khairinasofea on Medium]]></description>
        <link>https://medium.com/@nkhai?source=rss-28eb46dc4142------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Vj6u3MyvzYQafFG5bBR3CQ.png</url>
            <title>Stories by khairinasofea on Medium</title>
            <link>https://medium.com/@nkhai?source=rss-28eb46dc4142------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 11:38:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nkhai/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Internal Memory]]></title>
            <link>https://medium.com/bics1302-study-reflection-part2/internal-memory-69d89b6c7337?source=rss-28eb46dc4142------2</link>
            <guid isPermaLink="false">https://medium.com/p/69d89b6c7337</guid>
            <dc:creator><![CDATA[khairinasofea]]></dc:creator>
            <pubDate>Sun, 19 Jan 2025 06:28:16 GMT</pubDate>
            <atom:updated>2025-01-19T06:28:16.869Z</atom:updated>
            <content:encoded><![CDATA[<h4>KHAIRINA SOFEA 2411320</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*4bpYmpSLGeYv0b27" /></figure><p>Internal memory is a critical component in any computing system. It serves as the primary storage for data and instructions that are currently being processed. In this article, we’ll explore the key aspects of <strong>semiconductor memory</strong>, <strong>error correction</strong>, and <strong>advanced DRAM (Dynamic Random Access Memory) organization</strong>, which are fundamental to modern computing systems.</p><h4>1. Semiconductor Memory: The Building Block of Modern Computers</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/0*rY0qwCkrtvujefeL.png" /></figure><p>Semiconductor memory refers to the type of memory constructed using semiconductor-based devices. It comes in two main forms: <strong>Random Access Memory (RAM)</strong> and <strong>Read-Only Memory (ROM)</strong>.</p><ul><li><strong>RAM</strong>: This is volatile memory, meaning data is lost when the power is turned off. RAM allows for both reading from and writing to memory, making it ideal for temporary storage. It includes two types:</li><li><strong>Dynamic RAM (DRAM)</strong>: Stores data as charge on capacitors, requiring periodic refreshing to maintain the stored data. DRAM is less expensive and used for main memory.</li><li><strong>Static RAM (SRAM)</strong>: Uses flip-flop circuits to store data, making it faster and more reliable but also more expensive. SRAM is typically used in cache memory.</li><li><strong>ROM</strong>: Unlike RAM, ROM is non-volatile, meaning it retains data even when the power is off. It’s primarily used for storing permanent data or programs, such as firmware, and comes in different types:</li><li><strong>PROM (Programmable ROM)</strong>: Can be programmed once after manufacture.</li><li><strong>EPROM (Erasable PROM)</strong>: Can be erased and reprogrammed multiple times using ultraviolet light.</li><li><strong>EEPROM (Electrically Erasable PROM)</strong>: Can be electrically erased and rewritten, offering greater flexibility.</li><li><strong>Flash Memory</strong>: A type of EEPROM that allows erasing data in blocks or “flashes,” used in USB drives and SSDs.</li></ul><p><strong>Example</strong>: DRAM is commonly used in laptops for main memory, while flash memory is used in solid-state drives (SSDs) for long-term storage.</p><h4>2. Memory Organization: How Memory Cells Operate</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/0*YJBL1LLHsaN0wRVj.jpg" /></figure><p>Each <strong>memory cell</strong> in semiconductor memory can represent a binary value (0 or 1). The fundamental properties of these memory cells include:</p><ul><li>Two stable states representing binary data.</li><li>The ability to be written to (changing the stored value) and read from (retrieving the stored value).</li></ul><p>Each memory cell typically has three functional terminals:</p><ul><li><strong>Select terminal</strong>: Chooses the memory cell for reading or writing.</li><li><strong>Control terminal</strong>: Indicates whether the operation is read or write.</li><li><strong>Data terminal</strong>: Used for either writing data into the cell or reading data out.</li></ul><p><strong>Interleaved Memory</strong>: One method to improve memory performance is <strong>interleaving</strong>, where memory is divided into banks that can be accessed independently. This allows multiple memory operations to occur simultaneously, speeding up data transfer.</p><p><strong>Example</strong>: Modern multi-core processors use interleaved memory to allow different processor cores to access memory simultaneously without bottlenecks.</p><h4>3. Error Correction: Ensuring Data Integrity</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F1A_NcXxdoCc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D1A_NcXxdoCc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F1A_NcXxdoCc%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e6309d06a15b611d5c130547fe664dc5/href">https://medium.com/media/e6309d06a15b611d5c130547fe664dc5/href</a></iframe><p>Errors in memory can occur due to several factors, including power issues, environmental interference, or manufacturing defects. There are two main types of memory errors:</p><ul><li><strong>Hard Failures</strong>: These are permanent defects where a memory cell becomes stuck in a particular state or switches erratically between states.</li><li><strong>Soft Failures</strong>: These are temporary issues that cause data corruption without permanently damaging the memory.</li></ul><p>To handle these errors, <strong>Error Correction Codes (ECC)</strong> are employed. One of the simplest and most widely used methods is the <strong>Hamming Code</strong>, which can detect and correct single-bit errors. It works by adding extra <strong>check bits</strong> to the data, which are used to detect and correct errors during data transmission or storage.</p><p><strong>Example</strong>: ECC memory is commonly used in servers and critical systems to ensure data integrity, reducing the likelihood of undetected errors that could lead to system crashes or data corruption.</p><h4>4. Advanced DRAM Organization: Enhancing Memory Performance</h4><p>As processors have become faster, traditional DRAM architectures have struggled to keep up. To address this bottleneck, various enhancements to DRAM have been developed:</p><ul><li><strong>Synchronous DRAM (SDRAM)</strong>: This type of DRAM synchronizes data transfers with the system clock, allowing for more efficient data exchange with the processor. SDRAM is widely used in modern computers.</li><li><strong>Double Data Rate DRAM (DDR-DRAM)</strong>: DDR-DRAM is an improvement over SDRAM, allowing data to be transferred on both the rising and falling edges of the clock signal. This effectively doubles the data transfer rate. There are multiple generations of DDR (DDR2, DDR3, DDR4, DDR5), each offering improved speed and efficiency.</li></ul><p><strong>Example</strong>: DDR4 RAM is commonly found in modern desktop and laptop computers, offering high data transfer rates for smooth multitasking and gaming.</p><h4>Conclusion</h4><p>Internal memory plays a vital role in determining a computer’s overall performance. From the basic memory cells that store binary data to advanced DRAM architectures designed to keep up with high-performance processors, the evolution of internal memory has been essential in the development of modern computing systems. Understanding the differences between RAM and ROM, the importance of error correction, and the advancements in DRAM technology gives us a clearer picture of how computers manage data efficiently.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69d89b6c7337" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bics1302-study-reflection-part2/internal-memory-69d89b6c7337">Internal Memory</a> was originally published in <a href="https://medium.com/bics1302-study-reflection-part2">BICS1302-Study Reflection (Part2)</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Top-Level View of Computer Function and Interconnection]]></title>
            <link>https://medium.com/bics1302-study-reflection-part2/a-top-level-view-of-computer-function-and-interconnection-07398f2ff68e?source=rss-28eb46dc4142------2</link>
            <guid isPermaLink="false">https://medium.com/p/07398f2ff68e</guid>
            <dc:creator><![CDATA[khairinasofea]]></dc:creator>
            <pubDate>Sun, 19 Jan 2025 06:27:52 GMT</pubDate>
            <atom:updated>2025-01-19T06:27:52.444Z</atom:updated>
            <content:encoded><![CDATA[<h4>KHAIRINA SOFEA 2411320</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*mATh7IworaPnt-3I.png" /><figcaption>Image from GeeksforGeeks</figcaption></figure><p>The world of computing is fascinating not just because of what computers can do but how they manage to do it. Computers are intricate systems made up of multiple components working together, and understanding the interactions between these components is key to appreciating their functionality.</p><p>In this article, we’ll explore the essential concepts that form the backbone of computer architecture: von Neumann architecture, key components, the instruction cycle, interconnection structures, and interrupts.</p><h4>1. Von Neumann Architecture</h4><p>Most computers today are based on the <strong>von Neumann architecture</strong>, a model conceptualized by John von Neumann in the 1940s. This architecture’s importance lies in its simplicity and effectiveness. Let’s explore its three defining principles:</p><ul><li><strong>Data and Instructions in a Single Memory</strong>: Both program instructions and data are stored together in a single memory unit. This allows for the same memory management techniques for both data and code.</li><li><strong>Addressable Memory by Location</strong>: Memory is treated as a linear sequence of addresses, allowing the computer to retrieve instructions or data without needing to know the type of the stored content. This enables uniformity in accessing both data and instructions.</li><li><strong>Sequential Execution</strong>: Instructions are executed one after the other in a predetermined order, unless explicitly altered by control instructions (like jumps or branches). This systematic approach simplifies the flow of execution.</li></ul><p><strong>Example</strong>: Most modern-day computers, from personal laptops to large servers, rely on this architecture. Despite advancements in parallel processing and other modern techniques, von Neumann’s model remains a cornerstone in computing.</p><h4>2. Computer Components: Programming in Hardware and Software</h4><p>When looking at computer components, it’s essential to differentiate between hardware programming and software programming.</p><ul><li><strong>Hardwired Programming</strong>: Early computers were “hardwired,” meaning computations were programmed by manually configuring physical connections between logic components (e.g., AND, OR gates). This process was rigid — changing the program meant re-wiring the hardware, which was both time-consuming and inefficient.</li><li><strong>Software Programming</strong>: The introduction of software programming revolutionized computing. Now, instead of rewiring the machine, instructions can be written in software and interpreted by the hardware. A modern CPU interprets these instructions, also called <strong>machine code</strong>, and generates control signals for execution.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*aa2y1VKgHNNNlgm3.jpg" /><figcaption>CPU</figcaption></figure><p>The <strong>central processing unit (CPU)</strong> is the brain of the computer, composed of an <strong>instruction interpreter</strong> and an <strong>arithmetic logic unit (ALU)</strong>. The CPU interacts with:</p><ul><li><strong>Memory</strong>: Stores instructions and data.</li><li><strong>I/O Modules</strong>: Manage input and output devices.</li></ul><p><strong>Example</strong>: In modern computing, CPUs handle millions of instructions per second, ranging from simple arithmetic operations to complex decision-making algorithms, all through software programming.</p><h4>3. Instruction Cycle: The Heart of a Computer’s Functionality</h4><p>The essential operation of any computer is executing a program — a sequence of instructions stored in memory. This process is broken down into an <strong>instruction cycle</strong> comprising two main stages:</p><ul><li><strong>Fetch Cycle</strong>: The processor retrieves the next instruction to execute from memory. The program counter (PC) keeps track of the instruction’s memory address, and after fetching, the PC increments to the next instruction.</li><li><strong>Execute Cycle</strong>: The processor decodes and performs the required action (e.g., moving data, performing calculations, or changing control flow).</li></ul><p>Every single operation the computer performs — from displaying a webpage to running a game — results from millions of fetch and execute cycles, repeated continuously.</p><p><strong>Example</strong>: When you run a web browser, the processor fetches instructions for loading the browser’s interface, handles user input, and fetches further instructions for rendering a webpage.</p><h4>4. Interconnection Structures: How Components Communicate</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F7QffiMyMpnM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D7QffiMyMpnM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F7QffiMyMpnM%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ea5cc85c13a3f3d9a9b5058b417e11bd/href">https://medium.com/media/ea5cc85c13a3f3d9a9b5058b417e11bd/href</a></iframe><p>Modern computers consist of a variety of components that need to communicate efficiently. This is where <strong>interconnection structures</strong> come into play. At a high level, there are two main types of interconnection structures:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/0*C6jk0x7h9selxaic.jpg" /></figure><ul><li><strong>Bus Interconnection</strong>: The traditional method for connecting components (e.g., CPU, memory, I/O devices). The system bus consists of:</li><li><strong>Data Bus</strong>: Transfers data between components.</li><li><strong>Address Bus</strong>: Carries the memory address where data should be read or written.</li><li><strong>Control Bus</strong>: Sends control signals to manage the timing and operations of the system.</li><li><strong>Point-to-Point Interconnect</strong>: Modern systems are increasingly replacing buses with direct connections, such as <strong>QuickPath Interconnect (QPI)</strong> and <strong>PCI Express (PCIe)</strong>. These offer lower latency and higher data transfer speeds.</li></ul><p><strong>Example</strong>: <strong>PCI Express (PCIe)</strong> is widely used in modern computers to connect high-speed components like graphics cards, network adapters, and SSDs. Unlike the older PCI bus, PCIe uses direct point-to-point connections, making it much faster and scalable.</p><h4>5. Interrupts: Efficient Handling of External Events</h4><p>Interrupts are one of the key mechanisms that allow computers to multitask and handle external events efficiently. Here’s how they work:</p><ul><li><strong>Without Interrupts</strong>: The processor would need to continuously check whether an I/O device (like a keyboard or mouse) needs attention, which is highly inefficient.</li><li><strong>With Interrupts</strong>: I/O modules can send an interrupt signal to the processor when they need to be serviced. The processor pauses the current task, saves its state, and executes the interrupt service routine (ISR). Once the ISR completes, the processor resumes its original task.</li></ul><p>There are two common approaches to handling multiple interrupts:</p><ul><li><strong>Disabling Interrupts</strong>: While one interrupt is being serviced, other interrupts are disabled to avoid confusion.</li><li><strong>Prioritizing Interrupts</strong>: High-priority interrupts (like system errors) can interrupt lower-priority processes (like a keyboard input).</li></ul><p><strong>Example</strong>: When typing on a keyboard, each key press generates an interrupt, prompting the CPU to register the input. Meanwhile, the CPU might be running other processes, but the interrupt mechanism ensures your input is registered in real-time.</p><h4>Conclusion</h4><p>Understanding how a computer operates at a top level reveals the intricate balance of hardware and software that powers modern devices. The von Neumann architecture, instruction cycles, interconnection structures, and interrupt mechanisms all contribute to the seamless operation of complex computing systems. Whether you’re a beginner or an enthusiast, these foundational concepts are crucial for anyone looking to explore the world of computing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=07398f2ff68e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bics1302-study-reflection-part2/a-top-level-view-of-computer-function-and-interconnection-07398f2ff68e">A Top-Level View of Computer Function and Interconnection</a> was originally published in <a href="https://medium.com/bics1302-study-reflection-part2">BICS1302-Study Reflection (Part2)</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>