From 5a813eea0480e1d21f71423276676a67536ec909 Mon Sep 17 00:00:00 2001 From: Abhay Shukla <51085053+abhays02@users.noreply.github.com> Date: Tue, 21 Jan 2025 21:46:18 +0530 Subject: [PATCH] feat: add topic content resources * Update how-computers-calculate@GDLKJkKgB-i7n0YcV2NDa.md I have added short description so that learner should not roam and can get overview of the topic. * Update src/data/roadmaps/computer-science/content/how-computers-calculate@GDLKJkKgB-i7n0YcV2NDa.md --------- Co-authored-by: Arik Chakma --- .../content/how-computers-calculate@GDLKJkKgB-i7n0YcV2NDa.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data/roadmaps/computer-science/content/how-computers-calculate@GDLKJkKgB-i7n0YcV2NDa.md b/src/data/roadmaps/computer-science/content/how-computers-calculate@GDLKJkKgB-i7n0YcV2NDa.md index 5b6c1c333..d8e41f626 100644 --- a/src/data/roadmaps/computer-science/content/how-computers-calculate@GDLKJkKgB-i7n0YcV2NDa.md +++ b/src/data/roadmaps/computer-science/content/how-computers-calculate@GDLKJkKgB-i7n0YcV2NDa.md @@ -1,5 +1,7 @@ # How Computers Calculate? +Computers calculate using the binary system, where all data is represented as 0s and 1s. These binary states correspond to the ON/OFF positions of transistors, which are the building blocks of logic gates (AND, OR, NOT). Numbers, characters, and instructions are broken into binary sequences (bits), and grouped into bytes (8 bits). Arithmetic operations like addition are performed through logic gates, which combine binary values. The CPU executes these calculations by following a fetch-decode-execute cycle. Complex calculations, such as handling decimals, use floating-point representation. Programs written in high-level languages are compiled into machine code for the CPU to execute. + Visit the following resources to learn more: - [@video@How computers calculate - ALU](https://youtu.be/1I5ZMmrOfnA)