Reference no: EM133140275
Practical
Goal
The main purpose of this third practical is to give you familiarity with different number systems.
Part 1 - Number Conversions
Question 1. Convert the following binary numbers to decimal, octal and hexadecimal.
1011112 = ............................. 10 = ................................ 8 = ................................. 16
010111012 = ............................. 10 = ................................ 8 = ................................. 16
111111112 = ............................. 10 = ................................ 8 = ................................. 16
Question 2. Convert the following decimal numbers to binary using the "Comparison with descending powers of two and subtraction" approach.
1410 = .................................................. ........................................ 2
4310 = ................................................ ........................................ 2
8810 = ................................................ ........................................ 2
Question 3. Convert the following decimal numbers to binary using the "Short division by two with remainder" approach.
19610 = ............................. 2
25810 = ............................. 2
36910 = ............................. 2
Question 4. Convert the following octal numbers to binary.
318 = ............................. 2
4678 = ............................. 2
11518 = ............................. 2
Question 5. Convert the following hexadecimal numbers to binary.
B16 = 2
4E16 = 2
f80c16 = 2
Part 2 - Binary Operations and Representations
Question 1. Evaluate the following bitwise logical operations.
NOT 10101100 = ..............................
10111100 AND 11010101 = ..............................
01010110 OR 10010010 = ..............................
10101101 XOR 01110100 = ..............................
Question 2. Convert the following decimal numbers to their 8-bit 2s complement binary representation.
-1410 = ............................. 2
4310 = ............................. 2
-8810 = ............................. 2
-11110 = ............................. 2
Question 3. Convert the following 8-bit 2s complement numbers to their decimal equivalent.
111010102 = 10
110100012 =
10
010010102 =
10
111001002 =
10
Attachment:- Practical.rar
How much is the capital balance of mariah at the end
: Assuming there is an implied undervaluation or overvaluation of an asset, how much is the capital balance of Mariah at the end of the year
|
Write permission for a directory
: The main purpose of this fourth practical is to give you familiarity with UNIX file permissions - when you want to set permissions explicitly, without worrying
|
Develop a single-step income statement
: Currently she has $500.00 in accounts receivable and $1,200.00 in accounts payable. Develop a single-step income statement
|
How many cups of regular coffee and lattes must rio sell
: The monthly fixed costs at Rio are $8,662. How many cups of regular coffee and lattes must Rio sell every month to break even
|
Evaluate the bitwise logical operations
: Evaluate the bitwise logical operations - Convert the 8-bit 2s complement numbers to their decimal equivalent
|
Prepare the entries on the dates listed
: Maker paid $12,000 to purchase a call option to buy 1 million FCU at a strike price of $0.255 expiring end of year. Prepare the entries on the dates listed
|
Who got the highest cash distribution
: A, B, G and J are partners with capitals of P11,000; P10,300; P13,700 and P9,000 respectively. Who got the highest cash distribution
|
How much revenue would be allocated to the tv
: The entire package points sells for $2,600. How much revenue would be allocated to the TV, the remote, and the installation service
|
General-purpose UNIX commands
: Create two subdirectories called testdir1 and testdir2 using a single command line. Use ls to check their existence
|