CSC 3501 Chapter : Quiz1

30 views1 pages
15 Mar 2019
School
Course
Professor

Document Summary

Some numbers you may want to use: 25=32, 26=64, 27=128, 28=256: assuming that the number of bits is 8, find the unsinged integer for. In other words, what will be the output of the c code below? printf("%u\n", (unsigned char)0x82); Answer: __________: assuming that the number of bits is 8, find the two"s-complement integer for 0x81. In other words, what will be the output of the c code below? printf("%d\n", (char)0x81); Answer: __________: assuming that the number of bits is 32, find the bit pattern in hexadecimal for the minimum two"s-complement number. In other words, what will be the output of the c code below? printf("0x%x\n", int_min);

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents