Computer Systems Flashcards

1
Q

Computer System

A

System is a combination of many connected parts all working together to achieve a common goal
Computer system involves interaction between hardware, software, data, and the user
Can be made up of multiple computers or programs
System becomes more complicated when connected to internet, more interaction

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

Computer Architecture

A

Specification of how a computers different parts are physically, and logically, laid out or connected
No single design, engineers have a great deal of freedom when designing computers
Designs evolved greatly over the years, most common is the Von Neumann architecture

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

Von Neumann Architecture

A

Central Processing Unit – processes (carries out or executes) instructions
Memory which stores data to be operated on, instructions (programs that operate on) data and the results
A bus connects the CPU and memory
Input and output devices that allow data to come into the computer and results to be sent out

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

CPU (Central Processing Unit)

A

CPU or processor carries out computations on data by following instructions, resulting in an output
Contains control unit, Arithmetic/logic unit and registers
Modern CPUs contain billions of transistors
Control Unit directs the operations of the CPU
ALU is where arithmetic and logical processing takes places. Receives instructions and data and operates accordingly
Contains registers

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

Registers

A

Registers are temporary storage locations (memory) that the CPU can access quickly, when carrying out operations on data
Program counter is type of register, keeps track of where CPU is in the program sequence and indicates what is next

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

Memory

RAM and ROM

A

RAM (Random Access Memory) – temporary memory, holds data and instructions of program currently being executed. Volatile memory; computer loses power, data is lost, typically fast
ROM (Read Only Memory) – non-volatile. Contents remain stored regardless of whether computer is powered on or off. Typical use is BIOS – small amount of ROM that is used to store the computers start-up routines
RAM and ROM are both types of primary storage. This is used to store information for immediate use by CPU

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

Fetch-Execute Cycle

A

As CPU processes instructions, it runs through same cycle over and over again
CPU fetches the programs next instruction from memory
Instruction is found at a memory address and is stored in binary code
CPU decodes the binary code revealing an instruction which is executed
CPU may need to use some of the registers to store information while executing the instruction
After last step is completed, cycle starts again, and this happens millions of times per second on modern computers

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

The Clock

A

Operation of CPU and other components in computer must be timed very accurately to ensure all step-by-step instructions are perfectly synchronized
Clock generates a signal consisting of a continuous stream of electrical pulses at a very stable frequency
Pulses are fed to all circuits in the computer system to ensure they operate together with the right timing

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

Factors Affecting Speed of CPU

A

• Clock
o Main factor is the clock speed
o Each pulse from clock means the CPU fetches and executes one instruction
o 5 gigahertz is 5 billion instructions per second
• Cores
o Parts of the CPU that can execute instructions simultaneously
o If CPU has 8 cores, can carry out 8 instructions during one clock cycle
• Cache
o Size and speed of the cache can affect performance greatly

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

The Bus

A

Connects the CPU and memory
Collection of wires that allow data and instructions to move from memory to the CPU and back
Computer typically has more than one bus, only one between CPU and memory
Communication channel that carries data between internal computer components

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

Input and Output Devices

A

Pieces of hardware used by a human user or other system to communicate with a computer
Input devices – keyboard, joystick, scanner, barcode scanner, mouse
Output devices – screen, speakers, printers, headphones
Input and output devices – Touchscreen, DVD, webcam, USB, secondary storage
Apart from CPU, memory, and bus, all other parts in von Neumann architecture are inputs or outputs

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

Secondary Storage

A

Devices used to store data persistently.
Non-volatile, store info regardless of whether the computer is on or off
Data can be used at any time.
Slower and cheaper than primary storage but generally larger than primary
Can store several terabytes today
Hard drives are widely used
Magnetic hard drives consist of a platter that rotates at a very high speed and a head that moves across and reads information
Solid state disks (SSD) are faster and more durable as they have no moving parts and are usually more expensive

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

Motherboard

A

Circuit board that devices (CPU, main memory, hard drive, input output devices) are physically mounted on – soldered on or plugged into
When plug USB into computer, physically connecting to the motherboard
Circuit board contains a non-conducting fiber material with several layers of interconnecting paths that act as wires, connect various components which are on/plugged into motherboard
Ports are also connected to the motherboard (USB ports) that allow to connect inputs and outputs
Sometimes components connected to daughter boards which are connected to motherboard

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

Binary Code and electrical signals

A

Modern computers use binary code to represent all information, represented by symbol pairs (0,1)
Referred to as on (signal present) and off (no signal present)

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

Electricity –

A

form of energy arising from the movement of electrons

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

Electrons –

A

charged particles that are found inside every atom

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

Electric Current –

A

flow of electrons from one place to another, greater rate of electron flow, greater the current is

18
Q

Voltage –

A

The pressure from an electrical circuit’s power source that pushes charged electrons through a conducting loop (can be used to illuminate a light)

