Lecture 1 - 3

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/45

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

46 Terms

1
New cards

Why Study Comp. Org. and Prog.?

Understand the detailed internals of computers; the crucial interactions between hardware and software.

<p>Understand the detailed internals of computers; the crucial interactions between hardware and software. </p>
2
New cards

risc-v

Low-level programming, very powerful, close to machine learning, direct access to computer hardware

<p>Low-level programming, very powerful, close to machine learning, direct access to computer hardware</p>
3
New cards

computer

an electrical mechanism that directs processing of data and performs processing on that data in response to a program

<p>an electrical mechanism that directs processing of data and performs processing on that data in response to a program</p>
4
New cards

motherboard

relay electric signals from external input devices to the CPU which processes them

<p>relay electric signals from external input devices to the CPU which processes them</p>
5
New cards

assembly language

a symbolic representation of machine instruction

6
New cards

machine learning

a binary representation of machine instructions

<p>a binary representation of machine instructions </p>
7
New cards

high level programming language

a language composed of words and algebraic notation that can be translated by a complier into assembly language

<p>a language composed of words and algebraic notation that can be translated by a complier into assembly language</p>
8
New cards

integrated circuit

a tiny piece of silicon that contains a large number of transistors

<p>a tiny piece of silicon that contains a large number of transistors</p>
9
New cards

silicon

a semiconductor made of clay and sand

<p>a semiconductor made of clay and sand</p>
10
New cards

semiconductor

a material whose electrical properties are immediate between a good conductor and a nonconductor of electricity

<p>a material whose electrical properties are immediate between a good conductor and a nonconductor of electricity </p>
11
New cards

transistor

a tiny electric switch that can be turned on or off millions of times per second; the building block of any integrated circuit

<p>a tiny electric switch that can be turned on or off millions of times per second; the building block of any integrated circuit</p>
12
New cards

memory

the storage area in which programs are kept when they are running and that contains the data needed by the running programs

<p>the storage area in which programs are kept when they are running and that contains the data needed by the running programs</p>
13
New cards

central processor unit

active part of the computer, contains the datapath and control and which adds numbers, test numbers, signals I/O devices to activate, and more

<p>active part of the computer, contains the datapath and control and which adds numbers, test numbers, signals I/O devices to activate, and more</p>
14
New cards

northbridge

connects the CPU to high-speed components; deals with performance-critical components

<p>connects the CPU to high-speed components; deals with performance-critical components</p>
15
New cards

southbridge

handles slower peripherals and I/O functions; slow runtime because it deals with less performance-sensitive tasks

<p>handles slower peripherals and I/O functions; slow runtime because it deals with less performance-sensitive tasks</p>
16
New cards

accelerated graphics port

dedicated slot for graphics cards

<p>dedicated slot for graphics cards</p>
17
New cards

peripheral component interconnect

general expansion slots for devices like sound cards, network cards, and modems

<p>general expansion slots for devices like sound cards, network cards, and modems</p>
18
New cards

serial ata

connects modern storage drives to the motherboard, faster than the ide

<p>connects modern storage drives to the motherboard, faster than the ide</p>
19
New cards

basic input output system

firmware stored on a chip, boots up the operating system when the pc turns on

<p>firmware stored on a chip, boots up the operating system when the pc turns on</p>
20
New cards

integrated drive electronics

an old storage interface for hard drives and optical drives

<p>an old storage interface for hard drives and optical drives</p>
21
New cards

processor socket

the physical slot where the CPU is installed, electrical connection from CPU to the rest of the motherboard

<p>the physical slot where the CPU is installed, electrical connection from CPU to the rest of the motherboard</p>
22
New cards

electronic numerical integrator and computer

the first programmable, general-purpose, electronic digital computer that was only used for calculations; made in 1945

<p><span>the first programmable, general-purpose, electronic digital computer that was only used for calculations; made in 1945</span></p>
23
New cards

abstraction

lower level details are hidden to offer a simpler model at high levels

