Mod 1 - Computer Organization Flashcards

1
Q

What is a computer based on past and current definitions?

A

Definition changed lots over time
Past: large computer that takes up the whole room
Current: smart phones classified as computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is hardware?

A

It is physical equipment & devices that a computer is made of.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are 3 primary components hardware is made of?

A
  1. CPU
  2. Primary Memory & Secondary Storage
  3. Peripherals
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does CPU stand for & what do CPUs do?

A

CPU: Central Processing Unit

It is the brain/processor of the computer. It performs few & basic functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What functions do CPUs perform?

A
  • data movement (from one location to another)
  • controls flow (how CPU decides what to do next)
  • arithmetic (+, -, *, /)
  • logic (and, or, not)
  • comparisons (=, >,
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do CPUs work (think machine language)?

A

A lot is accomplished with few functions b/c CPUs are very fast. Each one has its own machine language that gives it instructions & tends to be exclusive for each CPU, but can be compatible (ex. Intel, AMD).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is one of the most important components of a computer?

A

The CPU! When buying a computer, prices often reflect the quality of the CPU.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the key characteristics of a CPU?

A
  • Make & model
  • Speed
  • Number of cores
  • Power consumption
  • Cache
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe make & model

A

Manufacturers have different CPU models that determine characteristics
ex. Intel i7 is more powerful than Intel i3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe speed

A

The speed is measured in Gigahertz (GHz) - giga=billion and hertz=per second.
ex. theoretically, a 3GHz processor can perform 3 billion operations per second

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Describe number of cores

A

Modern CPUs are a combination of several cores (processors)
ex. a quad-core processor has 4 independent processors in a single chip & can do 4 times as much computation as a single core

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe power consumption

A

The speed and number of cores affects the amount of power used. Low battery mode is often used to cut back power consumption.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe cache

A

It is a fast, short-term memory built into a CPU and is known as “super memory” b/c its x100 faster than primary. Basically, the bigger the cache the better.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is secondary storage?

A

it is the long term (permanent) storage of a computer.
current ex: hard drives, flash drives, CDs, DVDs, etc.
past ex: magnetic tapes & floppy disks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the most common secondary storage?

A

Hard drives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do hard drives work?

A

Inside of it, there is a physical motor than spins several magnetic disks. These disks store large amounts of information in small amounts of space. They are measured in terabytes (TB) - meaning trillions of bytes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Explain flash drives.

A

The way it works is fairly complicated, but basically, it uses static electricity.
ex. USB sticks & SD cards

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is a Solid State Drive (SSD)?

A

It is a type of flash drive often used in mobile devices because it uses less power while having a high speed & high capacity. They have yet to replace hard drives b/c they are more expensive & have less capacity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What does secondary storage typically contain?

A
  • operating system (OS)
  • programs (apps)
  • documents/other user data
  • settings/preferences
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is primary memory?

A

It is required for a computer to work properly because it is the working space of a computer, meaning everything done is stored there
Ex. executing, displaying, calculating

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is primary memory known as?

A

Random Access Memory (RAM)

22
Q

How does a CPU access secondary storage?

A

It cannot directly access secondary storage, so the information desired is copied from secondary to primary where it can be “used” (explains delay when app started).
Ex. open a file: copied from secondary to primary; save a file: vice versa

23
Q

What happens when you first turn on a computer?

A

The primary memory is initially empty/blank, so it boots up using the boot loader. This is stored on a separate chip called Read-Only Memory (ROM) where it copies/loads OS into primary.

24
Q

Provide a summary of primary memory

A

Primary:

  • small capacity (few GB)
  • significantly faster
  • CPU can see info in primary
  • has short term memory
  • the more primary there is, the faster the computer will be
25
Q

Provide a summary of secondary storage

A

Secondary:

  • large capacity (TB)
  • much slower than primary
  • CPU cannot see info in secondary
  • has long term/permanent memory
26
Q

What is a peripheral?

A

it is every other piece of hardware or physical device associated with computers.

27
Q

List some common examples of direct peripherals.

A
  • monitor
  • keyboard
  • mouse
  • touch screen
  • printer
28
Q

List some common examples of indirect peripherals.

A
  • ethernet
  • wifi
  • GPS
  • motion sensor
  • 3G
  • Graphic Processing Unit (GPU)
29
Q

What is a driver?

A

It is a piece of software designed to let hardware talk to the OS.

30
Q

How does a mouse work?

A

It is an event-based peripheral meaning a special piece of hardware connected to the mouse that waits for a mouse event to occur (moving/clicking). It has an “alarm” to wake up the CPU which stops the OS to read/interpret the info in primary - happens in a microsecond.

31
Q

How does a camera work?

A

It is a polling peripheral meaning the OS decides when it wants info & tells the peripheral to wake up and gather info.

32
Q

What is Universal Serial Bus (USB)?

A

It is an advancement in standardizing how peripherals connect to the computers.

33
Q

What is hardware convergence?

A

It is when hardware for several different components are combined into a single chip known as System on a Chip (SoC). It decreases size, increases speed & reduces power consumption.
ex. cell phone chip has CPU, primary memory, GPU, wifi, GPS, etc. all on it.

34
Q

Why is software important? What are the 2 types?

A

It is codependent on hardware and they rely on each other to make computers work properly.
The types are:
1. Applications
2. System Programs

35
Q

What is an application (app)?

A

It is designed to interact with users and the vast majority of the program is made up of instructions. The instructions are really just the basic operations CPUs understand known as low level operations.
Ex. Lamp flow chart

36
Q

What do programmers usually use in terms of instructions?

A

Programmers often use high level programming languages that are easier for humans to understand (ex. JavaScript). There is usually a machine translator in programs that convert high level to many low level

37
Q

What is a real time translator?

A

It converts a high level language to a machine language.
ex. Excel & often used for many Android apps
ex 2. hardware emulator for playing old games - like for gameboy

38
Q

What other components are important for applications to function properly?

A
  • data: includes all text & multimedia/graphics

- OS requests: made so the app can interact with secondary storage or peripherals

39
Q

What is a system program?

A

While apps are designed to work in the foreground, system programs are designed to work in the background.
ex. services & device drivers

40
Q

What is a service?

A

It is designed to work without user intervention.

ex. notification service for social media sends messages to the OS to alert the user.

41
Q

What is a device driver?

A

It facilitates communication between peripherals and the OS.

42
Q

What are some examples of desktop OS’s?

A
  • Windows
  • OS X
  • Linux
43
Q

What are some examples of mobile OS’s?

A
  • Android

- Apple iOS

44
Q

What components make up an OS?

A
  1. Kernel
  2. Bundled Applications
  3. Shell
45
Q

Describe bundled applications

A

They come with an OS and make it more useful/important for consumers. They don’t change the understanding of an OS.
ex. photo-booth, calendar, sticky notes, etc.

46
Q

Describe the shell

A

It is basically the user interface & allows user interaction with the OS by facilitating:
- launching/closing apps
- “windowing” the system to switch b/w apps
- accessing secondary storage & networks
- configuring the OS (settings)
Most shell designs are user-friendly & inuitive

47
Q

What is the kernel & it’s 2 main responsibilities?

A

It is the heart of the OS.

  1. Managing resources (CPU, primary memory, peripherals) ex. allocates areas of primary memory to apps
  2. Responding to app requests
    - -> both involve managing computer security
48
Q

How many programs can a computer run at the same time?

A

Only 1 program can run at time per core, so powerful computers can run several at a time, but for the most part, it is mostly an illusion that all the apps are running at the same time.

49
Q

How do computers manage running several apps at a time?

A

The kernel constantly & quickly switches b/w different programs (in milliseconds) which maintains the illusion that all programs are running at the same time. The kernel will prioritize apps to determine the amount of time each one receives.
ex. movie player gets more time to ensure it plays smoothly

50
Q

Describe how the kernel ensures security (app permissions)

A

It coordinates with CPU hardware to ensure apps cannot access the memory for other programs. It also manages the peripherals through app requests.
ex. kernel allows one app to access the camera through a request.

51
Q

Give some examples of app requests.

A
  • requesting more primary memory
  • accessing secondary storage files
  • accessing websites
  • communication with other apps