Computer science- calculation/conversion problems.

AI Thread Summary
The discussion focuses on calculating the actual values of variables from their hexadecimal memory representations in a computer science context. For the variable "float b;" with a memory location of "8311 0000" in hexadecimal, the conversion requires understanding the IEEE 754 floating-point format. The variable "char c:" with a memory location of "65" in hexadecimal corresponds to the ASCII value of the character 'A', which is 65 in decimal. Participants express uncertainty about the conversion process, seeking guidance and resources for assistance. The conversation highlights the importance of understanding computer numbering formats for midterm preparation.
clook
Messages
32
Reaction score
0
13.) assume that a the content of the memory location for a variable declared as "float b;" is "8311 0000" in hexadecimal. What is the actual value of b?

14.) assume that the content of the memory location for a variable declared as "char c:" is "65" in hexadecimal. What is the actual value of c?



this is the only thing i don't know how to do for tomorrow's midterm (this is an intro class)

yeah, they're probably easy, but i don't know where to start some guidance would be appreciated. :-p
 
Physics news on Phys.org
Back
Top