Title | : | #15 Python Tutorial for Beginners | Python BitWise Operators |
Duration | : | 12:42 |
Viewed | : | 1,118,126 |
Published | : | 07-07-2018 |
Source | : | Youtube |
Check out our courses: Spring and Microservices Weekend Live Batch : https://bit.ly/spring-live-weekend Coupon: TELUSKO10 (10% Discount) Master Java Spring Development : https://bit.ly/java-spring-cloud Udemy Courses: Java:- https://bit.ly/JavaUdemyTelusko Spring:- https://bit.ly/SpringUdemyTelusko Java For Programmers:- https://bit.ly/javaProgrammers For More Queries WhatsApp or Call on : +919008963671 website : https://courses.telusko.com/ Instagram : https://www.instagram.com/navinreddyofficial/ Linkedin : https://in.linkedin.com/in/navinreddy20 TELUSKO Android App : https://bit.ly/TeluskoApp In this lecture we will learn: - What are Bitwise operators in Python? - Different types of bitwise operators - How operations performed on bits - Implementation of bitwise operations #1 - In bitwise operations, the integers are first converted into binary and then operations are performed by bitwise operators on each bit or corresponding pair of bits. - The result is returned in decimal format by the bitwise operators. - There are six types of binary operators:- 1. Complement (~) 2. And (&) 3. Or (|) 4. XOR (^) 5. Left Shift 6. Right Shift #2 - Complement operator is also known as tilde(~) operator. - Complement simply do the reverse of binary form. If a bit is 0 then it makes it 1 and vice-versa. - Reverse of each bit of a number returns the 1's complement. - We can store only positive numbers in our system and that's why we find the 2's complement of each negative number. 2's complement = 1's complement +1 #3 -AND operator will return true if both the conditions are true while the OR operator will return true if at least one condition is true. #4 - XOR operator will return 1 or true when there is an odd number of 1 bit present in operations and if there is an even number of 1, then it will return 0. #5 - Leftshift operator shift bits on the left-hand side. The right-shift operator shifts bits on the right-hand side. - Leftshift add the bits while the right-side removes the bits. Github :- https://github.com/navinreddy20/Python- Python for Beginners :- http://bit.ly/3JOLQhl Java:- https://bit.ly/JavaUdemyTelusko Spring:- https://bit.ly/SpringUdemyTelusko More Learning : Java :- https://bit.ly/3x6rr0N Python :- https://bit.ly/3GRc7JX Django :- https://bit.ly/3MmoJK6 JavaScript :- https://bit.ly/3tiAlHo Node JS :- https://bit.ly/3GT4liq Rest Api :-https://bit.ly/3MjhZwt Servlet :- https://bit.ly/3Q7eA7k Spring Framework :- https://bit.ly/3xi7buh Design Patterns in Java :- https://bit.ly/3MocXiq Docker :- https://bit.ly/3xjWzLA Blockchain Tutorial :- https://bit.ly/3NSbOkc Corda Tutorial:- https://bit.ly/3thbUKa Hyperledger Fabric :- https://bit.ly/38RZCRB NoSQL Tutorial :- https://bit.ly/3aJpRuc Mysql Tutorial :- https://bit.ly/3thpr4L Data Structures using Java :- https://bit.ly/3MuJa7S Git Tutorial :- https://bit.ly/3NXyCPu Donation: PayPal Id : navinreddy20 https://www.telusko.com
![]() |
#16 Python Tutorial for Beginners | Import Math... 07:39 - 1,032,057 |
![]() |
Bitwise Operators and WHY we use them 08:41 - 64,806 |
![]() |
How I Robbed The 2024 Steam Summer Sale - Steam... 10:37 - 1,341,359 |
![]() |
Lecture 1: Introduction to CS and Programming U... 03:30 - 502,001 |
![]() |
#11 Python Tutorial for Beginners | Operators i... 11:07 - 1,265,730 |
![]() |
Python 101: Learn the 5 Must-Know Concepts 20:00 - 1,116,780 |
![]() |
#19 Python Tutorial for Beginners | If Elif Els... 15:38 - 1,330,513 |
![]() |
Solve any Star Pattern program in Python 18:44 - 867,841 |