Computer Data Storage - Bits and Bytes

  Рет қаралды 39,172

Mor Sagmon

Mor Sagmon

4 жыл бұрын

Understanding how data is organized in the computer's memory. What is a bit, what is a Byte?
This is a sample lesson from Mor Sagmon's course: Computer Programming with Excel VBA.
The course is part of a wider program that teaches and empowers people to become a successful business information systems developers. More info can be found here: morsagmon.com

Пікірлер: 44
@mcaj1900
@mcaj1900 3 күн бұрын
Very informative. Well simplified
@MorSagmonExcelVBA
@MorSagmonExcelVBA 2 күн бұрын
Thank you!
@LailaInSp
@LailaInSp 3 ай бұрын
BEST EXPLAINATION EVER!
@MorSagmonExcelVBA
@MorSagmonExcelVBA 3 ай бұрын
Thank you!
@darshankokal4670
@darshankokal4670 11 ай бұрын
That was amazing sir. I always wonder how this works but from this video it is very clear now 😊
@MorSagmonExcelVBA
@MorSagmonExcelVBA 3 ай бұрын
Happy to hear!
@liviu1266
@liviu1266 Жыл бұрын
Thank you so much for this, extremely helpful.
@morsagmon9309
@morsagmon9309 Жыл бұрын
You're very welcome!
@dominatorfn5011
@dominatorfn5011 Ай бұрын
Superb explanation!
@minootarighat276
@minootarighat276 4 ай бұрын
Thank you
@MorSagmonExcelVBA
@MorSagmonExcelVBA 4 ай бұрын
You are welcomed!
@brunao9689
@brunao9689 11 ай бұрын
great content😁😁😁
@Seasons-fn1lv
@Seasons-fn1lv Жыл бұрын
understand this so good thanks sir
@4m4l
@4m4l 3 ай бұрын
Great
@jatinsharma3792
@jatinsharma3792 2 жыл бұрын
I didn't understand the negative numbers logic properly!
@muzammilnasir1535
@muzammilnasir1535 Жыл бұрын
me too lol its need alot of almonds for that 😜😜
@snor69
@snor69 9 ай бұрын
I understood the 2nd compliment but the 1st one was never explained
@MohamedHany-oq7xr
@MohamedHany-oq7xr 8 ай бұрын
The number and his complement must equal 0, if we applied the same rule for binary, we will end with number like, 111111 ,so we add 1(the second complement) to make it 0. Note: after adding 1, the left most 1 is discarded.
@mariamkokaia5411
@mariamkokaia5411 11 ай бұрын
Thank you!!
@katyakubyshkin7638
@katyakubyshkin7638 11 ай бұрын
thank you sir
@ujawlathorat3894
@ujawlathorat3894 Жыл бұрын
Very helpful❤
@itsmeais8346
@itsmeais8346 8 ай бұрын
Thank youuuuuuuuuuuu 🫶🏻🫶🏻🫶🏻🫶🏻
@nicolelam6492
@nicolelam6492 Жыл бұрын
very helpful for me! Thank you!
@morsagmon9309
@morsagmon9309 Жыл бұрын
Glad it helped!
@basharathussain5720
@basharathussain5720 3 жыл бұрын
sir I want to ask a question that what is actually bit? does bit is transistor??? and 1 byte can store 255 values what does it mean??? is possible to store 255 characters???? plz simplyfy sir
@morsagmon9309
@morsagmon9309 3 жыл бұрын
Yes, you're right. A bit is a simple representation of 0 or 1. it's a two-state device. Either 0, or 1. I am not sure how a transistor works, though. When you combine 8 bits, you get a Byte. Now you have 256 possible combinations. Here's one combination 00010010 and here's another one: 00000001. Each combination is determined to represent a character, for example "A" or "4". That's how bits are combined into Bytes that are combined together to represent all of the required characters in all languages.
@basharathussain5720
@basharathussain5720 3 жыл бұрын
@@morsagmon9309 thank you so much sir....im also confused in term that an integer can store 65536 numbers how is it possible? although we know that integer can store 2 bytes which is equal to 16 bits means 16 zeros or ones. but what is 65536 numbers??
@morsagmon9309
@morsagmon9309 3 жыл бұрын
@@basharathussain5720 16 bits offers 65536 combinations: 0000000000000001 0000000000000011 0000000000000010 0000000000001011 0000011010110001 0011111111110001 ... ... ... If you have 16 bits, you can combine 2^16 combinations (2 to the power of 16) = 65536. If you have 2 bits only, you can combine 4 combinations (2^2 = 4). Here they are: 00 11 01 10
@basharathussain5720
@basharathussain5720 3 жыл бұрын
@@morsagmon9309 sir i have an assignment in unversity and im in tense and so confused.....because of not understandin guestions.
@basharathussain5720
@basharathussain5720 3 жыл бұрын
Question #01 An Array has a mix of 0s and 1s representing False and True Boolean values. Write function AllTrue() that returns 1 when all the entries in the array are true, and 0 when at least one of the entry in the array is false. Do Not Use Selection Structures. Question #02 An Array has a mix of 0s and 1s representing False and True Boolean values. Write function AnyTrue() that returns 0 when all the entries in the array are false, and 1 when at least one of the entry in the array is true. Do Not Use Selection Structures. Question #03 Allow the user to input the xy co-ordinates for n number of points in a two-dimensional co-ordinate system. Write a function to evaluate if all those points exist on the same straight line. You can use 2 single dimension arrays of length n. Question #04* Write a program that uses a function decoder(). Write the decoder() is such a way that it accepts 3 Boolean inputs, selects one of the 2 output bits, and writes a 0 or 1 (as provided by the user) on the selected bit. Question #05* Write a program that uses a function decoder(). Write the decoder() is such a way that it accepts 4 Boolean inputs, selects one of the 2 output bits, and writes a 0 or 1 (as provided by the user) on the selected bit. Question #06* Write a program that uses a function decoder(). Write the decoder() is such a way that it accepts variable length (e.g. 3, 4, 5) Boolean inputs, selects one of the 2 output bits, and writes a 0 or 1 (as provided by the user) on the selected bit. *An  × 2 decoder is an electronic device. Its name is derived from the fact that it has  number of input lines and 2 output lines. Out of these 2 outlines only one is selected based on the Boolean inputs on  lines.
@user-oz7us1uo4c
@user-oz7us1uo4c Жыл бұрын
Sir help me to understand burinary operations AND NOT OR XOR
@felixchinyama5606
@felixchinyama5606 Жыл бұрын
books recommendetion pkease
@saikrishnapechetti8382
@saikrishnapechetti8382 3 жыл бұрын
Hello sir, very nice explanation im new to programming and came here to know about bits, but i got some doubt, isn't computer take care of all this stuff(signing and other stuff) on its own then why bother learning this concept?
@MorSag
@MorSag 3 жыл бұрын
As a developer, the more you understand how things work under the cover - the greater your toolbox to write efficient solutions to various problems. For example, in the following Blog post, I explain how to take advantage of bits and bytes for a highly efficient and convenient technique: bit-wise enumerations: www.morsagmon.com/blog/Excel-VBA-Bit-Wise-Enumerations Similarly, if a scientist wants to develop a drug to handle immune issues, he needs to understand how the immune system works (not they really do, but that is another discussion...).
@morsagmon9309
@morsagmon9309 Жыл бұрын
Hi. Most people should not care. A programmer should understand how things work, and sometimes may even need to implement a program that makes use of the bits & bytes of things. It's like a gardener that needs to understand about soil quality, pollination, etc. - not just stick a plant in the dirt and pour water...
@basharathussain5720
@basharathussain5720 3 жыл бұрын
thank you sir
@basharathussain5720
@basharathussain5720 3 жыл бұрын
sir you are great! thank you so much sir
@morsagmon9309
@morsagmon9309 Жыл бұрын
Most welcome
32-Bit vs. 64-Bit - What Are Bits? Why Are They Important?
13:50
Computer Clan
Рет қаралды 483 М.
Why Do Computers Use 1s and 0s? Binary and Transistors Explained.
7:00
Basics Explained, H3Vtux
Рет қаралды 4,3 МЛН
لااا! هذه البرتقالة مزعجة جدًا #قصير
00:15
One More Arabic
Рет қаралды 51 МЛН
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 33 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 48 МЛН
Lecture 3/12: Bits, Bytes and Words
15:07
hhp3
Рет қаралды 146 М.
How does Computer Memory Work? 💻🛠
35:33
Branch Education
Рет қаралды 3,8 МЛН
What is a Monad? - Computerphile
21:50
Computerphile
Рет қаралды 600 М.
Bit and Byte Explained in 6 Minutes - What Are Bytes and Bits?
6:26
Hooman Mardox
Рет қаралды 344 М.
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 340 М.
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 216 М.
Bits, Bytes and Hex
11:08
Smart Contract Programmer
Рет қаралды 15 М.
Understanding Computer Language - Bits, Bytes, and Binary!
5:28
Extreme Networks
Рет қаралды 28 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 352 М.
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 4,6 МЛН
ПОЧЕМУ МИКРОФОНЫ ИГРОВЫЕ? 🧐
0:46
KEKTAR
Рет қаралды 496 М.
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 13 МЛН
Bluetooth connected successfully 💯💯
0:16
Blue ice Comedy
Рет қаралды 4,1 МЛН
Nokia 3310 top
0:20
YT 𝒯𝒾𝓂𝓉𝒾𝓀
Рет қаралды 5 МЛН