Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 25 pages
Summary

Summary Computer Architecture (INFONW)

Document preview thumbnail
Preview 3 out of 25 pages

Summary of all the subjects discussed in the first part of the Computer Architecture and Networks course (i.e. the Computer Architecture part). Based on the lectures and the book used in the course (ISBN: 9781848214293).

Content preview





Computerarchitecture‌ ‌

Digital‌‌Arithmetics‌ 1‌ ‌

CPU‌ 3‌ ‌
Processor‌ 3‌ ‌
Control‌‌Unit‌ 3‌ ‌
Processing‌‌Unit‌ 4‌ ‌
Instruction‌‌Flow‌ 5‌ ‌
Memory‌ 7‌ ‌
Segmentation‌ 10‌ ‌
Paging‌ 10‌ ‌
Memory‌‌Access‌‌Performance‌ 11‌ ‌
Cache‌ 12‌ ‌

Operating‌‌Systems‌ 13‌ ‌
File‌‌Management‌ 14‌ ‌
File‌‌Corruption‌ 15‌ ‌
Memory‌‌Management‌ 16‌ ‌
Process‌‌Management‌ 17‌ ‌
Process‌‌Creation‌ 17‌ ‌
Multi-program‌‌Execution‌ 18‌ ‌
Process‌‌Scheduling‌ 20‌ ‌
Process‌‌States‌ 21‌ ‌
Inter-process‌‌Communication‌ 21‌ ‌
Device‌‌Management‌ 22‌ ‌








,Digital‌‌Arithmetics‌ ‌
Components‌‌of‌‌the‌‌number:‌‌-50‌ ‌
- Sign:‌‌negative‌‌or‌‌positive‌ ‌
- Digit:‌‌single‌‌‘unit’‌‌of‌‌a‌‌number‌‌(‘-’,‌‌‘5’,‌‌‘0’)‌ ‌
- Symbol:‌‌expression‌‌of‌‌a‌‌digit‌‌(i.e.‌‌the‌‌number‌‌5)‌ ‌
- Symbol‌‌size:‌‌how‌‌many‌‌expressions‌‌a‌‌digit‌‌can‌‌have‌‌(base-10)‌ ‌

Self-information‌‌ ‌How‌‌much‌‌information‌‌each‌‌symbol‌‌carries‌ ‌
Entropy‌‌ ‌How‌‌distinct‌‌each‌‌symbol‌‌is‌ ‌

Base-2‌‌has‌‌high‌‌entropy‌‌(0.5),‌‌but‌‌low‌‌self-information,‌‌base-10‌‌has‌‌low‌‌entropy‌‌(0.1),‌‌yet‌‌high‌‌
self-information.‌‌The‌‌higher‌‌the‌‌entropy,‌‌the‌‌more‌‌costly‌‌to‌‌transmit‌‌the‌‌number‌‌(more‌‌bits)‌ ‌

Binary‌‌→‌‌Decimal‌ ‌ Decimal‌‌→‌‌Binary‌ ‌

1101‌2‌‌ ‌=‌‌1‌‌x‌‌20‌
‌ ‌ ‌+‌‌0‌‌x‌‌21‌
‌ ‌ ‌+‌‌1‌‌x‌‌22‌
‌ ‌ ‌+‌‌1‌‌x‌‌23‌
‌ ‌ ‌=‌‌13‌10‌ ‌ 4‌‌/‌‌2‌‌=‌‌2‌ R‌ ‌‌0‌ ‌
2‌‌/‌‌2‌‌=‌‌1‌ ‌R‌‌0‌ ‌
‌ 1‌‌/‌‌2‌‌=‌‌0‌ ‌R‌‌1‌‌(MSB)‌ ‌→‌ ‌410‌
‌ ‌ ‌=‌‌100‌2‌ ‌

Decimal‌‌→‌‌Hexadecimal‌ ‌ ‌

177‌‌/‌‌16‌‌=‌‌11‌‌R‌‌1‌ ‌→‌‌1‌ ‌ Hexadecimal‌‌→‌‌Decimal‌ ‌
11‌‌/‌‌16‌‌=‌‌0‌ ‌R‌‌11‌‌→‌‌B‌ ‌
→‌‌177‌10‌‌ ‌=‌‌B1‌16‌ ‌ F5‌16‌‌ ‌=‌‌5‌‌x‌‌16‌0‌‌ ‌+‌‌15‌‌x‌‌16‌1‌‌ ‌=‌‌245‌10‌ ‌

‌ ‌

Binary‌‌→‌‌Hexadecimal‌ ‌ Hexadecimal‌‌→‌‌Binary‌ ‌