19
Q

Resistance –

A

Measure of difficulty of passing an electric current through a material. The more resistance, the less electricity will flow. (Copper has low resistance, glass has high resistance)

20
Q

Transistors –

A

Tiny electronic switches that allow a small current change to switch on or off a larger current

21
Q

Resistors

A

Device that reduces current flow
Typically achieved by passing electricity through a material whose resistance does not allow for electricity to flow efficiently
Resistors have different values. Different coloured bands on them indicate values

22
Q

Capacitors

A

Stores electrical energy in the form of electric charge for short amount of times
Often used in volatile memory (RAM) in computers
Capacitance is a measure of the amount of charge that a capacitor can store
Used in touchscreens – Skin is weak electrical conductor, touches a screen changes the amount of charge at point of contact

23
Q

Operating System

A

Collection of programs that control the operation of a computer, application programs (Microsoft Word, Excel, Chrome) and any attached devices (keyboard, mouse, printer)
Runs all the time in the background while the computer is switched on
PCs (windows), Macs (Mac OS X), Smartphones (Android and Apple iOS)
•Functions:
o Managing how data is received from input devices and sent to output devices
o Managing how computer interacts with other computers
o Controls where programs and data are located in computers memory
o Provide interface between user and computer to allow the user to interact
o Manage files on computer

24
Q

World Wide Web

A

System (or network) of connected files hosted on the Internet that can be searched or browsed
Can include pages, pictures, video, sound, and other file formats that can be searched and browsed
These are all connected using hyperlinks, all websites put together is the World Wide Web
Uses the internet as a transmission medium, needs the internet to work

25
Q

The Internet

A

1969, two computers in UCLA communicated with each other, beginning as was real-time connection
Internet is a global network of networks consisting of billions of connected computers and other devices
Theoretically, can all communicate with each other in different ways – copper wires, fiber optic lines, wireless satellite, undersea cables
Network of connected computers, i.e., the Internet is the network

26
Q

Internet of Things

A

Interconnection via the Internet of computing devices embedded in everyday objects (TVs, Cars, Fridges) enabling them to send and receive data

27
Q

Client-Server Model

A

Visit a website, computer issues a request that goes to the appropriate server
Server then carries out that request and the information representing the web page is transmitted to computer
Browser renders it to a web page
Client requests resources, server provides them
Server can become overwhelmed when many clients make requests at same time (concert tickets)

28
Q

Communication Protocols =

A

Set of rules describing how to transmit data across a network (can be the internet)

29
Q

• Http

A

Hypertext Transport Protocol
(sometimes shown at start of web address)
Operates at the application layer
Request response protocol, allows client to issue request for resource and server responds with data
Protocol is specific to applications (programs)

30
Q

Https

A

Hypertext Transfer Protocol Secure
Secure version of http
Data transmitted between client and server is automatically encrypted
Messages do not make sense without encryption key which client and server should have
Standard on the web, mainly for online payments

31
Q

• TCP

A

Transmission Control Protocol
o Operates at transport layer
o Ensures that binary information is transported reliably between computers
o Info is broken up into packets for efficient routing
o TCP keeps track of packets, ensuring they remain free of error and arrive to client in same order as was transmitted

32
Q

IP

A

o Internet Protocol
o Operates at the network layer
o Handles creation of data packets and how they are routed around the network to their destination
o Done using IP addresses (code that identifies a computer network or particular computer or device, unique for every computer on Internet)
o IP ensure that correct IP address is attached to every packet of data so delivered to right destination

33
Q

TCP/IP

A

Often combined into one family of protocols
TCP tracks packets and ensures arrive error free
IP governs creation of packets and their addressing and routing across the network

34
Q

WiFi
o

A

Radio wave technology that allows devices (phones, laptops, TVs, printers) to communicate with each other and to access the Internet wirelessly
o Operates at the physical layer
o Manages the flow of data around a WiFi network

35
Q

VOIP

A

Voice over Internet Protocol
Number of methods which are designed to deliver voice data (and video) over Internet
Facetime, WhatsApp, Skype all use VOIP methods

36
Q

Gateways –

A

connect networks with different protocols

37
Q

Routers –

A

Forward data packets between computer networks (between internet and home computer)

38
Q

Network bridges –

A

Create single network from multiple network segments

39
Q

Network switches -

A

forward data only to devices that need it

40
Q

Repeaters –

A

receive and re-transmit data, often used in fibre optic cables to boost signal strength

41
Q

Cloud Computing

A

Refers to storing, processing, and accessing data, programs, or services over the Internet on servers designed for these purposes
Managed and hosted by companies that provide various cloud services
Company is responsible for keeping data available, accessible, and secure
Customers pay for as much storage and processing power they require
Providers include Dropbox, Google Drive, and Amazon Cloud
Easy to share information between users and have remote access to files
Risk of security breach and need internet connection to access files