The University of the West Indies Department of Computing and Information Technology COMP 1600 – Computing Concepts Assignment 1 Date given: 27th September 2021 Deadline: 8th October 2021, midnight....

1 answer below »
See attachment


The University of the West Indies Department of Computing and Information Technology COMP 1600 – Computing Concepts Assignment 1 Date given: 27th September 2021 Deadline: 8th October 2021, midnight. Total: 50 marks Instructions: This assignment is to be done individually. There are steep penalties for plagiarism at the university. Type all answers clearly in a Word document, numbering questions appropriately. Name your word document as follows , an example is <8341234343_comp1600_assign1.docx>. Omit brackets in the filename. Failure to name your document correctly can result in your assignment not being identified. Submit this Word document using the TurnItIn link on myElearning, before the deadline. Late assignments will NOT be accepted. 1. a. What is the binary representation of 18 ?Show all working.[2 marks] b. How many different bit patterns can be formed if each must consist of exactly 16 bits?[1 mark] c. What is the representable range of numbers for the following number representations using 8 bits? i. Sign and Magnitude [1 mark] ii. Two’s Complement[1 mark] d. Perform the following additions and state which results in an overflow when using 8-bit Two’s Complement arithmetic: i. 0100 0000 + 0100 0000[2 marks] ii. -64 – 64[2 marks] e. What is the problem in performing the following arithmetic using 8-bit Two’s complement’s representation: 135 – 10?[2 marks] 2. Write down the truth table for the circuit shown below: [6 marks] 3. Assume a 13-bit floating point system: a sign bit, followed by a 5-bit biased exponent and a 7-bit normalized significand with implied bit, in each of the following: a. Consider the 13-bit floating point representation: 1 01011 1001000 i. Write down the sign, the biased exponent and significand field. [1 mark] ii. What is the 5-bit bias?[1 mark] iii. Write down the actual exponent in decimal.[1 mark] iv. What binary value is represented?[2 marks] v. What fractional value is represented? [2 marks] b. Write down the 13-bit representation of the largest negative number. [1 mark] c. Write down the 13-bit representation of the smallest positive number. [1 mark] d. How many different numbers can be represented using the 13-bit floating point system?[1 mark] e. What are the ranges represented using the 13-bit floating point system? [2 marks] 4. a. Determine the 13-bit representation 24.47. [4 marks] b. What decimal number is actually represented in 4a?[2 marks] c. Which of the following values cannot be stored accurately using a floating-point format in which the most significant bit is the sign bit; the next 3 bits represent a 3-bit biased exponent, and the last 4 bits represent the normalized significand with implied bit?[2 marks] (i) 3 (ii) 1 (iii) 10.75 (iv) 7 decimal 3.5 Binary: Normalized: Can be stored? 5. Given the S-R flip flop discussed in class. Assume that both inputs in the circuit are 1 and the output is 0. Describe what would happen if the upper input was temporarily set to 0 and then goes back to 1. Describe what would happen if the lower input was then temporarily set to 0.[2 marks] 6. This question requires a short essay-type answer. What is ‘Net Neutrality’? [1 mark] What are the arguments for and against? [4 marks] Discuss the implications of Net Neutrality on citizens of a country, on governments, and on ISPs.[6 marks] Page 2 of 2
Answered Same DayOct 15, 2021

Answer To: The University of the West Indies Department of Computing and Information Technology COMP 1600 –...

Dr. Purnima Kumari answered on Oct 16 2021
121 Votes
The University of the West Indies
Department of Computing and Information Technology
COMP 1600 – Computing Concepts
Assignment 1
1.
0. What is the binary representation of 18 ?    Show all working.    [2
marks]
Solution: 18 = 8.4375
    Integer part:
    
    18
    0
     2
    9
    1
    2
    4
    0
    2
    2
    0
    2
    1
    
     18 = (10010)2    (Writing the remainders from bottom to up)
Decimal part: .4375 x 2 = 0.875
.875 x 2 = 1.75
         .75 x 2 = 1.5
         .5 x 2 = 1
.4375 = (0111)2 (Writing the Integer part from top to bottom)
Therefore, 18 = (10010.0111)2

0. How many different bit patterns can be formed if each must consist of exactly 16 bits?                                    [1 mark]
Solution: 16 bits can form 216 = 65,536 bit patterns.
0. What is the representable range of numbers for the following number representations using 8 bits?
2. Sign and Magnitude                         [1 mark]
Solution: -(2(8-1)-1) to +(2(8-1)-1) = -127 to +127
2. Two’s Complement                        [1 mark
Solution: -(2(8-1)) to +(2(8-1)-1) = -128 to +127
0. Perform the following additions and state which results in an overflow when using 8-bit Two’s Complement arithmetic:
3. 0100 0000 + 0100 0000                    [2 marks]
Solution:      0100 0000
+ 0100 0000
------------------------------------
1000 0000 (overflow)
------------------------------------
3. -64 – 64                            [2 marks]

(-64) 0100 0000
+(-64) 0100 0000
--------------------------------------------
1000 0000 (overflow)
---------------------------------------------------------
0. What is the problem in performing the following arithmetic using 8-bit Two’s complement’s representation: 135 – 10?                [2 marks]
Solution: 135 is out of range of 8-bit number. (Range is from -128 to 127)
1. Write down the truth table for the circuit shown below:
                    [6 marks]
Solution: Here, S=X xor Y xor CIN
         COUT = X.Y + X.CIN + Y.CIN
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here