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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!