Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

QUESTION NO 01 

A.Encode the following decimal fractional value to binary floating-point notation using the


8-bit floating point format. 

 -3.5 

In binary form 
11.1
 
In mantissa field  
.1110  point move to right side

Exponent
-2 = 110
 
s e e e m m m m
1 1 1 0 1 1 1 0
 
B.Decode the following 8-bit floating point binary value to decimal fractions value. 

 00101100
 
Sign bit 
0

Exponent 
010 =   2 

Mantissa 
1100 
 
Questions No 02
 
 Perform the binary addition on the following decimal numbers: 

   46 3/ 8 and 92 7/8


 
46(3/8) = 46.375 = 101110.011 
92(7/8) = 92.875 = 1011100.111 

ADD 
      101110.011 
+  1011100.111                                         
              10001011.010  
 
Questions No. 03
 
The logical operations (AND, OR, NOT, and XOR etc.) discussed in the video lessons can
be combined to perform some specific operations. Two such operations (circuits) are
depicted in the first column “Circuits” of the following table. You are required to
determine the output of each of the following circuits for the input values given in column 2
and column 3. 

              
              
             What would be the What would be the
            Circuits  output when the upper output
input is 1 and the lower when upper input is 0
input is 0?  and the lower input is
1? 

  
   
 
 

INPUTS            0          0 
OUTPUTS

          
 

 
         0 
      1 
INPUTS OUTPUTS

                                                                        

You might also like