Decimal - int( ), Binary - bin( ), Octal - oct( ), Hexa Decimal - hex( ) The important thing is not only you can convert between decimal and the respective number system but also between any number system. For example - between Binary and Octal, Hexa Decimal and Binary etc.
@JoeyFlowers6 жыл бұрын
I love how in depth you go with each topic, rather than just brushing over it.
@alittlecoding6 жыл бұрын
a//4=3 because integer division. b**3 = b.b.b = 1728 So 1731 < 2000 is true. b%4 = 0 it's the remainder. So b%4 != 0 is false. So finally (true and false) is false. X = false But the output Will be nothing, if we don't print x.
@neruvan23686 жыл бұрын
wow
@alittlecoding6 жыл бұрын
Sai Siva 😊
@siddharthpathak96795 жыл бұрын
Cool bro good
@anjumishra72375 жыл бұрын
I also got the same answer.
@MysteryMuse1435 жыл бұрын
@@anjumishra7237 yes
@aparajita7735 жыл бұрын
here, (a//4+12**3) = 1731which is less than 2000. hence first condition is true. (b%4!=0) is false since b%4 is 0. and finally since the and operator is used answer is "false"
@praveenkumar-jx8iz5 жыл бұрын
Correct√
@seshu66174 жыл бұрын
@@praveenkumar-jx8iz yes correct bro
@muhammadibtisaam21154 жыл бұрын
second condition samaj nahi aahe
@abhinavkuruvilajoseph92744 жыл бұрын
But in the question it is not given to print so no output will be there
@shiva53j7kandagatla64 жыл бұрын
@@muhammadibtisaam2115 b%4 =0 because if we use % we get a reminder and then the condition given is 0 not equal to 0 that's why it is false
@josephkimogele99884 жыл бұрын
very awesome series, I was so confused when I started learning python because of all the information on youtube that is not organized and most of the videos weren't as helpful, thanks for the series I enjoy learning every day, cant wait to finish and start my career as a python developer. thank you.
@abhishwetkumar5 жыл бұрын
You just refreshed my Engineering class ...... wow Navin Impressed with this crah course on decimal to binary and vice-versa....
@muhammadmusa88995 жыл бұрын
I'm loving python after I started watching your videos... Thank you for making me love programming
@arunavedula4424 жыл бұрын
Thank you...Learnt a lot from watching your videos on python. You’ve managed to explain the concepts with so much clarity and without making it boring. Looking forward to more learning.
@RS-hu6co4 жыл бұрын
a = 15 b = 12 x = (a//4+b**3)
@priyanshkumar172 жыл бұрын
Yes .. verified . Thanks
@krishnakingdom35432 жыл бұрын
You had done a mistake here. 12**3=1728 but you worte here 1731. But i agree with your answer.
@sekarmukilan4627 Жыл бұрын
@@krishnakingdom3543 yes, I agree that but there will be no output because u r just assigning some value to x if u print(x) the output will be false
@sufiyanmogal15272 жыл бұрын
Homework Completed 😀 Conversion of decimal to binary 31 - Ob11111 52 - Ob110100 65 - Ob1000001 And the conversion of binary to decimal Ob110011010 - 410
@kunalverma17064 жыл бұрын
No one is teaching you this in programming tutorials. Thanks Sir
@chinmaydas40536 жыл бұрын
Sir you have discussed very important basic concepts number systems.. and now your representation with good slides picture is nice 👍👍.. many thanks 🙏..
@dragonff69862 жыл бұрын
What are you doin now brother..IAM learning python now
@dragonff69862 жыл бұрын
Is this enough to go0
@neelamgupta25055 жыл бұрын
Thank you sir! I wanted to learn programming but not enough interested and was being bored by programming, and you increased my interest and now I am enjoying learning.
@mrexe79443 жыл бұрын
'0b11111' is the binary format of 31. '0b110100' is the binary format of 52. '0b1000001' is the binary format of 65.
@mr.gamingthalapathy31912 жыл бұрын
What is the binary format for 110011010
@nandhiniruby-xr2mu Жыл бұрын
I am also get the answer
@Asuram235 ай бұрын
Mister, thank you so so much! I am preparing on Python exam and I wish our teacher were half as good as you! You explain everything so well, than I understand instantly or rewatch if I do not. The rest is then practice and difficulty that needs to be increased. I recommended you to my classmates, I hope they benefit from your lectures too! Never stop teaching, you are born to do it
@adityabhambhani2073 жыл бұрын
sir yours are the only quality programming videos i've come across on youtube......i have learnt a great deal from you and your videos , i have great interest in computers and you have taken it to another level ....
@shawndurbs Жыл бұрын
Wow. I love your teaching. I tested my self on a lot of binary equations both ways and was getting all of them correct. I’m also a total beginner. Thank you.
@aarushrathore41344 жыл бұрын
You are the best python teacher that i,ve ever found!!
@badrisuvarna27054 жыл бұрын
In this lockdown u made me interest to learn the programming sir...thank you very much
@dammalapatibhanu94426 жыл бұрын
31 binary format :11111 o :37 h:1f 52 binary format:110100 o:64 h:34 65 binary format:1000001 o:103 h:41
@gouripeddipawansreekar17524 жыл бұрын
@Omkar Jadhav sir its 101 not 103 ...logic was take the 3 sets 0f digits from the last ...the sets came as 001,000,001 then the octal is 101
@shabalbaig95445 жыл бұрын
I love your videos sir. I'm not even skipping the ads cz it might help
@surojbera4 жыл бұрын
Java guru has now become a Python guru too. Thank you Navin sir.
@sufiyanmogal15272 жыл бұрын
The Quiz Answer is False Because the first condition (15//4 + 12**3)
@shruthiraykar68089 ай бұрын
Best tutor ever ❤ i love watching your videos Here are the answers to assignments - Binary value of 31 is 11111 52 is 110100 65 is 1000001
@sairajdas66926 жыл бұрын
I know all these but I still watch because I love your videos .
@rajkumarrathore65733 жыл бұрын
Wow ago many times.
@sumidasdutta582 Жыл бұрын
Hometask done...bin(31)=0b11111, bin(52)=0b110100, bin(65)0b1000001, the output of x is false as 1731
@shashankshekharsingh93365 жыл бұрын
Respect earned
@THAFUYR4 жыл бұрын
Agreed
@okimeobia4 жыл бұрын
me too....he's good
@cartoons__for__kids_Hindi4 жыл бұрын
Mission Passed Respect+
@-pamarthidhanyateja3 жыл бұрын
according to the BODMAS rule for the given values a=15 b=12 x=(a//4 +b**3) and (b%4!=0) in the above we need to consider in the bracket first after then we need to go for power b**3=1728 a//4=3 a//4+b**3=1731 it is less than 2000 so the bool value is true for this then we need to do for another value which is b%4!=0 b%4=0 it is equal to zero so its false therefore x = True and False x = False.........
@danielkamau84364 жыл бұрын
oooh! thanks a lot tutor for helping continue scoring more as a junior learner in this promising field.
@RozaLinda2816 жыл бұрын
a //4 = 15 // 4 =3 and, b**3 means b power of 3 = 12^3 = 1728 so, (a // 4 + b**3) = 1731 the first condition is true because 1731 < 2000 but the second condition is false because b%4 = 12%4 = 0 so X is false
@ShahidShaikh-lv4wp5 жыл бұрын
x=(a//4+b**3)
@padminikalburagi17834 жыл бұрын
a=15 b=12 X= ( a//4+b**3)
@IDRISSULE-h4l8 ай бұрын
God bless you for giving me a knowledge on python like this. 😊❤
@radhamanohar45406 жыл бұрын
Sir, for octal number you can use "0" instead of "0o" i.e. 0o31==21; 031==25
@abdikarimdhanaane77743 жыл бұрын
right answers on the exercise given by our sir 'Navin'. thank you a lot.
@shankargope2475 Жыл бұрын
That's a wonderful session regarding number system conversion to one from another 👌 a = 15 b = 12 x = (a // 4 + b ** 3) < 2000 and (b % 4 != 0) here b ** 3 = 1728 and a // 4 = 3. So, (a // 4 + b ** 3) = 1731 which is < 2000 --> True b % 4 = 0 remainder so, b % 4 != 0 is False. so output of x is False decimal to binary conversion --> 31 - 0b11111, 52 - 0b110100, 65 - 0b1000001 binary to decimal conversion --> 0b110011010 - 410
@Mahendratammineedi4 жыл бұрын
Way of explination ,look and feel ,command on subject and the output of the video by your team is awesome navin..go on..I am very much thanqful to you
@mounikak38184 жыл бұрын
chala thanks andi meeku me videos chala help avtunay for beginners
@Sareeshoponline Жыл бұрын
Hi Navin, I am a serious fan of you and your videos and the way you teach and finally smartly say 'bye bye'. It's like I am stick with you like glue. Can you please help me to be a python Master.
@shivampanda45524 жыл бұрын
hey man you are doing a great job these kind of classes are really helpful thanks a ton man!
@mitchell_the_great4 жыл бұрын
Yes your videos are too good and helpful for beginners
@yashkhanna26026 жыл бұрын
done the binary conversation. 31=11111 21=10101 52=110100 65=1000001 and 0b110011010=410 and >>> a = 15 >>> b = 12 >>> x = (a//4+b**3)>> x False reason- a//4 will give the value 3 and 12*12*12=1728 so first expression will become 1731 which is less than 2000 i.e. true and the second expression will give the remainder value as 0(because % means to find the remainder) which is false as expression says it is not equal to.So the whole expression becomes false.
@pubgqueen22304 жыл бұрын
Huge Respect for You Sir. I wish if you would be my programming teacher when i was doing engineering. Thanks i have started learning it again. Now. I am at this video.
@dammalapatibhanu94426 жыл бұрын
quiz answer is =False reason : the operation is done based on operator precedence first it evaluates the operations in the braces and checks for the conditions. 31 binary format :11111 o :37 h:1f 52 binary format:110100 o:64 h:34 65 binary format:1000001 o:103 h:41
@SohelRanaAnsari5 жыл бұрын
Ans- False.... Bcz b=12, when divided by 4 reminder is 0. b%4 means reminder value.. but here not 0... Bcz its and case so to be true both should be right.
@GMENavneetPiyushDhal4 жыл бұрын
you have the best python video till now i have seen and ur way of teaching is incredeble thankyou
@vishalghuman62825 жыл бұрын
Binary of 31 :- 0b11111 52:- 0b110100 65:- 0b1000001
@khushijha54743 жыл бұрын
Last qs ans - True Reason - - - Y
@abhilashdevarakonda59916 жыл бұрын
done the binary conversation. 31=11111 21=10101 52=110100 65=1000001 and 0b110011010=410
@jessdee14673 жыл бұрын
What are the correct answers to the homework you gave us? I would like to check my answers. Thank you for this video, it really helped me a lot!
@priyanshkumar172 жыл бұрын
Yo can check by runing the code in IDLE , PyScripter , PyCharm or Sublime Text.
@039_priyanshisharma23 жыл бұрын
best phython course ever ....thank u sir it helps a lot....
@omkardandwate91334 жыл бұрын
first box is true as 1731
@aarjavjain28662 жыл бұрын
sir you are awesome its just great to have you, i have my cs exam the day after tomorrow and I guess its going to be awesome
@ravitejathiruveedhi3654 Жыл бұрын
The ans for that question that u have given is "False"becoz it is (and) operator before the and operator it is True value and after (and) the value is "False" sir
@artokilponen69894 ай бұрын
I like this course, thanks :) For the final question there, the result is false. Others below (ok, didn't read them all) have explained that how boolean system works and have right results, but for the manual logical thinking, I'd say it is a good way to start from "what's useless?" For example, since we have here operator AND, we know that _BOTH_ sides needs to be TRUE, so if even one is FALSE, the whole result is FALSE. Therefor, you can begin to prioritize things. Pick the part that's easiest for you, if you happen to get a FALSE there, the rest is totally irrelevant. So for example, here we can pick the first part. a // 4 is 3 and 12**3 = 12^3 = 1728 and 3 + 1728 = 1731, which is less than 2000, so we have here one part of the AND being a FALSE. And thus the rest is irrelevant, no matter how complex stuff you put there, because FALSE AND absolutely whatever is FALSE. Now yeah, sure, I do encourage you also to understand how to do every single part of this, but for purely the manual solving, try to first consider what's relevant.
@Abhilash_Jose2 жыл бұрын
x=(a//4+b**3)
@madmax10996 жыл бұрын
Answer is true because Condition one is true by bodmas rule and second condition also true so it is true As both statements are then the relavent output is also true
@anushagujjeti50833 жыл бұрын
Int- It is constrained by the amount of memory your system has Float - Which designates a float number where it specifies with decimal point Complex - which includes both real part + imaginary part String - These are the sequence of character data
@niki4425 Жыл бұрын
if you want to convert from one system to another. you can use function for ex: hex(int('1010',2)) in the output: oxa
@anuragchatterjee2416 жыл бұрын
Sir ! The first expression of x will get to true while the second expression will get to false and since both the conditions are connected to a AND gate so both therefore x will be false.
@srikkar6 жыл бұрын
Awesome videos ... not at all feeling bored while learning which we feel usually . The way you are explaining and the graphics behind you are making me focused Thanks.
@xihadityajaiswal87979 ай бұрын
Amazing tutorials Point to point explanation ❤
@mayanegi68396 жыл бұрын
>>> oct(25) '0o31' Sir my question is- what is 25 ? Is it decimal or hexadecimal.
@pronabkumarpal3 жыл бұрын
Basically We don't get any output from the Question Code. But The of x here is False cause here the First condition is False and Second is True.. As We know, in case of *and* 0 1 = 0.. So, The value of x is False absolutely. Love from Bangladesh Sir @Telusko
@viplawganguly32565 жыл бұрын
Thanks for this sir...honestly saying I thought Python is not for me I can't learn ,bcoz I am not from coding background but by your videos I got some confidence ...
@medasbabu3 жыл бұрын
Perfecto, very clear explanation of binary, trying it on a book, really helps in better understanding, thank you reddy garu :)
@rohitreddy14783 жыл бұрын
With out doing LCM Essy way to do decimal to binary Is 25 means ( so... 16 8 4 2 1) from back 16+8+1 is 25 in place 16,8,1 keep 1 in rest of the values or 0's so ans is 11001
@sagarthoke24724 жыл бұрын
Respect+love= best learning== Navin Sir😘😘😘
@sajalgpt83 жыл бұрын
And to Quiz Ques: output will be False since x is
@SwapnadeepMukherjee3 жыл бұрын
Q: Guess the output. A: Answer with reason: a//4=3, as it is Floor division. b**3 = 12*12*12 = 1728, as it is Pow operation. So, the first clause gives this: 1731 < 2000. Hence, it is True. b%4 = 0 as it's the remainder. So, the second clause gives this: b%4 ==0. Hence, it is False. So, since it's And operation. Hence, (True and False) is False. Hence, x = False.
@lovemusic69944 жыл бұрын
By substituting a and b values we get (15//4+12**3)
@pranavbajaj40342 жыл бұрын
Wait the sign is != It means it is true
@rajkumarrathore65733 жыл бұрын
bin(31) '0b11111' bin(52) '0b110100' bin(65) '0b1000001' super sir now i learn how to convert bin to deci ,oct,hexa,...thank you so much
@mgopadabss4 жыл бұрын
Ans is False Becoz its an 'and' opertion it means if both cond's were true then Only true. Here last condn is false so ans is false.Good Explaination Sir.
@arpitak1121 Жыл бұрын
sir its using ip conversion formula to convert in binary form 00000000 . means 128 64 32 16 8 4 2 0 it is easy to understand
@poojainamdar16145 жыл бұрын
Thank you so much sir.... I used to think coding is not cup of my tea.... But after studying from your tutorials I find coding now interesting, and now I am able to develop logic 🙂
@goutamvohra34425 жыл бұрын
a=15 >>> b=12 >>> x=(a//4+b**3)>> x False >>> because b remainder is not equal to 0
@pulkitarora83413 жыл бұрын
Quiz answer is : False because of the [and operator] as left hand side is true and correct but the other side is False (T and F )== F
@jimmymesa5 жыл бұрын
Very entertaining! Guess the output. a = 15 b = 12 (a // 4 + b**3) < 2000 and (b % 4 != 0) Output: False Reason: b % 4 != 0 is False. (x1 and x2) is True only if x1 and x2 both are True. Therefore False.
@bosnianphantom480 Жыл бұрын
7:15 or you can write power versions of number 2 above each and every digit like I do, for example you have 1101 and you can write, 1, 2, 4, 8 above those digits
@prathapkgprathu8808 Жыл бұрын
Its possible to convert floating value to binary?? for example 23.5 to binary???
@parwaagrawal3 жыл бұрын
@Telusko , Navin sir your videos are Just amazing , Hats off to you sir 🙏🏻
@dammalapatibhanu94426 жыл бұрын
quiz answer is =False reason : the operation is done based on operator precedence first it evaluates the operations in the braces and checks for the conditions.
@Ajaysaini0812 жыл бұрын
a,b =15,12 x = (a//4 + b**3)
@krishnakumarkashaudhan5913 жыл бұрын
These questions answer is false because In and operator both condition is true then it printed true but there are one problem which is 12%4=0 so (0!=0) this is wrong so it print false............ And your teaching capabilities is too good...... Thank you sir
@deepaksinghthakur2836 жыл бұрын
x=(3+1728)
@jaikishankumarmore14575 жыл бұрын
Logical operators are short circuit (short hand) logical operators. In case of logical and, if the first operand is False then it doesn't compute the second operand(and it makes sense) and result to be False. similarly in case of logical or, if the first operand is True then it don't need to compute the second and can say the result to be True.
@Rohan-cw9gn3 жыл бұрын
Instead of giving money to the useless university teachers we should give that money to this youtubers what a superb teaching yaar loving it
@sowjanyakumargonnabattula90722 жыл бұрын
Sir Output is True because both the condition is satisfying as True and True = True. Sir let me know whether my answer is correct or wrong
@sufiyanmogal15272 жыл бұрын
Final answer False ha bhai kyuki 2 one 12 % 4 ka remainder 0 ayya ha aur dono equal ha so answer false ha
@sufiyanmogal15272 жыл бұрын
The Quiz Answer is False Because the first condition (15//4 + 12**3)
@sowjanyakumargonnabattula90722 жыл бұрын
@@sufiyanmogal1527 got it sir tq sir
@uddeshdharmik81684 жыл бұрын
Etna achha koi kese padha sakta hai yrr😱🤔
@saurabhkonpratiwar8065 жыл бұрын
before and condition true & after and condition false so true =1 and false= 0 1*0=0 0 means answer:-false
@aayushthakkar83163 жыл бұрын
Answer : The output would be false as b%4 = 0 thus b% != 0 would be and in logical operator and both statements need to be correct for output to be true.
@jayalakshmic56839 ай бұрын
Binary Format of 1) 31 = '0b11111' 2) 52 = '0b110100' 3) 65 = '0b1000001' Decimal of ''0b1000001'' = 410
@shaahidhabanu48695 жыл бұрын
Really helpful and can understand well. Good job telusko