Upload
brendan-halker
View
218
Download
0
Tags:
Embed Size (px)
Citation preview
Begin DatablastGCSE Computing
Computer Systems
•Define a computer system
•Describe the importance of computer systems
•Explain the need for reliability
•Explain the need for professional standards
•Ethical, environmental, legal issues
CPU
TopicTopic Key PointsKey Points
PurposeFetch, Decode, Execute
instructions
FunctionFetch - Decode - Execute
Cycle
PerformanceClock speed, Caches and
Cores
Binary Logic
•Why use binary?
GateGate SymbolSymbol
AND
OR
NOT
RAM vs ROM
TopicTopic Key PointsKey Points
RAMCurrently running programs,
currently used data
ROM Startup instructions
IssuesVolatile vs non-volatile
Size
Memory
TopicTopic Key PointsKey Points
Cache Buffer, small, quick
RAM Main memory
Virtual Memory Hard drive, large, slooow
Device Types
TopicTopic Key PointsKey Points
InputKeyboard, Mouse, Webcam,
Mic
Output Speaker, Monitor, Printer
Storage Magnetic, Optical, Solid State
Processing CPU
Communication Modem, Router
Storage Devices
TopicTopic Key PointsKey Points
Magnetic HDD, Magnetic Tape
Optical CD, DVD, BluRay
Solid State Memory card, USB stick, SSD
Operating Systems
•User Interface
•Memory Management
•Peripheral Management
•Multi-tasking
•Security
Utility Programs
TopicTopic Key PointsKey Points
Security Antivirus, spyware, firewalls
Disk organisation
Defragmentation, formatting, FTP
System Maintenance
System cleanup, automatic updates, system info
Application Software
Issue vs IssueIssue vs Issue
Off the shelf Bespoke
Open Source Proprietary
Binary Numbers
•Bit - Nibble - Byte - KB - MB - GB - TB
•Convert Binary <=> Denary
•Binary Addition
•Overflow Errors
Hexadecimal
•Convert Binary <=> Hexadecimal
•Convert Denary <=> Hexadecimal
•Advantages of Hexadecimal
Representing Characters
TopicTopic Key PointsKey Points
How it works Lookup table of values
Character Sets ASCII, Unicode
Bits per character
Add 1 bit, DOUBLE the range
Representing Images
TopicTopic Key PointsKey Points
How it works Pixel colours in binary
MetadataHeight, width, resolution,
colour depth
File sizeResolution - Pixel density
Colour depth - bits per pixel
Representing Sound
TopicTopic Key PointsKey Points
How it works Sound samples in binary
Sample RateFrequency of samples, Equivalent to resolution
Bit DepthBits per sample,
Equivalent to colour depth
Representing Instructions
TopicTopic Key PointsKey Points
Machine Code Numeric values for instructions
OpcodesCode for the Operation
e.g. add, store, load, branch
OperandAddress to be operated on
e.g. #0060
DBMS
TopicTopic Key PointsKey Points
DatabasePersistent, organised store of
data
DBMS
Database Management System
Separates the program from the data
PurposeCreate, maintain and
interrogate DB
Database Components
TopicTopic Key PointsKey Points
Tables Entities, store of data
FormsInterface for the table, easy to
use, view/add/edit records
Queries Search / interrogate data
ReportsOrganised layout, snapshot of
the data
Relational Databases
TopicTopic Key PointsKey Points
Primary Key Unique for each record
Foreign Key Links to another table
Data Redundancy
Avoid duplicating dataOnly update one record
Networks
TopicTopic Key PointsKey Points
Standalone Not networked
LANLocal Area Network
One SiteBespoke Cabling
WANWide Area Network
Separate SitesUses Telecomms Infrastructure
Network Hardware
TopicTopic Key PointsKey Points
Network Card Wired, wireless, bluetooth
Modem Connect digital and analogue
Hub / RouterCommunicate between
computers
Wifi Router, built in, dongle
Topologies
TopicTopic ProsPros ConsCons
Ring Few cables Easy to break
BusIndividual
machines won’t break network
Central bus can break network
Star Most reliable Lots of cabling
Network Terms
TopicTopic Key PointsKey Points
IP AddressAddress for each machine
e.g. 192.168.0.101
MAC Address
Permanent address for each device
e.g. ethernet, wifi and bluetooth
PacketsSplit data into small parts to
send. Why?
DNSLookup table.
google.com => 217.143.12.98
Network Security
TopicTopic Key PointsKey Points
User Access Levels
Installing software, accessing key files
Password Policies
Avoid obvious passwords, change regularly?
Encryption HTTP vs HTTPS
Filtering Blocked websites
Network Policies
TopicTopic Key PointsKey Points
Acceptable Use
You signed one!
Disaster Recovery
Keeping the business going
Failover Redundant servers
BackupOnsite, offsite, batch,
sequential...
Webpages
TopicTopic Key PointsKey Points
HTMLRendering in web browsers, <tags>, consistent standard
Filetypes JPG, GIF, MPG, MP3, PDF
Lossless Compression
Identical when recreating the file
Small size savingLossy
CompressionSome data - and quality - lost
Significantly smaller
Programming Terms
TopicTopic Key PointsKey Points
Sequence List of instructions in order
Selection If statement
Iteration While loop, For loop
Variables Name, Type, Value
Data Types
TopicTopic Key PointsKey Points
Char & String Text
Integer Whole Number
Real or FloatDecimal Number
(Decimal Fraction)
Boolean True or False
Programming Languages
TopicTopic ExampleExample Key PointsKey Points
High Level
if score > 200:print(“You win!”)
Cross-platformEasier to
read/writeAssembl
y Languag
e
LDA 36Opcode & Operand
Hardware specificEasier to
read/write *than machine code*
Machine Code
0110 0110Opcode & Operand
Hardware specificWhat the
processor uses
Translators
TopicTopic Key PointsKey Points
Compiler
From High Level to Machine Code
Batch job - find all syntax errors
Quicker to run once compiled
Interpreter
From High Level to Machine Code
Step-by-step - Stop at first error
Quicker to edit and test
AssemblerFrom Assembler to Machine
CodeOne-to-one translation
Testing
TopicTopic Key PointsKey Points
StrategiesTest the boundaries
Valid, Invalid, Extreme
Syntax ErrorMis-typedWon’t run
Logic ErrorValid syntax - it runs
Doesn’t do what you intended