Geschrieben von Student*innen, die bestanden haben Sofort verfügbar nach Zahlung Online lesen oder als PDF Falsches Dokument? Kostenlos tauschen 4,6 TrustPilot
logo-home
Notizen

Computation I Lecture Notes

Bewertung
-
Verkauft
1
seiten
12
Hochgeladen auf
07-11-2019
geschrieben in
2019/2020

Dit document bevat de lecture notes van de lectures van Computation I, handig georganiseerd op lecture, onderwerp en vakgebied (CA of C programming). De lecture notes zijn een compacte samenvatting van de colleges, waarin alle belangrijke onderwerpen, handige definities en toegevoegde hints van de docenten zijn verwerkt. Check ook mijn Computation I bundel, waar je ook de CA samenvatting in zult vinden, die in combinatie met deze lecture notes een goede voorbereiding zijn voor je tentamen!

Mehr anzeigen Weniger lesen
Hochschule
Kurs

Inhaltsvorschau

Computation I

Contents
Computer architecture..........................................................................................................................1
Lecture 1 (5/9) – Introduction (CH 1).................................................................................................1
Parts of a computer (hardware).....................................................................................................1
Programming/ controlling a computer..........................................................................................2
Lecture 2 (10/9) – Binary numbers/ MIPS & ISA (CH 2 & 3)...............................................................2
Binary numbers..............................................................................................................................2
MIPS and ISA..................................................................................................................................3
Lecture 3 (17/09) – ISA 2 (CH2 & 3)...................................................................................................3
Lecture 4 – ISA 3 (CH 2.13 -2.5)..........................................................................................................5
Lecture 5 – ISA 4................................................................................................................................5
Procedures/ functions...................................................................................................................5
SPIM programming – introduction................................................................................................6
Lecture 6 (8/10) – Memory hierarchy................................................................................................6
Lecture 8 (15/10) – SPIM & Circuits & …............................................................................................7
Circuits: combinational & sequential (hardware)..........................................................................7
Lecture 9 (22/10) – Processor Design: Datapath & Control...............................................................8
C programming......................................................................................................................................9
Lecture 2 (12/09) – ASCI, functions and variable scope, arrays.........................................................9
ASCI................................................................................................................................................9
Functions & scope..........................................................................................................................9
Debugger.......................................................................................................................................9
Arrays.............................................................................................................................................9
Lecture 3 (19/09) – Strings and recursion..........................................................................................9
Lecture 4 (26/09) – Stacks, pointers & structures............................................................................10
Lecture 5 (3/10) – Pointers..............................................................................................................11
Linked lists...................................................................................................................................11
Q&A - Tips............................................................................................................................................12




Computer architecture
Lecture 1 (5/9) – Introduction (CH 1)
Parts of a computer (hardware)
- Motherboard

, o (micro) Processor(s)
 CPU (central processor unit)
 Datapath
 Control
 Special-purpose IOs: interfaces
 Memory interface (DRAM)
 Cache memory
 IO input-output interfaces
o Chipset – makes sure the board works in sync  communication between parts
o Memory slots
o PCI slots – for peripherical devices to connect
o Peripherical interfaces (all kinds of ports to devices etc.)

Programming/ controlling a computer
- Input and output consists of binary system: 0s and 1s
o Used to be the only way to program

Lecture 2 (10/9) – Binary numbers/ MIPS & ISA (CH 2 & 3)
Binary numbers
- MSB: most significant bit
o On the most left position
- LSB: least significant bit
o On the most right position
- How to calculate decimal number from bits:
n

∑ ai∗2i
i=0
Where
o i is position (counting from the right, starting at 0)
o a is binary number
- Sorts/ sizes
o 4 bits = nibble
o 8 bits = byte
o 16 bits = C short int
o 32 bits = ‘word’
- How to find binary number from decimal:
o Keep dividing by two, and write down the remainder per division (so either 0 or 1)
o The first divisions give you the end of the binary number (so you work backwards)
o Keep doing so until you get 0 as the end result of the division
- How to get hexadecimal from binary:
o Take 4 bits of binary number and convert into one hexadecimal
o Continue until number is done
- How to express negative numbers
o Sign magnitude
 MSB expresses sign (1=minus, 0=+)
o One’s complement
 Negative numbers are the other way around
 0’s become 1’s and vice versa

Verknüpftes buch

Schule, Studium & Fach

Hochschule
Studium
Kurs

Dokument Information

Hochgeladen auf
7. november 2019
Anzahl der Seiten
12
geschrieben in
2019/2020
Typ
Notizen
Professor(en)
Unbekannt
Enthält
Alle klassen

Themen

4,49 €
Vollständigen Zugriff auf das Dokument erhalten:

Falsches Dokument? Kostenlos tauschen Innerhalb von 14 Tagen nach dem Kauf und vor dem Herunterladen kannst du ein anderes Dokument wählen. Du kannst den Betrag einfach neu ausgeben.
Geschrieben von Student*innen, die bestanden haben
Sofort verfügbar nach Zahlung
Online lesen oder als PDF


Ebenfalls erhältlich im paket-deal

Lerne den Verkäufer kennen

Seller avatar
Bewertungen des Ansehens basieren auf der Anzahl der Dokumente, die ein Verkäufer gegen eine Gebühr verkauft hat, und den Bewertungen, die er für diese Dokumente erhalten hat. Es gibt drei Stufen: Bronze, Silber und Gold. Je besser das Ansehen eines Verkäufers ist, desto mehr kannst du dich auf die Qualität der Arbeiten verlassen.
hildeeschx Technische Universiteit Eindhoven
Folgen Sie müssen sich einloggen, um Studenten oder Kursen zu folgen.
Verkauft
131
Mitglied seit
9 Jahren
Anzahl der Follower
108
Dokumente
67
Zuletzt verkauft
1 Jahren vor

4,2

20 rezensionen

5
11
4
3
3
4
2
2
1
0

Kürzlich von dir angesehen.

Warum sich Studierende für Stuvia entscheiden

on Mitstudent*innen erstellt, durch Bewertungen verifiziert

Geschrieben von Student*innen, die bestanden haben und bewertet von anderen, die diese Studiendokumente verwendet haben.

Nicht zufrieden? Wähle ein anderes Dokument

Kein Problem! Du kannst direkt ein anderes Dokument wählen, das besser zu dem passt, was du suchst.

Bezahle wie du möchtest, fange sofort an zu lernen

Kein Abonnement, keine Verpflichtungen. Bezahle wie gewohnt per Kreditkarte oder Sofort und lade dein PDF-Dokument sofort herunter.

Student with book image

“Gekauft, heruntergeladen und bestanden. So einfach kann es sein.”

Alisha Student

Häufig gestellte Fragen