Filip Melkafilipmelka.hashnode.dev·Jul 1, 2024How can we represent negative numbers in binary?How do we write down a negative number? When using pen and paper, it's quite simple - put the minus (-) sign in front of the number. For example, if we want to write the negative of the number 5, we write -5. That's simple and straightforward. Now, l...Discuss·27 readsBinary numbers
Ashuashu14.hashnode.dev·Jun 13, 2024Exploring Buffers in Node.js: A Comprehensive OverviewWelcome! If you’re into backend development, understanding buffers is essential. But before we get there, let's start with the basics: binary numbers, hexadecimal, and character encoding. By the end of this post, you'll have a solid grasp of buffers ...Discuss·1 like·50 readsNode.js
Raineraineyang.hashnode.dev·Nov 28, 2023Learning Notes: Data is Represented in BinaryThis article is a summary of Chapter 2 of: Yazawa, H. (2015). 程序是怎么跑起来的[How Program Works] (L. Fengjun, Trans.). People's Posts and Telecommunications Press Reason for using Binary in Computers Computers are constructed by integrated circuits (IC). T...Discussshifting operation
Syed Muzamilsyedmuzamilm.hashnode.dev·Feb 12, 2023Representation of Negative Numbers in BinaryOriginally published here. Since binary numbers can have only two digits/symbols either 0 or 1, it is not possible to add minus or plus symbol in front of a binary number. In a decimal number, we add a minus symbol in front of a number if it is negat...Discuss·10 likesbinary
Quazi Shams Kabirshamskabir.hashnode.dev·Jan 13, 2023Range of numbers in a byteWe know that a number gets stored in 8 bits, as a programmer you might also know that numbers range from (-128 to 127) in 1 byte. But 2^8 = 256 isn't it? So why? How do the negative numbers come into the picture and why it's not (-256 to 256) or not ...Discuss·30 readsnumbers
Ngozichukwu Uzoigwengozichukwuzoigwe.hashnode.dev·Oct 4, 2022Functioning Of A ComputerThe world is all techy, and one cannot afford to miss the moving train of technology. In this article, I have tried to piece together some information you may find very useful. WHAT IS A COMPUTER? A computer, as stated by Chris Woodford (2021) “is ...Discuss·118 readsBinary numbers