Thank you so much! I have an exam tomorrow and i was afraid i might never understand that.
@grimreaper91042 жыл бұрын
same bro :)
@AliZ200911 ай бұрын
yeah i also had a big test thanks a lot!
@pomegranate85932 жыл бұрын
you are very good sir thank you
@varalakshmibogale52913 жыл бұрын
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
@greenishtri2 жыл бұрын
We might lose our data if we depend on logical shifter
@dejukeysa52006 жыл бұрын
the tutor was nise but I'm not clear because of your speed
@WhoisFaieq3 ай бұрын
because ur African black man you dumb
@davidta78366 жыл бұрын
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
@ComputerScienceTutor6 жыл бұрын
Yeah, if I said that mistakenly I apologise
@Kooner144 жыл бұрын
@@ComputerScienceTutor would the last one not produce an overflow error?
@gucci84706 жыл бұрын
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)
@ComputerScienceTutor6 жыл бұрын
Best to do each step, especially if there are working marks (i.e. it's not a 1 marker)
@princeakilesh48813 жыл бұрын
Hello sir, Can you do a proper playlist for Computer Science P3 summarised theory videos ?
@princewaesen154 Жыл бұрын
oh look its fellow royality
@Islam-x7w10 ай бұрын
lmao 😭😭
@parulpari73464 жыл бұрын
Thanks brother!
@mehekalam61035 жыл бұрын
Isn't right shift multiply, and left shift divide, so I don't get what u said
@arnoahmed92693 жыл бұрын
right shift divide and left shift multiply. Although don't think it will be useful after ~ 730 days 😁
@overlord34813 жыл бұрын
@@arnoahmed9269 too late lol
@elizas19216 жыл бұрын
So if you do a binary shift by 2 you are doing it by 8?
@ComputerScienceTutor6 жыл бұрын
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
@elizas19216 жыл бұрын
Computer Science Tutor ah thank you ❤️
@abdulraafey737 Жыл бұрын
Does the overflow error also occur in right logical shift? or is it just for the left one?
@love4venoms Жыл бұрын
Only for increase (left) I think. In a right logical shift it just wouldn't make any sense
@Tempri6 жыл бұрын
What would be the reason for doing this? Just as a way of multiplying and dividing or does it go further than that?
@ComputerScienceTutor6 жыл бұрын
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
@Tempri6 жыл бұрын
Computer Science Tutor ah okay, thank youu
@TheRojo3873 жыл бұрын
@@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.
@exolz89902 жыл бұрын
tysm
@vivian3644 жыл бұрын
Is logical shift and binary shift the same thing?
@spikeygorillaz65913 жыл бұрын
I think so lol
@siishasha21764 жыл бұрын
Hi There: Could you explain why 1101 is 13 in base 10 ? Thanks for this amazing video!
@n00b_asaurus4 жыл бұрын
Search bar's right up there mate.
@seth61014 жыл бұрын
8 + 4 + 1 = 13
@prettylife60862 жыл бұрын
lmao bestie i thought he was speaking french in the beggening
@MsMrsGirly6 жыл бұрын
how much marks would this be worth in the exam?exam tomorrow YIKES!
@ComputerScienceTutor6 жыл бұрын
Probably only a couple. Good luck!
@TheRojo3873 жыл бұрын
Shifting bits appears here to assume a big-endian system. But the thing is, computer registers, memory addresses, and processors are LITTLE-endian!
@CristianoRonaldo-rq6rd3 жыл бұрын
who is 13 years old and is trying to do their homework due in 10 minutes