Friday, 8 May 2015

Q 35,paper 2,june 12..If an integer needs two bytes of storage, then the maximum value of a signed integer is


Options (A) 216– 1 (B) 215– 1 (C) 216 (D) 2
Answer (B) 215– 1. Explanation. One bit is reserved for sign hence in rest of 15 bits maximum 215– 1 can be stored.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.