Preview

ITI1100 Midterm 13 Solution 2

Satisfactory Essays
Open Document
Open Document
780 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
ITI1100 Midterm 13 Solution 2
Student Name (Please print)______________________________________________

Student Number_______________________________________________ Section:________

ITI1100 Digital Systems I
Mid-term Exam

Date: March 2, 2013
Time: 1h30 (10:00-11:30)
Professors: A. Karmouch and Hasan Ural

Instructions:
Answer ALL questions.
This is a close-book examination.
Use the provided space to answer the following questions. If more space is needed, use the back of the page.
Show all your calculations to obtain full marks.
Calculators are NOT allowed.
Read all the questions carefully before you start.

Question
Points
Percentage

1

40%

2

60%

Total

100%

Question 1 (40 points: 15 + 10+ 15):

(a) Convert the following binary into (i) decimal, (ii) octal et (iii) hexadecimal
10100001111.1101

(i) to decimal
(10100001111)2
= 1 x 210 + 0 x 29 + 1 x 28 + 0 x 27 + 0 x 26 + 0 x 25 + 0 x 24 + 1 x 23 + 1 x 22 + 1 x 21 + 1 x 20
= 1024 + 0 + 256 + 0 + 0 + 0 + 0 + 8 + 4 + 2 + 1
= 1295

(0.1101)2
= 1 x 2-1 + 1 x 2-2 + 0 x 2-3 + 1 x 2-4
= 0.5 + 0.25 + 0 + 0.0625
= 0.8125

(10100001111.1101)2 = 1295.8125

(ii) to Octal
(10100001111)2
= 010 100 001 111.110 100
= 2417.64

(ii) to Hexadecimal
(10100001111)2
= 0101 0000 1111.1101
= 50F.D

(b) Perform the following operation using 10’s complement (162)10 – (27)10

[N]r = rn – (N)r n = 3
(162)10 – (027)10

103 – 027 = 973
10’s Complement of (27)10 = 973
(162)10 – (27)10 = (162)10 + 10’s Complement of (27)10

= (162)10 + (973)10

= (135)10
(c) Convert the following numbers into binary and perform the arithmetic operations in (i) and (ii) using signed binary numbers with 2’s complement. Use 7 bits to represent the integer part of decimal numbers and the sign bit. Use three bits to represent the fractional part.

(i) (4.5)10 – (9)10
(ii) (8.5)10 + (9)10
(4.5)10 = 0000100.100

(9)10 = 0001001.000

2’s of (9)10

You May Also Find These Documents Helpful

  • Satisfactory Essays

    NT1310 Unit 3 Exercise 1

    • 443 Words
    • 2 Pages

    Rip Cord – a piece of string that is constructed into fiber optic cables that when pulled will split the outer jacket for access to the core…

    • 443 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1310 Unit 3 Exercise 1

    • 401 Words
    • 2 Pages

    A Cable that is commonly used in audio and video. It connects to cable television to televisions and also used in cable internet modems.…

    • 401 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 5 Exercise 1

    • 322 Words
    • 2 Pages

    1. List the patients that you took care of this week (one initial only); their age; gender; and primary diagnosis.…

    • 322 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1310 Unit 1 Exercise 1

    • 5033 Words
    • 21 Pages

    EXERCISE - 1 Write a Program in C/ C++ for error detecting code using CRC-CCITT (16 bit)…

    • 5033 Words
    • 21 Pages
    Powerful Essays
  • Satisfactory Essays

    Coaxial Cable- Twisted-Pair cabling. It’s called coaxial because it has a single conductor surrounded by insulation and then a layer of shielding.…

    • 311 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    a. Write a C++ function named fracpart() that returns the fractional part of any number…

    • 720 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1310 Unit 1 Exercise 1

    • 4518 Words
    • 19 Pages

    Cyclins and cyclin-dependent kinases are regulatory proteins that assist in the cell cycle. Particular protein kinases give the go-ahead signals at G1 and G2 checkpoints. These protein kinases are present at a constant concentration in the cell but are inactive unless in the presence of cyclin, these are cyclin dependent kinases. The activity of a cdk rises and falls with the concentration of cyclin.…

    • 4518 Words
    • 19 Pages
    Powerful Essays
  • Good Essays

    Psy/315 Week 4

    • 631 Words
    • 3 Pages

    0, 1, 1, 3, 0, 0, 2, 5, 0, 1, 1, 2, 0, 1, 1…

    • 631 Words
    • 3 Pages
    Good Essays
  • Good Essays

    It255 Assignment 8

    • 309 Words
    • 2 Pages

    The Internet is vulnerable to myriads kinds of attacks, due to vulnerabilities in the TCP-IP protocol, and no global flow control mechanisms. The two problems lead to many TCP exploits and the horrible DDoS attacks. We have devised a method of incrementally upgrading the network infrastructure at the transport level that solves the above problems and makes the network significantly more resilient to attacks, particularly the DDoS attack. The approach uses "hardened routers", routers that can do simple cryptographic functions (encryption, signatures) on all packets flowing in the network, as well as to participate in a hierarchical control network.…

    • 309 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    IP Subnetting

    • 333 Words
    • 2 Pages

    Be sure to show your work, meaning your steps to convert binary to decimal, etc.…

    • 333 Words
    • 2 Pages
    Powerful Essays
  • Satisfactory Essays

    Nt1310 Unit 3 Exercise 2

    • 939 Words
    • 4 Pages

    reestablishes the context for the document, why your topic is important to your readers, and offering a look to the future.…

    • 939 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Netw202 Week 2 Ilab

    • 579 Words
    • 3 Pages

    Write a paragraph (minimum five college-level sentences) below that summarizes what was accomplished in this lab, what you learned by performing it, how it relates to this week’s TCO’s and other course material; and just as important, how you feel it will benefit you in your academic and professional career. (10 points)…

    • 579 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    maths gcse

    • 1123 Words
    • 5 Pages

    You must answer the questions in the spaces provided. Do not write outside the box,…

    • 1123 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 1 Exercise 2

    • 459 Words
    • 2 Pages

    HIV causes AIDS. HIV stands for human immunodeficiency virus. It breaks down the immune system (our body's protection against disease). HIV causes people to become sick with infections that normally wouldn't affect them.…

    • 459 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    • • • • 00: 10: 11: 01: middle of a run of 0s, do nothing beginning of a run of 1s, subtract multiplicand middle of a run of 1s, do nothing end of a run of 1s, add multiplicand…

    • 380 Words
    • 2 Pages
    Satisfactory Essays