<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:

Step-by-step explanation:
Factor
out of 
For the second problem the answer D, -9, -11
Ashley starts with 45 comics.
So in the first box:
x = 0, y = 45
-------------------------------------------------------------------------------------------------------
Each month, she adds 5 comic books to her collection
x (+1), y (+5) (for each month).
First month.
x = 0
y = 45
Second month
x = 1
y = 45 (+5) = 50
Third month
x = 2
y = 50 (+5) = 55
etc.
-------------------------------------------------------------------------------------------------------
B) is your best choice, as for every month add (+1), the comic books increase by 5 respectively.
-------------------------------------------------------------------------------------------------------
hope this helps