Title | Tech 63 - HW 1 - Lab |
---|---|
Author | Fernando Gamboa |
Course | Analog and Digital Circuits |
Institution | San José State University |
Pages | 2 |
File Size | 59.8 KB |
File Type | |
Total Downloads | 54 |
Total Views | 129 |
Lab...
Homework 1 1. How many clock cycles is required to transfer 8 bits in: a. Serial b. Parallel 2. The following table shows the output of a gate in different cases. What is the name of the gate? Inputs 0 0 1 1
-
0 1 0 1
Output 0 0 0 1
AND gate
3. A basic 3-input logic circuit has a LOW on one input and a HIGH on the other two inputs, and the output is HIGH. What type of logic circuit is it? - OR gate 4. Convert the binary number 101101 to decimal. - 45 5. Convert each decimal number to binary by using the sum-of-weights method: a. 18 10010 b. 0.26 0.0100001 6. Convert each decimal number to binary using repeated division by 2: a. 22. 10110 b. 0.76 0.1100001 7. Determine the 1’s and 2’s complement of 110010 - 001110
8. Express each decimal number in binary as an 8-bit sign-magnitude number: a. +29
00011101
b. -38
10100110
9. Express each decimal number as an 8-bit number in the 2’s complement form:
a. +45
11010011
b. -34
11011110
10. Determine the decimal value of each signed binary number in the following three cases: if they are in sign-magnitude, 1’s complement, and 2’s complement. a. 011010 -
Sign-mag 111010
-
1’s
100101
-
2’s
100110
b. 101001 -
Sign-mag 001001
-
1’s
010110
-
2’s
010111...