<p>lower level details are hidden to offer a simpler model at high levels</p>
24
New cards

make the common case fast

enhance performance better than optimizing the rare cases

<p>enhance performance better than optimizing the rare cases</p>
25
New cards

parallelism

compute operations at the same time

<p>compute operations at the same time</p>
26
New cards

pipelining

break tasks into different stages that execute simultaneously

<p>break tasks into different stages that execute simultaneously </p>
27
New cards

prediction

anticipate future operations to minimize delays, it might be faster to guess and start working rather than waiting to know for sure

<p>anticipate future operations to minimize delays, it might be faster to guess and start working rather than waiting to know for sure</p>
28
New cards

hierarchy of memory

the fastest and smallest memory per bit are closest to the CPU. multiple levels of cache bridge the speed gap between the CPU and slower memory (registers - l1 - l2 - l3 - ram - ssd - hdd)

<p>the fastest and smallest memory per bit are closest to the CPU. multiple levels of cache bridge the speed gap between the CPU and slower memory (registers - l1 - l2 - l3 - ram - ssd - hdd)</p>
29
New cards

dependability via redundancy

when you include redundant components that can take over when failure occurs (or even detect failures), you make the system more dependable

<p>when you include redundant components that can take over when failure occurs (or even detect failures), you make the system more dependable</p>
30
New cards

moore’s law

the number of transistors doubles about every 2 years, leading to faster, smaller, and more powerful computing devices

<p>the number of transistors doubles about every 2 years, leading to faster, smaller, and more powerful computing devices</p>
31
New cards

personal computer

designed for an individual to use, good performance for low costs; drove the evolution of many computing technologies

<p>designed for an individual to use, good performance for low costs; drove the evolution of many computing technologies</p>
32
New cards

servers

network based, high capacity, performance, and reliability. high emphasis on dependability. running larger programs for a multitude of people at the same time

<p>network based, high capacity, performance, and reliability. high emphasis on dependability. running larger programs for a multitude of people at the same time</p>
33
New cards

super computer

highest performance and cost computers, hundreds and thousands of processers, usually for high end calculations in science and engineering

<p>highest performance and cost computers, hundreds and thousands of processers, usually for high end calculations in science and engineering </p>
34
New cards

embedded computer

hidden computers that work as components to a system; widest range of applications and performance

<p>hidden computers that work as components to a system; widest range of applications and performance</p>
35
New cards

volatile memory

storage that retains data only if it is still receiving power

<p>storage that retains data only if it is still receiving power </p>
36
New cards

non volatile memory

a form of memory that retains data even in the absence of a power source

<p>a form of memory that retains data even in the absence of a power source </p>
37
New cards

secondary memory

nonvolatile memory used to store programs and data between runs

<p>nonvolatile memory used to store programs and data between runs </p>
38
New cards

execution time

the total time required for the computer to complete a task, including disk access, memory access, I/O activities, operating system overhead, CPU execution time, and so on.

<p>the total time required for the computer to complete a task, including disk access, memory access, I/O activities, operating system overhead, CPU execution time, and so on. </p>
39
New cards

throughput or bandwidth

measure of performance, the number of tasks completed per unit time

<p>measure of performance, the number of tasks completed per unit time</p>
40
New cards

CPU execution time

the actual time the CPU spends computing for a specific task

<p>the actual time the CPU spends computing for a specific task</p>
41
New cards

user CPU time

the CPU time spent in a program on itself

<p>the CPU time spent in a program on itself</p>
42
New cards

system CPU time

the CPU time spent in the operating system performing tasks on behalf of the program

<p>the CPU time spent in the operating system performing tasks on behalf of the program</p>
43
New cards

clock cycle

the time it takes for one clock period to complete, usually the processor clock, which runs at a constant rate

44
New cards

clock period

the length of each clock cycle

45
New cards

clock cycles per instruction

average number of clock cycles per instruction for a program or program fragment

46
New cards

instruction count

the number of instructions executed by the program