<span>Int var1 = 0b0001;
int var2 = 0b1111;
int results1 = var1 & var2;
int results2 = var1 | var2;
int results3 = var1 ^ var2;
int printit = results1 + results2 + results3;
what are the values for results1, results2, results3 and printit after executing the code?
notes:
1. faster responses will be obtained if your code is presented line by line (in a file) before posting.
2. please specify language, many languages use the same syntax but could have differences in interpretation
-------------------------------------------------------------------------------
Assuming Java as the language. C is similar.
</span><span><span>& bitwise AND &
^ </span><span>bitwise exclusive OR
</span><span>| bitwise inclusive OR
So
results1=var1&var2=0b0001&0b1111=0b0001
results2=var1|var2=0b0001&0b1111=0b1111
results3=var1^var2=0b0001&0b1111=0b1110
printit=results1+results2+results3=0b0001+0b1111+0b1110
=0b10000+0b1110
=0b11110
Note: by default, int has 4 signed bytes, ranging from decimal -2147483648 to +2147483647
</span></span>
Answer: Annie needs 13 quarts of coffee
Step-by-step explanation:
Answer:
d = 7h +5
Step-by-step explanation
If you go to K-12 then this is the right answer I just took the quiz.
20%
A change from 65 to 78 represents a positive change (increase) of 20%
Use the formula found below to find the percent change by replacing the given values:
Percent change = [(New - Old ) / |Old|] x 100%
Answer: 7
Step-by-step explanation:
denotes the intersection of A and C, or in other words, how many elements are shared between them.
The number of elements is 2 + 5 = 7