Lecture 3/12: Bits, Bytes and Words

  Рет қаралды 147,189

hhp3

hhp3

Күн бұрын

Prof. Harry Porter
Portland State University
cs.pdx.edu/~harry

Пікірлер: 51
@smoothbeak
@smoothbeak 8 жыл бұрын
You're a computer wizard Harry!
@Nobodyyoucarabout
@Nobodyyoucarabout 7 жыл бұрын
i read harry potter as well the first time hahaha
@Kor1134
@Kor1134 4 ай бұрын
Octal is used in Linux to set file and directory permissions: 1 = x, 2 = w, 4 = r; 6 = 4+2 = rw; 7 = 4+2+1 = rwx.
@ideaparkcc
@ideaparkcc Жыл бұрын
A master does not make you lost by complexities, but make you more clear by simplicities. Harry is absolutely a real master.
@Kor1134
@Kor1134 4 ай бұрын
I've never heard of a half-word, I see 16-bit integers in Linux called characters, and in Windows called words. Windows still denotes 32-bit integers as dwords, as evident in the registry. C++ and C# represent dwords as 32-bit integers
7 жыл бұрын
Really liked this one. I try using LEGO to explain Bits and Bytes, let me know what you think. I do like your "white-boarding"method of explaining.
@ranjithvengala2412
@ranjithvengala2412 6 жыл бұрын
Danielle Thé me too like this kind of explanation...
@dominicgaraycochea704
@dominicgaraycochea704 5 жыл бұрын
I like the flow of the lecture.. Subscribed!
@arielspalter7425
@arielspalter7425 5 жыл бұрын
Super clear. Thanks for the video.
@mithunkumarv2321
@mithunkumarv2321 4 жыл бұрын
1 word = 8/16/32/64/... bits depending on memory word size. But here you have mentioned that 1 word = 32bits Is it applicable only for 32 bit machine?
@saratmondal2000
@saratmondal2000 4 жыл бұрын
Yes, in ladder programming 1 word =16 bit and 1 double word=32 bit..
@edwardgoldentooth4491
@edwardgoldentooth4491 Жыл бұрын
@@saratmondal2000 loada nonsense. Obfuscating the issue
@KabelkowyJoe
@KabelkowyJoe Жыл бұрын
This tutorial Is applicable to virtual world of non existing machines it means - WRONG> In x86 terminology/documentation either 32bit and 64, a "word" is 16 bits PERIOD because x86 evolved out of 16-bit 8086. Same on ARM cause it's both 32 and 64 bit also contain 16 bit Thumb mode. In WIndows programing DWORD = 32 bit, QWORD is 64 this tutorial is worthless. I quote stackoverflow now "Changing the meaning of the term as extensions were added would have just been confusing, because Intel still had to document 16-bit mode and everything, and instruction mnemonics like cwd (sign-extend word to dword) bake the terminology into the ISA.x86 word = 2 bytes x86 dword = 4 bytes (double word) x86 qword = 8 bytes (quad word) x86 double-quad or xmmword = 16 bytes, e.g. movdqa xmm0, [rdi]. Also in the cqo mnemonic, oct-word. (Sign-extend RAX into RDX:RAX, e.g. before idiv) And then we have fun instruction like punpcklqdq: shuffle together two qwords into a dqword, or pclmulqdq for carry-less multiplication of qwords, producing a dq full result." To avoid confusion, SIMD mnemonics tend to be AVX vextracti128 or AVX512 (with optional per-element masking) vextractf64x4 to extract the high 256 bits of a ZMM register." - therefore in REAL life WORD is 16 nobody else uses other definition.
@amansouravsrivastava2405
@amansouravsrivastava2405 4 жыл бұрын
A real Harry Porter!!
@treimar
@treimar 2 жыл бұрын
Video was very helpful eventho in the PLC world a word is 16 bits.
@vvvv-pb5qk
@vvvv-pb5qk 3 жыл бұрын
No spells??? How are we going to defend against the Dark Lord?!!?!?
@kqvanity
@kqvanity 3 жыл бұрын
14:43 can be used as a type modifier with other specific data types to add a modification to it
@guliyevshahriyar
@guliyevshahriyar Жыл бұрын
Thx
@dwl.sinamurye208
@dwl.sinamurye208 2 жыл бұрын
How many bytes in the following sentence " Is you, who broke my phone" henry said to betty
@anelectrician
@anelectrician 6 жыл бұрын
A Nibble is 4 bits
@infotothecitizens2117
@infotothecitizens2117 6 жыл бұрын
very interesting
@jmpbus5086
@jmpbus5086 2 жыл бұрын
Thank you, this is a very helpful video.
@JaffarHussain
@JaffarHussain 6 жыл бұрын
Please solve this questions 1- What is the computer system components? 2- Please give a few examples of Application programs, Hardware Computer System Components. 3- Are following attributes true for I/O Structure? A. Each device controller has a controller. B. Each local buffer is in charge of a particular device type. C. CPU moves data from/to main memory to/from local buffers D. Each device controller is in charge of a particular device type 4- What is default unit of computer storage size that contain one of two values, 0 and 1? A. One bit B. One word C. One byte D. Gigabyte 5- What does the Caching exactly do? 6- List the Advantages of Multiprocessors systems? 7- What is Bootstrap program designed for? A. bootstrap program is loaded at ROM or reboot B. Initializes all firmwareof system C. Loads operating system kernel and starts execution 8- What is the responsibility of Secondary storage, Symmetric Multiprocessing, Asymmetric clustering, Timesharing? 9- Please give the parallel systems types for Computer-System Architecture? 10- What does the cluster system exactly do? 11- What is Operating System Definition? 12- What are the (CPU scheduling, swapping, Virtual memory, job scheduling) are used for? 13- What is the kernel? 14- How a Modern Computer Works draw and explain?
@infinitesimotel
@infinitesimotel 6 жыл бұрын
Why don't you, try to solve them buddy?
@TheTechnicalman
@TheTechnicalman 4 жыл бұрын
*Word* consists of 4 letters and 4 bytes ;)
@kefrensmegademo
@kefrensmegademo 4 жыл бұрын
I think "longer int" data type can be shortcut for "long long int" in C . lol.
@edwardgoldentooth4491
@edwardgoldentooth4491 Жыл бұрын
do you mean "integer", this bloke is a nutter
@ArsArcanum
@ArsArcanum 5 жыл бұрын
can you do your lectures in snake tongue... plz Harry?
@edwardgoldentooth4491
@edwardgoldentooth4491 Жыл бұрын
he is lol (numpty)
@PravinJanjal92
@PravinJanjal92 7 жыл бұрын
So great!
@drwblkfact7286
@drwblkfact7286 4 жыл бұрын
Thank you !!!
@sakirdag2976
@sakirdag2976 5 жыл бұрын
thank you
@vpetevotov
@vpetevotov 5 жыл бұрын
Thank you!
@rashidmhr
@rashidmhr 4 жыл бұрын
"Harry Porter and the chamber of bytes"
@Thank_Me_Later
@Thank_Me_Later 3 жыл бұрын
DWORD IS 32BIT ?
@mr.latief2728
@mr.latief2728 Жыл бұрын
Sorry correction, 1 Word = 2 byte = 16 bite, double word = 4 byte = 32 bite, Thanks
@warlockzone9596
@warlockzone9596 2 жыл бұрын
Good video! ... Octal is used in networking - IP addresses - IPv4 xxx xxx xxx xxx
@Kor1134
@Kor1134 4 ай бұрын
Those are byte-sized decimals, 192 and 168 are not valid octals since octal can only count from 0 to 7 in one digit. You will never see an 8 or 9 in an octal number. You're thinking of octets, not octals.
@edwardgoldentooth4491
@edwardgoldentooth4491 Жыл бұрын
1024 bits to a kilo byte. why confuse? loada bollix lol
@yank3656
@yank3656 4 жыл бұрын
thanks for sharing hhp3
@jamespottex5197
@jamespottex5197 4 жыл бұрын
Good video very helpful for poor class students
@thepeach12345
@thepeach12345 3 жыл бұрын
They want to contact alien life in outer space so they use numbers but did anyone tell the aliens that hey we decided to start from the right to left and in a specific 4 number order this means counting up and not down? What if the aliens had 1 byte deciding it would be I dont know lets say 9 characters like out social security numbers in the US? How would they know what they are looking at? lol.
@muhammadshaheer1648
@muhammadshaheer1648 3 жыл бұрын
How a 32bit Architecture can store (longlong or double) datatype as size of long long or double is 8byte=64bit? I am confused. Can anyone please clear my doubt.
@codedbyjordan
@codedbyjordan 3 жыл бұрын
32bit means that 2^32 memory addresses are able to be used by the CPU. each memory address stores 1 byte of data in it.
@RATANAGARWALITINFORMER
@RATANAGARWALITINFORMER 2 жыл бұрын
thx
@rajadurai1483
@rajadurai1483 6 жыл бұрын
super
@Killputin777
@Killputin777 6 жыл бұрын
mukay?
@KabelkowyJoe
@KabelkowyJoe Жыл бұрын
WORD 32, WAIT WHAT! WHAT?! In what realm!? In Windows and Linux programing world WORD was always 16 bits, Double WORD is 2x 16 bits 32bits, Quad is 64 bits, Double QWORD is 128. This tutorial Is not applicable to REALITY it means - WRONG. Except for bits to octal calculation. In x86 terminology/documentation, a "word" is 16 bits PERIOD because x86 evolved out of 16-bit 8086. In WIndows programing DWORD = 32 bit, even on 64 bit architecture. Same on ARM documentation. In ARM there is Thumb mode 16 bit this is why WORD is ALWAYS in real life reffered to 16 bit. I quote stackoverflow now "Changing the meaning of the term as extensions were added would have just been confusing, because Intel still had to document 16-bit mode and everything, and instruction mnemonics like cwd (sign-extend word to dword) bake the terminology into the ISA.x86 word = 2 bytes x86 dword = 4 bytes (double word) x86 qword = 8 bytes (quad word) x86 double-quad or xmmword = 16 bytes, e.g. movdqa xmm0, [rdi]. Also in the cqo mnemonic, oct-word. (Sign-extend RAX into RDX:RAX, e.g. before idiv) And then we have fun instruction like punpcklqdq: shuffle together two qwords into a dqword, or pclmulqdq for carry-less multiplication of qwords, producing a dq full result. But beyond that, SIMD mnemonics tend to be AVX vextracti128 or AVX512 (with optional per-element masking) vextractf64x4 to extract the high 256 bits of a ZMM register." - even AVX instruction sets uses 32,64bit as basic building blocks.
@samuca101
@samuca101 9 ай бұрын
Actually, I think the most important thing is to understand the concept. If you grasp it, you'll know that 'double' will always be twice the size of the given 'word,' depending on the system and all these stuff. But i agree with u, would be better if he used the most common terminology, so it would be less confusing when you start programming...
@goldfish8196
@goldfish8196 7 жыл бұрын
THANK YOU!
Lecture 1/12: Bits and Binary Numbers
12:45
hhp3
Рет қаралды 61 М.
Computer Data Storage - Bits and Bytes
12:34
Mor Sagmon
Рет қаралды 40 М.
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20
Lecture 8/12: Data Alignment
4:16
hhp3
Рет қаралды 69 М.
Bit and Byte Explained in 6 Minutes - What Are Bytes and Bits?
6:26
Hooman Mardox
Рет қаралды 347 М.
Lecture 4/12: Signed and Unsigned Numbers
18:02
hhp3
Рет қаралды 18 М.
SAT and 3SAT
9:49
Computer Science Theory Explained
Рет қаралды 28 М.
Comparing C to machine language
10:02
Ben Eater
Рет қаралды 5 МЛН
Why Do Computers Use 1s and 0s? Binary and Transistors Explained.
7:00
Basics Explained, H3Vtux
Рет қаралды 4,3 МЛН
Understanding Computer Language - Bits, Bytes, and Binary!
5:28
Extreme Networks
Рет қаралды 30 М.
HOW TRANSISTORS REMEMBER DATA
16:58
Core Dumped
Рет қаралды 276 М.