Consider the following table You input the given the values

Consider the following table. You input the given the values of variable y where y is of type signed smallchar. What true decimal values will the PIC assign to these numbers? What are the binary values of these numbers? Consider the following table. You input the given values of variable z where z is of type signed smallchar. What decimal values will the PIC assign to these numbers?

Solution

5. Consider the following table. You input the given values of variable y where y is of type
signed smallchar. What true decimal values will the PIC assign to these numbers?
What are the binary values of these numbers?
signed smallchar y =       Binary       True decimal
   200               (11)001000           8
   -100               (10)011100           28
   -10               (11)110110           -10
     
6. Consider the following table. You input the given values of variable z where z is of type
signed smallchar. What decimal values will the PIC assign to these numbers?
signed smallchar z =       True decimal     
   0b10 1001                   -23
   0b11 0010                   -14
   0b10 0110                   -26

 Consider the following table. You input the given the values of variable y where y is of type signed smallchar. What true decimal values will the PIC assign to

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site