<?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 Qieyue on Medium]]></title>
        <description><![CDATA[Stories by Qieyue on Medium]]></description>
        <link>https://medium.com/@mxhd.rxzq?source=rss-10ab48ed5cf1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*cP_vOulHq5wEro3I</url>
            <title>Stories by Qieyue on Medium</title>
            <link>https://medium.com/@mxhd.rxzq?source=rss-10ab48ed5cf1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 11:37:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mxhd.rxzq/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[Computer Arithmetic [Mukhrizq][2417469]]]></title>
            <link>https://medium.com/bics1302-study-reflection-part2/computer-arithmetic-mukhrizq-2417469-cc44aa63473d?source=rss-10ab48ed5cf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc44aa63473d</guid>
            <dc:creator><![CDATA[Qieyue]]></dc:creator>
            <pubDate>Mon, 13 Jan 2025 15:48:46 GMT</pubDate>
            <atom:updated>2025-01-14T14:18:39.601Z</atom:updated>
            <content:encoded><![CDATA[<p>Assalamualaikum,</p><p>In general, computer arithmetic is a fundamental concept in computer science, enabling computers to perform calculations, logical decisions, and data manipulation efficiently. This topic focuses on the Arithmetic and Logic Unit (ALU), integer representation, and floating-point arithmetic, providing a foundation for understanding how computers process numbers.</p><p>The ALU, a core component of the Central Processing Unit (CPU), is responsible for arithmetic operations such as addition, subtraction, multiplication, and division, as well as logical operations like AND, OR, and XOR. Data flows into the ALU through registers, temporary storage locations in the processor, and results are stored back into these registers. By leveraging control signals from the control unit, the ALU ensures precise and efficient data manipulation.</p><p>Additionally, integer representation involves encoding whole numbers in binary format. It includes both unsigned integers for positive values and signed integers for representing both positive and negative numbers. Two’s complement is a widely used method for encoding signed integers, as it simplifies arithmetic operations and negation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F_TrRJhqkOZWn0L23o9WUA.png" /></figure><p>Furthermore, integer arithmetic is a fundamental concept in computer systems, enabling basic operations on whole numbers, including negation, addition, subtraction, and multiplication.</p><p><strong>Negation</strong> involves converting a number to its negative counterpart. In binary, this is done using the two’s complement method: first, the bits of the number are inverted (changing 0 to 1 and vice versa), and then 1 is added to the result. For example, the negation of +18 (00010010 in binary) becomes -18 (11101110 in binary).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*mhoLiFt-DpYJX-U4G-OYrw.png" /></figure><p><strong>Addition</strong> is straightforward in binary arithmetic but requires attention to overflow. If the sum of two numbers exceeds the range of their binary representation, an overflow occurs. For instance, adding two positive numbers that produce a negative result indicates an overflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*ewURRsNLbbSIZ5Q3FNeR3w.png" /></figure><p><strong>Subtraction</strong> is performed using the two’s complement method as well. Instead of directly subtracting, the subtrahend is negated, and the result is added to the minuend. This simplifies hardware design, as only an adder circuit is needed for both addition and subtraction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*BmS13Rz7yRZC2w-xam6xgg.png" /></figure><p><strong>Multiplication</strong> in integer arithmetic can be done using algorithms like Booth’s Algorithm. This method handles both signed and unsigned integers efficiently by leveraging bit-shifting and addition operations. It minimizes hardware complexity while ensuring accuracy in signed operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*mBcwVvv-Sn4Wpulrrx9yNg.png" /></figure><p>In conclusion, computer arithmetic underpins modern computing by defining how numbers are represented and processed. A clear understanding of ALUs, integer representation, and floating-point arithmetic is essential for designing efficient algorithms and understanding computational limitations. Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc44aa63473d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bics1302-study-reflection-part2/computer-arithmetic-mukhrizq-2417469-cc44aa63473d">Computer Arithmetic [Mukhrizq][2417469]</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[Summary of Internal Memory for Week 5 [2417469][Mukhrizq] — Sect. 5]]></title>
            <link>https://medium.com/bics1302-study-reflection-part2/summary-of-internal-memory-for-week-5-2417469-mukhrizq-sect-5-f5b5e4529c8e?source=rss-10ab48ed5cf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5b5e4529c8e</guid>
            <dc:creator><![CDATA[Qieyue]]></dc:creator>
            <pubDate>Wed, 20 Nov 2024 04:34:53 GMT</pubDate>
            <atom:updated>2024-11-27T13:52:48.903Z</atom:updated>
            <content:encoded><![CDATA[<h3>Summary of Internal Memory for Week 5 [2417469][Mukhrizq] — Sect. 5</h3><p>Assalamualaikum,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f1aOYYB7LpnQTXoZ8J_sXA.jpeg" /></figure><p>Internal memory is a essential part of a computer system, where data and instructions are stored temporarily or permanently. The main component in this chapter is semiconductor main memory which is where digital information is stored. Basic element of a semiconductor is the memory cell that has three basic properties which are two stable states, writable and readable. Two stable states explained each cell represents either on (1) or off (0). On the other hand, writable means you can set it to 1 or 0 while readable means you can check whether it is 1 or 0.</p><p>Memory cell also has three main part that carry electrical signals which are select terminal that chooses the cell for reading or writing data, control terminal that will decides whether to read or write and, data terminal which is to set the cell to 0 or 1 during writing or shows the cell’s state (0 or 1) when reading.</p><p>Semiconductor memory have two types. Random-access memory or RAM is temporary storage where data is lost if the power is off and able to read data from memory easily and rapidly. There are two types of RAM that have unique power for each types. That is dynamic random-access memory (DRAM) and static random-access memory (SRAM).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sjKAyFygaIOCSyhCfm0GVA.jpeg" /><figcaption><strong>Difference between DRAM and SRAM</strong></figcaption></figure><p>While, read-only memory or ROM is permanent pattern of data that cannot be changed (non-volatile) and used for storing programs never need to be updated in the future. Although, there are disadvantage of this type or memory which are if there is an error, it will cost the whole batch of ROMs to throw out and data insertion step includes a relatively large fixed cost. Programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) and, flash memory is the type of ROM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZM8Psy7QMFmsYhbZMv2D4g.jpeg" /><figcaption>Definition and functions of ROM’s type</figcaption></figure><p>If there is an error, Hamming Code is one of the error-correction codes that can be used. Hamming code is the simplest and the oldest error-correcting code that using extra “parity” bits to improve basic error-checking. Most situations that are suitable to use hamming code is where random errors are likely to occur which is common for computer memory to experience such errors.</p><p>As we know, improvement of technologies is faster and same as DRAM that will causing challenges because this technology can be bottleneck or seems like a traffic jam. Because of that, the solution is the existence of SDRAM which is works in sync with the system clock, making data transfer more efficient. The other one is DDR-DRAM (Double Data Rate DRAM) that will double speed by transferring data on both clock signal edges.</p><p>That’s all for this week. Although it may be challenging and time-consuming to fully understand, the topic remains captivating to explore. Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5b5e4529c8e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bics1302-study-reflection-part2/summary-of-internal-memory-for-week-5-2417469-mukhrizq-sect-5-f5b5e4529c8e">Summary of Internal Memory for Week 5 [2417469][Mukhrizq] — Sect. 5</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[Cache Memory Overview — W4 [Mukhrizq][2417469]]]></title>
            <link>https://medium.com/bics1302-study-reflection-part2/cache-memory-overview-w4-mukhrizq-2417469-3c2ee4ce0bcf?source=rss-10ab48ed5cf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c2ee4ce0bcf</guid>
            <dc:creator><![CDATA[Qieyue]]></dc:creator>
            <pubDate>Tue, 19 Nov 2024 14:29:38 GMT</pubDate>
            <atom:updated>2024-11-27T13:52:32.260Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cache Memory Overview — W4 [Mukhrizq][2417469]</h3><p>Cache memory is a crucial component in modern computer architecture that enhances the efficiency and speed of data access between the CPU and main memory (RAM). As processors continue to evolve and perform more complex tasks, the need for faster data retrieval has become paramount. Cache memory is one of the fastest component in a computer because of its size that are the smallest one and cache memory is located physically close to CPU.</p><p>Memory hierarchy is one of the way to know more about memory based on how it worked. There are several characteristics that should be considered which are location refers to where the memory is located in the system either external or internal. Additionally, capacity is one of the important thing which needs to be prioritized because capacity will determine the amount of data that can be stored by memory. A higher capacity will provide more data to be stored. In general, there are two types of unit of transfer which if it is for internal memory, usually will be in word size while if it is for external memory, sometimes this might be in blocks or sectors. Furthermore, there are four access method which is describes how data is accessed or retrieved from memory. It is sequential access, direct access, random access and, associative access. It cannot be denied that performance is also one of the important compartment because speed of memory is key to system memory. Performance is measured by their access time, cycle time and, transfer rate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*D4ouwNp4Itt6TMjTjbvhmQ.png" /></figure><p>Cache memory consists of multiple levels, including L1 cache or also known as primary cache, this is the fastest and smallest level of cache. It is located closest to the CPU and is designed for quick access to frequently used data. Besides, L2 cache’s level is typically larger than L1 cache but is slightly slower. It serves as a bridge between the fast L1 cache and the slower L3 cache or main memory. Last but not least, the slowest cache is L3 cache because this level is slower than both L1 and L2 but is faster than RAM. It is often found in multi-core processors to allow efficient data sharing among cores.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*7LNEhg1gL92rvYOF-DMwFg.png" /><figcaption>Cache read operation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*JU1TWCgQpIrdYK_B0L0tag.png" /><figcaption>Virtual Memory</figcaption></figure><p>Virtual memory allows programs to use more memory than physically available by using virtual addresses, which are translated to physical addresses by the Memory Management Unit (MMU).</p><p>Cache mapping techniques helps CPU to access the frequently used data immediately when needed. There are three mapping functions which are direct mapping that each main memory block maps to one specific cache line, associative mapping which is allowing any block go into any line in the cache and, set-associative mapping that combines the first two each block maps to a set of cache lines.</p><p>Cache replacement policies is a set of rules used to determine which cache line should be replaced because the cache has limited space since it is the smallest memory. This choice of replacement will effect the performance of the cache. For that reason there are two policies which are least recently used (LRU) and first-in, first-out (FIFO).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*ja-URInN2MRHNTXOkHH71w.png" /><figcaption>Example for LRU</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*5EBQF3Jzh0ldhB1lYFVKBg.png" /><figcaption>Example for FIFO</figcaption></figure><p>That’s all for this week. It is an engaging learning for me since it focus more about cache memory deeply. Thank you!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c2ee4ce0bcf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bics1302-study-reflection-part2/cache-memory-overview-w4-mukhrizq-2417469-3c2ee4ce0bcf">Cache Memory Overview — W4 [Mukhrizq][2417469]</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[Summary for Week 3 [2417469] — Sect. 5]]></title>
            <link>https://medium.com/bics1302-study-reflection-part2/summary-for-week-3-2417469-sect-5-de5d8bacf023?source=rss-10ab48ed5cf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/de5d8bacf023</guid>
            <dc:creator><![CDATA[Qieyue]]></dc:creator>
            <pubDate>Mon, 28 Oct 2024 15:45:37 GMT</pubDate>
            <atom:updated>2024-11-06T07:42:28.920Z</atom:updated>
            <content:encoded><![CDATA[<h3>Summary for Week 3 [2417469] — Sect. 5</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/1*5gCJOeipKO3DEpcwzLMPlQ.png" /></figure><p>Assalamualaikum, Muk is here. In this week, I learned my favorites chapter that involves number which is numbering system. In this chapter, we will know how computer communicate with each other and understand the basic digital systems. I also learned how to convert each numbering systems for both integers and fractions. Generally, there are four types of numbering systems such as binary, hexadecimal, octal, and decimal that will be explained in this chapter.</p><p>Back to the what I mean by computer ‘communicate’ to each other is computer use binary system to communicate other component which is 0s and 1s. This is because digital circuit in computer only have two states which are on and off. In this chapter also explained how data represent in different types of data, such as integers, characters, and memory addresses. Hexadecimal is the format that being used in memory addressing because it is more compact and readable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VgtCBH63CfZ8Na4GlTpVuQ.png" /></figure><p>There are two different ways to representing numbers in binary. It is unsigned representation and signed representation. Unsigned representation is only involves when the value is non-negative values such as counting objects. Range numbers for unsigned representation is from 0 to (2n — 1) only and it depends on how much bit that you have in binary number. For signed representation, there are three common method which are Sign and Magnitude, One’s Complement, and Two’s Complement. Two’s Complement is the standard method for signed numbers because it can make arithmetic operations easier and more convenient.</p><p>That’s all for this week. Thank you for reading. Assalamualaikum and Bye Bye!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de5d8bacf023" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bics1302-study-reflection-part2/summary-for-week-3-2417469-sect-5-de5d8bacf023">Summary for Week 3 [2417469] — Sect. 5</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[Weekly Reflection in Week 2 [2417469] — Sect. 5]]></title>
            <link>https://medium.com/bics1302-study-reflection-part2/weekly-reflection-in-week-2-2417469-sect-5-4f854e551169?source=rss-10ab48ed5cf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f854e551169</guid>
            <dc:creator><![CDATA[Qieyue]]></dc:creator>
            <pubDate>Sun, 27 Oct 2024 06:59:16 GMT</pubDate>
            <atom:updated>2024-11-06T07:41:31.806Z</atom:updated>
            <content:encoded><![CDATA[<h3>Weekly Reflection in Week 2 [2417469] — Sect. 5</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*wfAeiRwc7A_hFDCJM6-t_g.png" /></figure><p>Assalamualaikum and Hi! I’m Muk. This week I’ll share about what I learned and my understanding about a <strong>top-level view of computer function and interconnection</strong>. There is a various thing that I have learned during the second week lectures. But, I’ll mainly touch on computer function which is basic computer function and key registers in Instruction Execution.</p><p>As what I learned before, computer component consist of CPU, memory, I/O components and interconnections within a computer system. Thus, I learned how they work and more new terms in Introduction Of Organization Computer in week 2. Back to basic, the basic function of computer is to run and execute a programs. Is that the only function of computer?</p><p>Of course not, first of all CPU reads these instructions one at the time by exchange data with memory, performs the specified operations, and produces output. New terms that I mentioned earlier is MAR, MBR, I/O AR, I/O BR, IR, IBR, PC, AQ and MQ. So what is this all terms about? This is key registers in Instruction Execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*Z7hCO2rT83mSKiHz2IEb5A.png" /></figure><p>We start with MAR, Memory Address Register that holds the memory location of the next data or instructions to be fetches. While, MBR which is Memory Buffer Register temporarily holds data that is either read from or written to memory. I/O Address Register, I/O AR specifies a particular I/O device to send a data. I/O Buffer Register (I/O BR) used for exchange of data between an I/O module and the CPU.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*7SGntp8_5Bwy7zoka-Omkw.png" /></figure><p>Additionally, IR is instruction register that contains the current instruction which is 8-bit opcode being executed while Instruction Buffer Register, IBR holds an instruction temporarily from memory. On the other side, Program Counter (PC) keeps track of the next instruction to execute, updating as each instruction is processed. AC which is Accumulator and Multiplier Quotient (MQ) temporarily hold and store operands and results for arithmetic or logical operations.</p><p>Conclusion, all components have their own functions to be progressed and this actions allow a computer responding to both user programs and system task. Same as human, we also need to cooperate to create quantum computing that will become a greater change in the future in technology system. Thankyou for reading, Bye!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f854e551169" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bics1302-study-reflection-part2/weekly-reflection-in-week-2-2417469-sect-5-4f854e551169">Weekly Reflection in Week 2 [2417469] — Sect. 5</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[Introduction to Computer Organisation Week 1 - BICS 1302 (2417469) Muhammad Mukhrizq Wafiq]]></title>
            <link>https://medium.com/bics1302-study-reflection-part2/introduction-to-computer-organisation-week-1-bics-1302-2417469-muhammad-mukhrizq-wafiq-ea79385aac3f?source=rss-10ab48ed5cf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea79385aac3f</guid>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Qieyue]]></dc:creator>
            <pubDate>Sun, 13 Oct 2024 16:37:41 GMT</pubDate>
            <atom:updated>2024-10-18T17:48:01.821Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*O3xHCbmn7P-8BVSRZHCJsA.jpeg" /></figure><p>Hi, I am Muhammad Mukhrizq, you can call me Muk. This week, I learnt chapter one from Introduction to Computer Organisation, which is Computer Organization and Architecture. In this chapter, it contains information about the general functions and structure of a digital computer and shows how computers evolve from time to time. There are two things that come to mind about a computer, which are input and output, but I barely know how a computer does it. For example, the majority of us know that keyboard and mouse are the input, and screen and speaker are the output for the computer.</p><p>In computers, there are structures and functions that cooperate with each other to make a computer run well. For structures, it refers to the organization component, either physical or logical, in the computer, while for functions, it refers to the operations that the component performs to run a computer perfectly. For instance, key components for structure are CPUs, memory, input/output, and system interconnections. Meanwhile, key components for functions are data storage, data movement, data processing, and control.</p><p>Let’s talk about CPU. Central processing unit is the component that receives an input, loads the data to memory, and lastly, sends it back to output, whether it is a screen or speaker. Simply put, the CPU is the “brain” for the computer. Although, how did people back then use computers while the CPU was invented in the 1970s? Here is what I learnt in this chapter. There are Vacuum Tubes, which is the first generation of a computer’s “brain”, such as <em>ENIAC</em>. Followed by Transistors were created in the 1950s, like the <em>IBM 700</em>, and Integrated Circuits (ICs) were produced in the 1960s, which is <em>DEC DPD</em>. Lastly, there are microprocessors that we all know as CPUs on a single chip including Apple II and IBM PC.</p><p>Nowadays, people are familiar with cloud computing and distributed systems because they allow us to access the network to run their projects. Maybe in the future, we will see an evolution from cloud computing to quantum computing that will boost all the processes and make it easier. This evolution will work by designing the performance of the computer. This will involve techniques such as pipelining, using cache memory, multicore processors, and instruction-level parallelism (ILP).</p><p>That is all for the first week, and all this stuff makes me more excited and gets my interest to learn about the rest for the next class. Thank you for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea79385aac3f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bics1302-study-reflection-part2/introduction-to-computer-organisation-week-1-bics-1302-2417469-muhammad-mukhrizq-wafiq-ea79385aac3f">Introduction to Computer Organisation Week 1 - BICS 1302 (2417469) Muhammad Mukhrizq Wafiq</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>