Question
q 1 Computer memory is typically organized as an array of half bytes, each containing one hex digit. True False q 2 A pointer in
q 1 Computer memory is typically organized as an array of half bytes, each containing one hex digit.
True
False
q 2
A pointer in C is a variable that contains the address of a memory bit.
True
False
q 3
Assume the memory word of a processor has two bytes. Then the two's complement representation of -1 is 0xFFFF.
True
False
q 4
Before executing a program, the operating system has to load it into the CPU.
True
False
q 5
The address of a C variable b is always given by *b, regardless of the type of b.
True
False
q 6
The largest positive number that can be represnted by a C variable of type short is 65,535.
True
False
q 7
Assume the memory word in a processor has 2 bytes and that the byte ordering is little endian. A program places the hex number 0xABCD at word address 0x100. Then AB goes in address 0x100 and CD goes in address 0x101.
True
False
q 8
The smallest negative number of type int that can be represented in a 32-bit processor has the hex value 0x80_00_00_00.
True
False
q 9
If c is a variable of type char, whose value is -128, then the value of (unsigned char) c is 127.
True
False
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started