Looks like no one added any tags here yet for you.
What is a processor?
A processor, also known as a central processing unit (CPU), is the primary component of a computer responsible for executing instructions, performing calculations, and managing data.
Define Clock Speed
Clock speed refers to the number of cycles per second that a processor can execute instructions. It is measured in Hertz (Hz) or gigahertz (GHz).
What does the ALU do?
Performs operations on data e.g. Addition, subtraction
What does the Control Unit do?
Coordinating activities of the CPU
What are registers?
Quick, small stores of data within the CPU
What does the MAR do?
Holds memory address for data or a instruction about to be used by the CPU
What does the MDR do?
Holds actual data or instruction
What does the Accumulator do?
Stores results of calculations in the ALU
What does the PC do?
Holds memory address of the instruction for each cycle
Explain FDE Cycle
Fetch-The next instruction is retrieved by CPU from main memory
Decode-The instruction is broken down and decided so computer can understand
Execute-The CPU performs what the instructions told
What is an embedded system?
A computer system built within a large device e.g. Camera, washer, car
Define volatile
Memory loses its data when power off
Define non-volatile
Memory retains its data when power is lost
What are buses?
Collection of wires that carry signals between various components of the computer system
What is the CPU?
Processes all of the data and instructions that make the system work - can be effected by clock speed, number of cores, cache size
Define virtual memory
A memory management procedure needed when the RAM is full so a temporary section is made which acts like a part of RAM
Define Flash memory
Solid state storage, non-volatile, more reliable/durable but can only be overwritten a limited number of times
Info on Optical Storage
CD, DVD, Blue-ray
+: cheap, easy to transport
-: slow, less storage than hard drives, stored data degrades over time, cannot be written over
Info on magnetic storage
Hard drives
+: fast access, stores large amounts of data, low cost
-: not very portable, easily be broken
Info on SSD:
USB, flash memory, SD
+: fast, small, light, easily potable, quiet
-: more expensive, storage capacity less, limited number erase/write cycles
Info on cloud storage
Data is stored on multiple servers in a remote location
+: secure, can be accessed anywhere, no need to buy
-: needs internet, download and upload can be effected by internet connection, less control if data is held
Define command line interface
Text commands where user has to type in command
What does Utility software do?
maintains a computer
What is defragmentation software
reorganises data on the hard drive to put fragmented files back together and moves files to collect all the free space
Info on backup software
Full Backup - a copy is taken from from every file on the system
Incremental Backup - only files created or edited since last backup are copied
Info on compression software
reduces file size so they take up less space on hard disk
Info on encryption software
scrambles data to stop others from accessing it
Info on Open Source software
source code is made freely available and users can modify it
+: free, ,made for greater good, can be adapted
-: small, buggy, security holes, no warranties, no customer support
Info on propriety software
only the compiled code is released and the source code is kept a secret
+: warranties, well-tested, reliable, cheaper
-: expensive, software may not fit user needs
What is a PAN
Personal Area Network
within the range of an individual person
What is a LAN
Local Area Network (LAN)
a network that connects devices close to each other e.g. school, house
Can be wired or wireless
infrastructure owned by LAN owner
Each device known as a node
What is WAN
Wide Area Network (WAN)
a network within a large geographical area e.g. internet
Define bandwidth
amount of data that can be transferred in a given time
What does a NIC do?
Network Interface Card
allow a device to connect to a network
Use of a switch
connect devices on a LAN
Use of a router
responsible for transmitting data between networks
Info on Ethernet
a set of standards for connecting computers
Info on Client-Server Network
client has connection to server, servers can backup and store centrally but can be expensive and difficult to maintain
Info on a peer to peer network
no central server, each computer equal in responsibility, have to work as both server and a client.
+ and - of a star topology
+: better performance, rest of network not affected in one fails, simple to add more devices
-: wire needed for all devices, expensive
+ and - of a mesh topology
+: faster
-: expensive
info on MAC address
assigned to all devices, unique to all devises and cannot be changed, permanent, identifies the actual device.
Info on IP address
assigned either manually or automatic, the location of your device on the internet
Info on packet switching
Split data into packets to be sent across the network, each packet given a number order of data, each router reads packet header and decides which way to send it according to IP rules, packets then arrive and reassemble them in the right order.
Define paradigm
A model for something explains it or shows how it can br produced
Why do we need different paradigms
Different programming languages follow different paradigms
Some languages are better suited to solving particular computational tasks than others (e.g. querying a database, voice recognition, bitcoin mining)
What is procedural programming
Instructions given in sequence
Selection used to decide next instruction
Iteration used to repeat instruction(s)
Functions and procedures
BASIC,COBOL, PASCAL,FORTRAN,C
What is Object Oriented Programming
Language model organised around objects and data (not actions and logic)
Java, Python, C++,VB.net ,Ruby, Objective C
Objects are components of an OOP programs that performs certain actions and knows
A program is written using an OOP paradigm and uses a class called song to organise the songs that are streamed to customers
The class song has these attributes:
title
number of listens
rating
The constructor method will set the name attribute to the name that is passed in as a parameter. The constructor will also initially set the number of listens to 0 and the star rating to 0
What is Functional Programming
Language based on and built around mathematical functions
Erlang, LISP, Haskell, Scala, ML
Info on Programming Languages
Lots of different languages
Constantly evolving
Set of instructions for the processor
Must be converted to binary
Machine code
Info on machine code
Each instruction represented in binary
Processor has an instruction set that it understands
Different sets for different processors
Operation Code (Opcode)- the instruction to be performed (e.g. Add, Store, Subtract)
Operand-data to be used or its memory location
GOLDEN HANDCUFFS-brilliant but can’t go outside of it and edit it
Method for remembering classes
Classes are the blueprints of an object that can be reused. If we take an example of a person, we could say that a person has a name, can do things like speaking and walking. This would be our blueprint. We can create multiple objects of this class by instantiating them, a bit like jelly coming out of a jelly mould. When an object is created, it has a method in the class called the constructor that sets up all the properties a newly created object should have.
What is inheritance
Inheritance uses the ideas of parent and child (super- and sub-classes) to abstract certain behaviours and attributes for similar classes.
What is inheritance?
Encapsulation is a way of ensuring that methods and attributes have the right permissions set for accessing and altering data. This is sometimes called information hiding. These are usually termed as public and private and are usually used to stop data from being changed accidentally.
What is polymorphism
Polymorphism is a property of OOP that allows the programmer to make a program accept any data that they want into a method and it will be able to cope with it.
What is logic programming
Problem expressed as set of facts and rules
Define lossy and lossless compression
Lossy compression- An algorithm that makes a file storage space smaller but the accuracy with which it represents data is reduced
Lossless compression-An algorithm that makes a file storage space smaller but accuracy with which it represents data is not reduced
Advantages to the user of a file being compressed
Downloads quicker. Saves user money by using less bandwidth
Why is lossy compression ok for photos?
Some loss of detail is acceptable
Unlikely to be noticeable
Will make the file size smaller than lossless
Waterfall Method of Software development
Spiral Method of Software Development
A:
Reduced risk
Suitable for large projects
Good documentation control
Additional functionality can be added later
Software produced early in lifestyle
DA:
Can be very costly
Risk analysis requires high level of expertise
Success dependant on risk analysis
Not suitable for smaller projects
RAD software development
A:
End user involvement increases flexibility
Prototype provides tangible product early on
Shortened dev cycle
DA:
Inefficient for large scale projects
Results focused-solution may be inefficient
Changing user requirements
Extreme programming software development
Type of agile software development
Focus on programming
Short iterations
User requirements drip-fed
Flexible process
A:
cost effective
robust solutions
meet user requirements
DA:
Needs constant end-user involvement
No quality assurance of coding
Often poorly documented
Info on redundancy
Multiple identical systems in different geographical locations
Transactions written to each systems
Provides immediate backup in case of system failure in 1 location
Info on Commitment Ordering
Serialisation technique
Priority awarded to transactions based on dependencies and timestamps
Prevents deadlock by blocking request until previous transaction is complete
Info on Serialisation
Only 1 transaction happens at a time
Overlapping transactions may result in loss of data
Implemented using timestamp ordering
Info on Timestamp Ordering
Timestamp issued at start of transaction
Earlier timestamp given priority
DB objects have ‘read’ timestamp AND ‘write’ timestamp
Timestamps updated whenever object is read or written
Info on Record Looking
Only 1 user can access a record at a time
Prevents data inconsistencies
Can result in Deadlock
Deadlock Resolution
DBMS is responsible for identifying and resolving deadlock (Timestamp ordering, serialisation, commitment ordering, redundancy)
Info on ACID
Set of rules that DBs use
Ensure no inconsistent changes made
Refer to transactions (actions that bring about a change to the data)
A- Atomic- A change is either completely performed or not at all
C-Consistent-A transaction must take a database from 1 consistent state to another
I-isolated- A transaction should not be visible to any other transaction or user until it is irrevocably committed
D-Durable- Once a change has been made, it must not be lost due to any subsequent failure
info on referential integrity
Every value of 1 attribute of a table must exist as a value of another attribute in another table
Changes to a DB might not make sense. E.g. Delete songs from your music library, playlist still refers to songs, playlist cannot locate the songs to play them
DBMS allows enforcement of referential integrity to prevent inconsistent changes
info on domain integrity
Data must be of a predefined type (e.g. string)
info on Entity Integrity
Each row in a table must have a unique identifier
Info on DB integrity
Ensures data is entered into DB is:
accurate
valid
consistent
Validation rules to enforce
May be compromised by malicious individuals, poor design, accident, etc
Info on Transaction Processing
A Transaction refers to a change of state in a DB resulting from a single logical operation on data
Any relation DB requires basic functionality to be useful
All (except READ) result in transactions
Transactions must maintain DB integrity
Info on Selecting Data
Only relevant/ valid data will be entered into DB
Selection can occur during data capture (e.g. through form design)
or during data entry (e.g. Boolean)
Data retrieved from a DB using SQL statements
Info on Optical Mark Recognition (OMR)
Capture human-marked data from document forms such as surveys and tests
e.g. read questionnaires
Info on Optical Character Recognition (OCR)
Scans images of text
Converts into editable and searchable data
Used to digitise printed texts
info on automated devices
Scanners
Collect data by scanning barcodes with laser or LED lights
e.g supermarket checkouts
Smart Card Readers
Collect data electronically from card with embedded microchip
ATMs
Info on Paper-Based Forms
Paper forms designed to elicit valid data from users
Data must be manually entered
Prone to errors in data entry
e.g. passport applications
info on Web-Based Forms
Input boxes, radio buttons, check-buttons, select menus, text areas
Data validated client-side (JavaScript)
Validated data sent to server for further processing/ validation (PHP, ASP, Perl)
Data can be automatically sent into DB user server-side scripting
What is a network
linked set of resources
capable of sharing power and resources
printers
CD-ROM
DVD-Drives
databases
Connected devices
Communicate
Info on network topology
Theoretical arrangement of the components of a network
Actual arrangement determined by physical factors
Effects:
cost
performance
ease of installation
Why do we use twisted pair cabling
Both sides need an input and an output so it has to be a pair.
We use multiple twisted pairs to increase speed (more bandwidth)
Difference between hub and switch
Hub is sending packets to all devices
Switch takes packets of data to specific MAC addresses (has software to do this) (only sends to the 1 needed device). Useful for large networks as it reduces traffic, increasing the speed.
Info on bus topology
1 common linking communications cable (bus)
Nodes connecting off the table
Cheap
Slows down when heavy traffic
Lots of data collisions
Breakage to bus will affect the whole network
Limited distance coverage
Info on star topology
Shared link to server(s)
Central node is the Hub
Few data collisions
Fast, robust and cost-effective
Can set up independent segments
Hub can be another node, or switch etc.
Hub has seperate connections to each node
Info on ring topology
1 direction traffic
fast performance
1 common linking table
passes through NIC of each node
Network must be able to cope if 1 node fails
Good for high volumes of traffic
SPF
Info on mesh topology
Decentralised design
Wired or wireless
No single point of failure (SPF)
Each nodes connect to 2+ other nodes
Nodes communicate directly with each other without need for internet connection
Why use a LAN
Communications between workers
Share data/files/ info
Share peripherals, e.g. printers
Easy to upgrade machines
Logon from any connected machine
Distributed processing
What is a NIC?
Network Interface Card
Used on a LAN
Each node on the network needs a NIC in order to connect to the LAN
Allows computers to communicate over a computer network by providing physical access to the network and a unique address for each individual node (MAC address)
What is a MAC?
MAC- Media Access Control
Unique number to identify individual network interfaces
Used to communicate with physical layer of network
Can be used to restrict network access
Used on a LAN
What is a switch?
Used on a LAN
Connects network segments
No data collisions
What is a router?
Forwards data packets between networks
Receive packet
Reads address info
Use routing table/ routing policy
Forward packet to next network
Repeat until packet reaches destination
What is a WAP?
Wireless device that can be connected to a wired network
Uses Wi-fi/ Bluetooth/ related standards
Usually connects to router via wired network
Relays data between wireless and wired devices
A and DA of a wireless network
A:
No building work needed
Quick to add new workstations
Flexible deployment of nodes
Visitors can access network/ internet
DA:
Slower performance
Security issues
Info on WAN
Computers located in seperate locations
2 or more seperate LANs joined together
Satellite/ fibre-optic/ telephone lines
Infrastructure may be provided by others
The Internet
Info on SAN
Storage Area Network
Dedicated network used for large scale storage of data in data centres
Common uses of a SAN includes email servers, databases, and high usage file servers
Info on PAN
Personal Area Network
Used for data transmissions among devices (e.g. phones, tablets)
Can be used for communication between personal devices or to connect to a higher level network and/or Internet
Info on the Cloud
It is not a place
Data storage and servers moved off site
3rd party management maintenance, security, backups etc
A:
Cheaper
No in-house maintenance
DA:
Loss of control/ security
Info on peer to peer network
All nodes have equal status
Can share files and peripherals
Prone to data collisions
Overall speed of the network is reduced
Each peer can be accessed by any other
Can be implemented over the Internet… used to facilitate file sharing
Info on client-server network
Most common network architecture
Dedicated, high-spec machine
Handles data storage and processing of shared files
Handles services e.g. printing and internet access
Clients request services from the Servers
Data centres= multiple servers stacked together
Virtualised servers= more efficient and less energy consumption