Homework 1 consists of the following problems: Answer the following questions.
- Answer the following questions:
- Convert 3.7 seconds into milliseconds
- How many nanoseconds are in 3 microseconds?
- How many megabytes (MB) are in 1.3 gigabytes (GB)?
- In the von Neumann model, explain the purpose of the:
- processing unit
- program counter
- Briefly explain the three main types of Cloud computing platforms.
- Convert the following decimal values to unsigned binary representation.
- 3125
- 0
- 0
- 5625
- 2
- Convert the following unsigned binary numbers to decimal representation.
- 110
- 101
- 0111
ECE 5484 Spring 2020 1 Homework 1 Homework 1 VIRGINIA TECH ECE 5484 SUMMER 2020
- 11111111
- 01
- Suppose a computer uses radix-3 (ternary) logic instead of radix-2 (binary) logic to represent unsigned integers.
- What is the radix-3 representation of the decimal value 37?
- What is the largest value that can be represented by 6 digits?
- Why do you think that binary logic is much more commonly used than ternary logic? Be brief.
- Convert the hexadecimal number FEED A BEE to binary.
- Represent each of the following decimal numbers in binary using 8-bit signed magnitude, ones complement, twos complement, and excess-127 representations:
- 35
- -35
- 97
- -97
- If the floating-point number representation on a certain system has a sign bit, a 4-bit exponent and a 5-bit significand:
- What is the largest positive and the smallest positive number that can be stored on this system if the storage is normalized? (Assume no bits are implied, there is no biasing, exponents use twos complement notation, and exponents of all zeros and all ones are allowed.)
- What bias should be used in the exponent if we prefer all exponents to be non-negative? Why would you choose this bias?
- Answer the following questions about character encoding.
- The ASCII code for the letter E is 1000101, and the ASCII code for the letter e is 1100101. Given that the ASCII code for the letter M is 1001101, without looking at Table 2.7, what is the ASCII code for the letter m?
- The EBCDIC code for the letter E is 11000101, and the EBCDIC code for the letter e is 1000 0101. Given that the EBCDIC code for the letter M is 1101 0100, without looking at Table 2.7, what is the EBCDIC code for the letter m?
Reviews
There are no reviews yet.