Skip to main content

Microcontrollers

Exercises 14.10 Practice Problems

In questions 1-6, indicate the most efficient integer datatype to store the following variables.
In questions 7-13, calculate the result of the following operations.
In questions 14-16, calculate the value of a after the following operations.
In questions 19-22, calculate the result of the following operations.
In questions 23-27, calculate the final value of each variable after the compound operation has been executed.
In questions 28-30, determine the final value of the variable x after the loop has been executed (assume in each question that the variable x can be accessed immediately after the loop has finished executing).