Binary arithmetic, Operating System

The principle is that of ordinary addition; however remember the highest number is 1.
 
Calculate the following:
 
                          11001 +
                          11010
 
Answer:
                            11001 +
                            11010
                            110011
 
Subtraction of binary is difficult, however uses 2 compliment it is easier.

Calculate the following:
 
                110011-
                11010
Answer:
 
Step One: Invert 11010 and add 1
 
        11010 -> 00101 + 1 = 00110
 
Step two: Replace -11010 with 00110 and add
 
            110011+
             00110
 
Step three: Remove msb         = 110012

Posted Date: 4/15/2013 5:19:07 AM | Location : United States







Related Discussions:- Binary arithmetic, Assignment Help, Ask Question on Binary arithmetic, Get Answer, Expert's Help, Binary arithmetic Discussions

Write discussion on Binary arithmetic
Your posts are moderated
Related Questions
Q. In a ring-protection system the level 0 has the greatest access to objects and level n (greater than zero) has fewer access rights. The access rights of a program at a partic

___paging fecthces a page only when needed


What is meant by arm-stickiness? If one or a few processes have a high access rate to data on single track of a storage disk, then they might be monopolizing the device by repe

What criteria are important in choosing a file organisation?

What is an acyclic graph? A tree that has been corrupted by links to other branches, but does not have any cyclic paths in it.

Question: (a) Describe blocking and non-blocking types of inter-process communication. What is easier to implement and why? Discuss their relative advantages and disadvantage


What is a file? A named collection of related data explained by the creator, recorded on secondary storage.

VARIABLE PARTITIONING We can differ the partitions and change the location according to the size of the process.   50k 40k