Introduction to Embedded Systems :: CSCI 255
Lab Assignments
Lab 1
-- Conversions & Logic Ops


HOME        SYLLABUS        HOMEWORK        LABS       LINKS        NOTES



















 

 










 




 

 

 





 

 

 




 





 

 

 

 

 

 

 

 


 


 

 

 

 

 

 

 

 

 

 

 

 

 



 

 


 

 

 

 

 



 

 

 

 









Due:  End of Lab Session (9.9.2013)

Requirement:  Must work individually, no group work and always SHOW YOUR WORK



Problem 1: Convert these binary values to decimal and hexadecimal

Binary

Decimal

Hexadecimal

1010100

 

10111000

111010

100101

10101



 



Problem 2: Convert these decimal values to hexadecimal

Decimal

Hexadecimal

92

 

899

 

586

 

3600

 

2010

 

 

 

 

 

 

 

 

 

 

 

 

Problem 3: Convert these binary values to octal

Binary

Octal

1010100

 

1000010

 

1110000

 

10111000

 

10101

 



 

 

 

 

 



 

 

Problem 4: Convert these decimal values to octal

Decimal

Octal

73

 

671

 

8799

 

210

 

1022

 


Problem 5: Perform the following logical operations

 

1 0 1 0 1 1 1 1
1 1 1 0 1 0 1 0      (NAND)
--------------------


 

1 0 1 0 1 1 0 1
1 0 1 0 1 1 1 1      (OR)
--------------------


 

1 0 1 0 1 0 1 1
1 1 0 0 1 0 1 1      (XOR)
--------------------


 

1 0 1 1 1 0 0 1
1 1 1 0 1 0 1 1      (NOR)
--------------------


 

1 0 1 0 1 1 0 0
1 0 1 0 1 1 1 1      (AND)
--------------------


 

1 0 1 0 0 0 1 1
0 1 1 0 1 0 0 1      (XOR)
--------------------


 

1 0 0 1 1 0 1 1
0 1 1 0 0 0 1 1      (NOR)
--------------------


 

0 0 1 0 1 1 0 1
1 1 1 0 1 0 1 1      (NAND)
----------------------



Problem 6: Convert these octal values to decimal

Octal

Decimal

73

 

671

 

40

 

210

 

1022

 


Problem 7: Convert these hexadecimal values to decimal

Hexadecimal

Decimal

E3

 

5A4

 

F9C

 

30

 

BB

 



 

 




 


Montana Tech -- College of Letters, Science & Professional Studies -- Computer Science Department
All Rights Reserved and Copyright © 2013 by Damian Valles