Question: 1.) If a has the value 23, what is the value of b after the following statement is executed? (Write your answer as a decimal

1.) If a has the value 23, what is the value of b after the following statement is executed? (Write your answer as a decimal number.) b = (a++) / 4;

2.)If a has the value 13, and b has the value 31, what is the value of the following expression? (Write your answer as a decimal number.) b % a >> 1

3.)If a has the value 563, b has the value 179, and c has the value 76, what is the value of the following expression? (Write your answer as a decimal number.) a & b + c

4.)What is the value of x after the following statements are executed? Write your answer as a hexadecimal number. a = 0xdeadbeef; x = a ^ 0x0ff000ff;

5.)What is the value of x after the following statements are executed? Write your answer as a hexadecimal number. a = 0xdeadbeef; x = a & 0x0ff000ff;

Can you please solve and explain.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!