 # Computer Science Problems

## Question

1.    How many milliseconds (ms) are in one second?   _________
2.    How many microseconds (us) are in one second? _________
3. How many bytes are in 20 megabytes? _________
4. Convert the number below from a binary number to a hexadecimal number.
1 0 0 1 1 0 1 0 1 1 0 1 1 . 0 1 1 1 1
5.    Convert the number below from a binary number to a decimal number.
1 0 0 0 0 0 0 0 1 1 0 . 0 1 1
6.    Convert the hexadecimal number below to a binary number.
8 9 A. 0 C
7. What is the decimal equivalent of the IEEE 754 binary floating point number shown below?
0 1000 0001 0110 0000 0000 0000 0000 000

For problems 8, 9 and 10, convert the following decimal numbers into 8 bit binary numbers as required for 2's complement math, and perform the indicated operations. Circle or bold your binary answer and show your work.

Notes:
Remember that positive numbers are represented in sign-magnitude format in 2's complement math

8.
+38
+30
=

9.
+38
- 30
=

10.
- 38
+30
=

Discussion questions:

Part I - Number Conversions
Pick the amount from one of the checks in your checkbook.
1) Convert the decimal number into a binary number with three places to the right of the binary point.
2) Convert the binary number into a hexadecimal number.
3) Convert the binary number to a floating-point number using the IEEE -754 Floating-Point Standard

Part II - Adding Binary Numbers
Select two decimal numbers between -60 and +60. One should be positive and the other should be negative.
Convert the numbers into 8-bit unsigned numbers with negative numbers in the 2’s complement form. (Remember that positive numbers have the leftmost bit =0 and negative numbers have the leftmost bit =1).
Add the two numbers together to generate an eight-bit binary result. Show your work.

Part III
If a computer is capable only of manipulating and storing integers, what difficulties present themselves? How are these difficulties overcome.

## Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

\$25.00 for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

### Find A Tutor

View available Computer Science - Other Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.