Rédigé par des étudiants ayant réussi Disponible immédiatement après paiement Lire en ligne ou en PDF Mauvais document ? Échangez-le gratuitement 4,6 TrustPilot
logo-home
Notes de cours

TB142ib (I&C) - Computer & Information Systems

Note
-
Vendu
-
Pages
10
Publié le
01-09-2021
Écrit en
2020/2021

Notes from all lectures about binary numbers, operating systems, object-oriented programming (OOP), data types and algorithms (insertion sort, bubble sort, sequential search, binary search). Important concepts are marked in bold, other terms are underlined.

Montrer plus Lire moins
Établissement
Cours

Aperçu du contenu

2. Logic gates and binary numbers
Binary numbers (0 en 1)

Binary operators:
• AND: C = A • B
AND J C A B
• OR: C = A + B OR C A B
• NOT: A = -B NOT ÉL A B

Binary 170l n 1 23 1.22 0.2 1 20 13dec
Hexadecimal 123h 1 162 2.16 3.160 291sec


Conversions
bin
111 91
dec 17 2

hex B 2

To convert text into binary language, we use bytes. Characters like A-Z, a-z, 0-9 and
special characters must be encoded into specific binary chains. For this, we need to encode
about 100 symbols, which means we need at least 7 bits (2^7 = 128 ≥ 100). The standard
is to use 8 bits (= 1 byte).
• A byte is in fact one row of the RAM memory. A kilobyte is 1024 = 2^10 (≈ 10^3 ≈
1000) bytes

3. General structure of a computer
A computer consists of a Central Processing Unit (CPU), Memory Unit, and Input/Output (I/O)
devices.

The CPU interacts with memory unit. It consists of:
• Control Unit (CU): Manages machine cycle. Fetches next instruction from program counter
→ decodes information from instruction register
→ informs ALU to execute action
• Arithmetic/Logic unit (ALU): generates ‘new’ data
by doing calculations and computations. ALU is
comprised of logic gates (see Lecture 1)
• clock: Syncs busses
◦clock rate = machine cycles per second. A
higher clock rate means more instructions
per second → faster computer

, • registers: small memory unit (collection of flip-flops, usually 32-bit or 64-bit) within the
CPU for speed. Can serve a general or special purpose.
◦general: It holds data for ALU and stores its output (general purpose)
◦special: It holds instructions
‣ programm counter: adress to next instruction
‣ instruction register: current instruction to be executed
It is essentially a collection of transistors: electric semiconductors to amplify signals to
enable of disable.

In the RAM memory unit, logic gates are used in a transistor circuit (flip-flop) to store
information. It temporarily holds the data the processor just acted on or will act on soon.
Each row in memory is always 1 byte (= 8 bits). Also sequential instructions are stored here,
so that the CPU can immediately access them when the users opens a program. Each
memory cell has a value (8 bits) and an address. The more bits are in an adress, the
more rows of information can be stored: x bits means 2^x locations.
• For a 4GB RAM memory, you need an address of 32 bits: 4*2^30 = 2^2 * 2^30 = 2^32
• Long term holding of data is done in the storage (ROM). This belongs to the I/O unit.
It is not made of transistors, because it should hold data even when power is shut down
(non-volatile)

Input unit: to enter data into the computer (keyboard, mouse)
Output unit: to store information on a harddrive, or to show it on a monitor/screen

Data transfer goes through wires:
• data bus (information): bi-directional from and to CPU
• address bus (where should it go): memory address is put on address bus
• control bus (things that need to be processed to CPU): signals control transfer of data,
read/write request, complete transfer

Basic computer operations:
• receiving data/input
• storing data in memory
• performing mathematical and textual manipulations
• Comparing contents of two memory locations and choosing one (OR-logic)
• Repeating a group of operations (for- and while-loops)
• Executing information, processing data/output

Livre connecté

École, étude et sujet

Établissement
Cours
Cours

Infos sur le Document

Publié le
1 septembre 2021
Nombre de pages
10
Écrit en
2020/2021
Type
Notes de cours
Professeur(s)
Amineh ghorbani
Contient
Toutes les classes

Sujets

€3,99
Accéder à l'intégralité du document:

Mauvais document ? Échangez-le gratuitement Dans les 14 jours suivant votre achat et avant le téléchargement, vous pouvez choisir un autre document. Vous pouvez simplement dépenser le montant à nouveau.
Rédigé par des étudiants ayant réussi
Disponible immédiatement après paiement
Lire en ligne ou en PDF

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
sganoud Technische Universiteit Delft
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
69
Membre depuis
7 année
Nombre de followers
44
Documents
0
Dernière vente
4 mois de cela
Overzichtelijk, gestructureerd en gedetailleerd

❗ TIP: Stuvia incasseert bijna 50% van de prijs van alles wat op het platform staat :( Klik hiernaast op ‘Stuur bericht’ voor gunstige informatie. ❗

4,6

11 revues

5
7
4
4
3
0
2
0
1
0

Documents populaires

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions