Rishabh Kumardevrishabh.hashnode.dev·May 24, 2024Getting Started with C++: Essential Concepts (Part 2)LOOPS Why Loops? A loop in programming is a fundamental concept used to repeat a block of code multiple times. There are different types of loops, each serving various purposes and offering different ways to control the repetition process. In C++ the...11 likes·43 readsC++ operators
Atanu Sarkardisciple.hashnode.dev·Jan 8, 2024What about that point? Just let it float, duhThis piece presents an utterly complicated topic - IEEE754 Standard - in its distilled form, so it's relatively short. I've been prohibited from sharing any of the problems from my lab sessions. Apologies for that. But I've tried hard to subside the ...27 readsfloating point arithmetic
Atanu Sarkardisciple.hashnode.dev·Jan 3, 2024How do computers deal with negativity?This piece is a continuation of my previous post on the Computer Number System. Signs For the sake of simplicity, let's suppose all our computers have 8-bit processors. Consider a decimal, 15. In 8 bits, the binary for 15 is 00001111; there's no doub...38 readsComputer Science
Atanu Sarkardisciple.hashnode.dev·Dec 26, 2023Number System?! Yup! Get to know your numbers well, engineers.'Week 1' at cs.code.in - engineering redefined. The following piece covers the basics of 'Computer Number System.' So, dive in to exercise your intellect🧠 Let's learn to count... again. We are acutely familiar with the symbols: 0, 1, 2, …, 9, which...41 readsComputer Science
Eduardo Wronsckieduardowronscki.hashnode.dev·Nov 17, 2023Ever wondered how binary numbers work?When we think about numbers, we often picture them in our familiar decimal system (base 10), consisting of digits from 0 to 9. However, in the world of computers, the fundamental language is binary (base 2), which uses just two digits: 0 and 1. In th...1 like·68 readsbinary
Vikram Jayanthvr63.hashnode.dev·Oct 4, 2023Exploring Inaccuracies in Computer ArithmeticINTRODUCTION When I started to learn programming everything seemed to be simple and easy except for floating-point arithmetic. Yeah, you may argue with me that floating-point numbers are just numbers with decimal places like 1.1 and why would someone...12 likes·81 readsIEEE 754
Durdanta Halderdurdanta.hashnode.dev·Jul 17, 2023How to convert Decimal number to Octal number.To convert decimal numbers to octal numbers, you can follow these steps: 1. Divide the decimal number by 8. 2. Write down the remainder. 3. Divide the quotient by 8. 4. Write down the remainder. 5. Repeat steps 3 and 4 until the quotient is zero. 6. ...octal
andhika pratama putraandhikapratamap.hashnode.dev·Jun 15, 2023Konversi Bilangan: Repositori JavaScript untuk Konversi BilanganGitHub Repository: Konversi Bilangan Repositori ini berisi implementasi dalam bahasa JavaScript yang menyediakan fungsi untuk melakukan konversi bilangan antara sistem bilangan desimal, biner, oktal, dan heksadesimal. Repositori ini dikembangkan oleh...Kelas 10 TKJcoding
Yaroslav Prozorovbyka.hashnode.dev·Jun 10, 2023Trailing Zeros in FactorialDescription Problem Description: We are given a number. The task is to find the Number of Trailing Zeros in the factorial of the number. The Trailing Zeros are the Zeros, which appear at the end of a number(factorial in that case) Examples : Input: 5...29 readsalgorithms
Swapnil Sinhaswapnxl.hashnode.dev·Apr 30, 2023How to convert hexadecimal to decimal and binary with only using character input in scanf, loops and conditional statement.This C program converts a hexadecimal input into its equivalent decimal and binary values. The program reads the user's input character by character until the user hits the enter key. This code can be helpful in developing programs that require conve...35 readsC