CISC2305 Worksheet #1 w/ Answers

1. Define the following terms:

A)     bit: A binary digit.
 

B)    byte: 8 bits


C)    nibble: 4 bits
 

2. Regarding computer architecture, name 3 different ways you might you use to describe the state that a bit may be in?

A) true and false

B) 1 and 0

C) +5volts and Grounded, also set and unset

3.Concerning the characteristics of Main Storage. Answer the following questions as "True" or "False".

a) The Hard-Drive's storage is volatile. __FALSE__
b) The Hard-Drive's storage costs more per/MegaBytes than main-memory. __FALSE__
c) Main-memory has a slower access time than the Hard-Drive._FALSE_
d) Main-Memory's storage is volatile. _TRUE_

4.What do these abbreviations stand for:

KB __KiloByte__ kb __KiloBit__

MB __MegaByte__ GB __GigaByte_


5. Do the base two addition:

   1 0 1
+ 1 0 1
=========
1 0 1 0

6. Do the base two subtraction:

  1 1 0 1
- 0 1 1 0
============
 0 1 1 1

7. Do the base two addition:

   0 1 1 1
+ 1 0 0 1
=============
1 0 0 0 0

8) Convert 0 0 1 1 1 0 1 (base 2) to base 10.


29

9. Do the base two subtraction:

  1 0 1 1 0 1 0 1
- 0 0 0 1 1 0 0 0
==================
 1 0 0 1 1 1 0 1

10. Do the base two addition:

   1 0 1 1 0 1 1 1
+ 0 0 1 0 1 0 0 1
=================
  1 1 1 0 0 0 0 0

11) Convert 0 0 1 0 1 0 0 1 (base 2) to base 10.


41

 

12) Convert the the following base two number to base 16 using column grouping ( 1 0 1 0 1 1 0 1).

8 4 2 1       8 4 2 1
= = = =     = = = =
1 0 1 0     1 1 0 1

    10       13   = "A D" in base 16

 

13) Convert the 19 (base 10) to base 8.

 

16 8 4 2 1
== = = = =
  1 0 0 1 1

   Is 19 in base 10.

Grouping by 3's we get...

4 2 1       4 2 1
= = =     = = =
0 1 0      0 1 1

    2          3   =   "23" in base 8

 

14) Convert the 19 (base 10) to base 16.

16 8 4 2 1
== = = = =
  1 0 0 1 1

   Is 19 in base 10.

Grouping by 4's we get...

8 4 2 1       8 4 2 1
= = = =     = = = =
0 0 0 1      0 0 1 1

    1             3   =   "1 3" in base 16

 

15. What kind of logic gate is represented by this symbol?

and an AND gate.

Complete the truth table for the above logic gate:

 A  | B  | C
========
 1  |  1  |   1
 1  |  0  |   0
 0  |  1  |   0
 0  |  0  |   0

16. What kind of logic gate is represented by this symbol?

or an OR gate.

Complete the truth table for the above logic gate:

 A  | B  | C
========
 1  |  1  |   1
 1  |  0  |   1
 0  |  1  |   1
 0  |  0  |   0

17. What kind of logic gate is represented by this symbol?

nand an NAND gate.

Complete the truth table for the above logic gate:

 A  | B  | C
========
 1  |  1  |   0
 1  |  0  |   1
 0  |  1  |   1
 0  |  0  |   1

18. What kind of logic gate is represented by this symbol?

nor an NOR gate.

Complete the truth table for the above logic gate:

 A  | B  | C
========
 1  |  1  |   0
 1  |  0  |   0
 0  |  1  |   0
 0  |  0  |   1

19. What kind of logic gate is represented by this symbol?

xor an XOR gate.

Complete the truth table for the above logic gate:

 A  | B  | C
========
 1  |  1  |   0
 1  |  0  |   1
 0  |  1  |   1
 0  |  0  |   0

20. What kind of logic gate is represented by this symbol?

not an NOT gate, also called an inverter.

Complete the truth table for the above logic gate:

 A  | C
========
 1  |   0
 0  |   1

21. Perform an AND operation on these two number:

1 0 1 1 0 1 0 1
0 0 0 1 1 0 0 0
================
0 0 0 1 0 0 0 0

22. Perform an OR operation on these two number:

1 0 1 1 0 1 0 1
0 0 0 1 1 0 0 0
================
1 0 1 1 1 1 0 1