





































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






































Introduction to Programming
Lecture 22 Review
Bit wise Manipulation and Assignment Operator
Bit Manipulation Operators
&= Bitwise AND Assignment Operator |= Bitwise OR Assignment Operator ^= Bitwise Exclusive OR Assignment Operator
Assignment Operator
a &= b ; Same as a = a & b ;
Assignment Operator
a ^= b ; Same as a = a ^ b ;
Design Recipes Analyze a problem statement, typically expressed as a word problem Express its essence, abstractly and with examples Formulate statements and comments in a precise language Evaluate and revise the activities in the light of checks and tests. PAY ATTENTION TO DETAIL Docsity.com
Symbolic Names
x i BasicPay HouseRent
Data types
Whole numbers:
Arrays Collection of same data types
Modulus Operator
a % b ; 7 % 2 = 1 ; 100 % 20 = 0 ;
Compound Arithmetic Operators
+= -= *= /= %=
Comparison Operators
a < b ; a <= b ; a == b ; a >= b ; a > b ; Docsity.com