Binary Logical Shifts

  Рет қаралды 71,032

MrBrownCS

MrBrownCS

Күн бұрын

Пікірлер: 42
@ronniesaieed1373
@ronniesaieed1373 5 жыл бұрын
Thank you so much! I have an exam tomorrow and i was afraid i might never understand that.
@grimreaper9104
@grimreaper9104 2 жыл бұрын
same bro :)
@AliZ2009
@AliZ2009 11 ай бұрын
yeah i also had a big test thanks a lot!
@pomegranate8593
@pomegranate8593 2 жыл бұрын
you are very good sir thank you
@varalakshmibogale5291
@varalakshmibogale5291 3 жыл бұрын
There is a question which says State one effect this logical shift has on the binary value. Please answer this as I don’t get it
@greenishtri
@greenishtri 2 жыл бұрын
We might lose our data if we depend on logical shifter
@dejukeysa5200
@dejukeysa5200 6 жыл бұрын
the tutor was nise but I'm not clear because of your speed
@WhoisFaieq
@WhoisFaieq 3 ай бұрын
because ur African black man you dumb
@davidta7836
@davidta7836 6 жыл бұрын
im slightly confused when you said the right logical shift is MOD division. isn't is DIV division as its returning the whole number and not the remainder e.g 15 DIV 2 would return 7
@ComputerScienceTutor
@ComputerScienceTutor 6 жыл бұрын
Yeah, if I said that mistakenly I apologise
@Kooner14
@Kooner14 4 жыл бұрын
@@ComputerScienceTutor would the last one not produce an overflow error?
@gucci8470
@gucci8470 6 жыл бұрын
I'm a bit confused, is the steps really important for the binary shift at the end or do you get marks for writing the steps for example in this case writing the steps for three? (this question is for the question at the end of the video)
@ComputerScienceTutor
@ComputerScienceTutor 6 жыл бұрын
Best to do each step, especially if there are working marks (i.e. it's not a 1 marker)
@princeakilesh4881
@princeakilesh4881 3 жыл бұрын
Hello sir, Can you do a proper playlist for Computer Science P3 summarised theory videos ?
@princewaesen154
@princewaesen154 Жыл бұрын
oh look its fellow royality
@Islam-x7w
@Islam-x7w 10 ай бұрын
lmao 😭😭
@parulpari7346
@parulpari7346 4 жыл бұрын
Thanks brother!
@mehekalam6103
@mehekalam6103 5 жыл бұрын
Isn't right shift multiply, and left shift divide, so I don't get what u said
@arnoahmed9269
@arnoahmed9269 3 жыл бұрын
right shift divide and left shift multiply. Although don't think it will be useful after ~ 730 days 😁
@overlord3481
@overlord3481 3 жыл бұрын
@@arnoahmed9269 too late lol
@elizas1921
@elizas1921 6 жыл бұрын
So if you do a binary shift by 2 you are doing it by 8?
@ComputerScienceTutor
@ComputerScienceTutor 6 жыл бұрын
A ''binary shift of 2" means you are either dividing by 4 or multiplying by 4 depending on the direction of the shift. It's 2 to the power x (2^x) where x is how many shifts you are doing
@elizas1921
@elizas1921 6 жыл бұрын
Computer Science Tutor ah thank you ❤️
@abdulraafey737
@abdulraafey737 Жыл бұрын
Does the overflow error also occur in right logical shift? or is it just for the left one?
@love4venoms
@love4venoms Жыл бұрын
Only for increase (left) I think. In a right logical shift it just wouldn't make any sense
@Tempri
@Tempri 6 жыл бұрын
What would be the reason for doing this? Just as a way of multiplying and dividing or does it go further than that?
@ComputerScienceTutor
@ComputerScienceTutor 6 жыл бұрын
They can be used to round I believe, but I've only ever used a right shift in programming for division, just because often algorithms work by dividing things (arrays, memory, GPU threads etc) by 2, and this is a super efficient way to do it - they are so trivial for a computer to do
@Tempri
@Tempri 6 жыл бұрын
Computer Science Tutor ah okay, thank youu
@TheRojo387
@TheRojo387 3 жыл бұрын
@@ComputerScienceTutor For rounding I would just use a bitwise AND, with zeroes up to the LSB for rounding, then ones the rest of the way.
@exolz8990
@exolz8990 2 жыл бұрын
tysm
@vivian364
@vivian364 4 жыл бұрын
Is logical shift and binary shift the same thing?
@spikeygorillaz6591
@spikeygorillaz6591 3 жыл бұрын
I think so lol
@siishasha2176
@siishasha2176 4 жыл бұрын
Hi There: Could you explain why 1101 is 13 in base 10 ? Thanks for this amazing video!
@n00b_asaurus
@n00b_asaurus 4 жыл бұрын
Search bar's right up there mate.
@seth6101
@seth6101 4 жыл бұрын
8 + 4 + 1 = 13
@prettylife6086
@prettylife6086 2 жыл бұрын
lmao bestie i thought he was speaking french in the beggening
@MsMrsGirly
@MsMrsGirly 6 жыл бұрын
how much marks would this be worth in the exam?exam tomorrow YIKES!
@ComputerScienceTutor
@ComputerScienceTutor 6 жыл бұрын
Probably only a couple. Good luck!
@TheRojo387
@TheRojo387 3 жыл бұрын
Shifting bits appears here to assume a big-endian system. But the thing is, computer registers, memory addresses, and processors are LITTLE-endian!
@CristianoRonaldo-rq6rd
@CristianoRonaldo-rq6rd 3 жыл бұрын
who is 13 years old and is trying to do their homework due in 10 minutes
@user-yj2sf1pl2u
@user-yj2sf1pl2u 3 жыл бұрын
not me)))
Representing Text in Binary (ASCII & Unicode)
4:54
MrBrownCS
Рет қаралды 65 М.
Binary Shifts Tutorial
9:13
Learn Learn Scratch Tutorials
Рет қаралды 35 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 4,7 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 18 МЛН
Nurse's Mission: Bringing Joy to Young Lives #shorts
00:17
Fabiosa Stories
Рет қаралды 19 МЛН
Bitwise Operators and WHY we use them
8:41
Alex Hyett
Рет қаралды 76 М.
Representing Sound in Binary
4:35
MrBrownCS
Рет қаралды 99 М.
Bitwise Right Shift Operator in Python
11:35
Neso Academy
Рет қаралды 28 М.
1.2.4 Binary Shifts - Revise OCR GCSE Computer Science
4:04
Revise Computer Science
Рет қаралды 3,5 М.
The Boundary of Computation
12:59
Mutual Information
Рет қаралды 1 МЛН
How to Multiply in Binary using Left Shift
5:09
Computer Science Tutorials
Рет қаралды 11 М.
Diffie-Hellman Key Exchange: How to Share a Secret
9:09
Spanning Tree
Рет қаралды 148 М.
Bitwise Operations & Bit Masking
13:08
Learn Learn Scratch Tutorials
Рет қаралды 34 М.
Introduction to Binary
5:23
MrBrownCS
Рет қаралды 128 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 4,7 МЛН