1011‌‌0110‌2‌‌ ‌→‌‌1011‌‌|‌‌0110‌‌=‌‌B‌‌|‌‌6‌‌→‌‌B6‌16‌ ‌ D7‌16‌‌ ‌→‌ ‌D‌‌|‌‌7‌‌=‌‌1101‌‌|‌‌0111‌‌→‌‌1101‌‌0111‌2‌ ‌

Representation‌‌of‌‌integers:‌ ‌
Signed‌‌(sign‌‌for‌‌-‌‌or‌‌+)‌ ‌ One’s‌‌complement‌‌(bit-flip)‌ ‌ Two’s‌‌complement‌‌(bit-flip+1)‌ ‌
+ Easy‌‌computation‌ ‌ + Easy‌‌computation‌ ‌ + Arithmetics‌‌correct‌‌
+ Easy‌‌conversion‌‌to‌‌ + Easy‌‌conversion‌‌to‌‌ (like‌‌unsigned)‌ ‌
wider‌‌byte‌‌formats‌ ‌ wider‌‌byte‌‌formats‌ ‌ + Easy‌‌conversion‌‌to‌‌
- Shrinks‌‌range‌ ‌ + Very‌‌fast‌‌computation‌ ‌ wider‌‌byte‌‌formats‌ ‌
- Arithmetics‌‌incorrect‌ ‌ - Arithmetics‌‌incorrect‌ ‌ + Unambiguous‌‌(single‌‌
- Double‌‌0,‌‌+0‌‌and‌‌-0‌ ‌ - Not‌‌handle‌‌overflows‌ ‌ symbol‌‌for‌‌0)‌ ‌
- More‌‌complex‌‌calc‌‌of‌‌
actual‌‌number‌ ‌
Logical‌‌operations:‌ ‌
- NOT:‌‌inverse‌‌of‌‌a‌‌bit‌‌(1‌‌→‌‌0,‌‌0‌‌→‌‌1)‌ ‌
- AND:‌‌is‌‌1‌‌if‌‌both‌‌are‌‌1‌ ‌
- NAND:‌‌is‌‌0‌‌if‌‌both‌‌are‌‌1‌ ‌
- OR:‌‌is‌‌1‌‌if‌‌one‌‌or‌‌both‌‌are‌‌1‌ ‌


1‌ ‌

, - NOR:‌‌is‌‌0‌‌if‌‌one‌‌or‌‌both‌‌are‌‌1‌ ‌
- XOR:‌‌is‌‌1‌‌if‌‌only‌‌one‌‌is‌‌1‌ ‌

Floating‌‌point‌‌fractional‌‌makes‌‌the‌‌placement‌‌of‌‌the‌‌period‌‌variable.‌‌Converting‌‌-93.328125‌‌to‌‌
IEEE‌‌754‌‌would‌‌look‌‌like‌‌this:‌ ‌
1. Sign‌‌=‌‌1‌ ‌
2. Convert‌‌to‌‌binary‌‌→‌‌X‌‌=‌‌0101‌‌1101‌‌.‌‌0101‌‌0100‌ ‌
3. Shift‌‌X‌‌so‌‌that‌‌the‌‌MSB‌‌equals‌‌1‌‌→‌‌X‌‌=‌‌1.01‌‌1101‌‌0101‌‌0100‌ ‌
4. Determine‌‌the‌‌exponent:‌‌how‌‌many‌‌positions‌‌did‌‌you‌‌move‌‌the‌‌period?‌ ‌
a. E‌‌=‌‌6‌‌(positions‌‌to‌‌the‌‌left)‌ ‌
b. Add‌‌127.‌‌E=‌‌127+6‌‌=‌‌133‌ ‌
c. Convert‌‌this‌‌to‌‌binary‌‌→‌‌133‌‌=‌‌10000101‌ ‌
5. 32-bit‌‌floating‌‌point‌‌number‌‌=‌‌sign‌‌|‌‌8-bit‌‌exponent‌‌|‌‌23-bit‌‌mantissa‌‌→‌ ‌
1‌‌|‌‌100‌‌0010‌‌1‌‌|‌‌011‌‌1010‌‌1010‌‌1000‌‌0000‌‌0000‌ ‌






2‌ ‌

Connected book
 image
Bertrand Dupouy, Gerard Blanchet Computer Architecture
Publisher: Unknown ISBN: 9781848214293 Edition: 11

Document information

Study
Summarized whole book?
Yes
Uploaded on
September 9, 2021
File latest updated on
October 6, 2021
Number of pages
25
Written in
2020/2021
Type
Summary
$12.60
Purchased by 4 students

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Suniht
3.9
(13)
Sold
96
Followers
55
Items
19
Last sold
3 months ago


Reviews from verified buyers




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions