extra extra exra Flashcards
Server side power
Can perfrom large calculations faster
HTML
Structure and content of a web page
NIC
Built in connect to network by providing it with a unique mac adress
overloading
Methods bnehave different depending on parameters
APPlication
Protocols being used in relation to the application being used
Pipelining
One instruction can be fetched while another is
being decoded…
● …and another is executed
● The output of one process/instruction is the input of
the next.
● Concurrent processing of multiple instructions //
completing multiple FDE cycles at once
Importance of Acummulator
Holds all input/output
● Holds results of calculations (from the ALU)
● Checked for conditional branching (e.g. BRZ)
● Stores data which has come from the MDR/RAM
CISC
Physically larger
What else does record locking cvause
Delays
Optimisatin
Faster and less resources
Some other examples of exchanging data
● XML
● SQL
● APIs
How does lossy depend on bandwith
Compression ration adjusted depending on bandwith buffer more and slower to start when less bandwith
Compilers v interpreters source code
Visible qith interpreter invisible with compiler
Compiler v interpeter errro
Compiler lists them all interpreter stops at first one and lists it
What is Ai used for
Computer systems that are required to perform tasks that normally require human intelligence
What is machine learning
Where a machine improves its performance/throughput through experience and access to data
Ai follows programming so
programming bias will affect it
machine learning bias depends on
Data given
More data for machine learning means
Less bias
Waterfall is
Structured
Waterfall imrpovements onlyh made
When previos step is completed
Spiral relies on
frequent client feedback
Waterfakk relies on
Getting requirements correct form the start
Waterfall for big team as
clearly defined responsibilities at each stage
Why would round robin be used
Multitasking
switch between active and processes running in background
Ensure OS cycles through all processes to handle interrurpt immediately
APPLICATION
Functional
Reuses functions
What is sql used to do
Select and manage data
Where does control unit send signals between
control unit sends control signals to control buses
Advantages of procedural programming
procedural are easy to write and interpret, rigid syntax and fault tolerance
What is polymorphism
objects can behave differently depending on their class. There are two categories of polymorphism: overriding and overloading
Javascript
Add interactivity to webpages
End to end encryption
Strong
Standards v protocols
A protocol defines a set of rules used by two or more parties to interact between themselves. A standard is a formalized protocol accepted by most of the parties that implement it
Rsic space
When space is limited
Head tag
Metadata and link style sheets
Header tag
Intoduction or navigatory links
Consistency
Transactions follow rules
What is OS
An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs. The operating system is an essential component of the system software in a computer system. It acts as an intermediary between users and the computer hardware.
CSS
CSS (Cascading Style Sheets) is a stylesheet language used in web development to control the presentation and layout of HTML (HyperText Markup Language) documents. The primary functions of CSS are:
Advantages of compilers
Performance (2 marks):
Compiled code generally runs faster than interpreted code because it is translated into machine code that the processor can execute directly, without the need for further translation at runtime.
Error Checking (1 mark):
Compilation involves a thorough check of the entire code for errors before execution. This allows many syntax and semantic errors to be caught early, reducing the likelihood of runtime errors.
Optimization (1 mark):
Compilers can optimize the code during the compilation process to improve performance and efficiency. These optimizations can include code inlining, loop unrolling, and other techniques.
Disavantages of compiler
Compilation Time (1 mark):
Compilation can be time-consuming, especially for large programs. This can slow down the development process as the entire program needs to be recompiled after changes.
Debugging (1 mark):
Debugging compiled code can be more challenging because errors are identified at compile time, and the generated machine code may not directly correspond to the original source code, making it harder to trace the cause of errors.
Advantages of interpreters
Development Speed (2 marks):
Interpreters execute code directly, allowing for quicker testing and debugging. This is particularly useful in the development phase, where changes can be tested immediately without the need for recompilation.
Platform Independence (1 mark):
Interpreted code can be more portable across different platforms, as long as the interpreter is available on each platform. This means that the same source code can be run on different operating systems without modification.
Memory Efficiency (1 mark):
Interpreters can execute code that may not fit entirely in memory at once, as they translate and execute one statement at a time. This can be advantageous for memory-constrained environments.
Disadvantages of interpreters
Performance (1 mark):
Interpreted code typically runs slower than compiled code because each instruction needs to be translated at runtime, which adds overhead.
Runtime Errors (1 mark):
Since interpreters translate code at runtime, errors are detected as the program runs. This can lead to runtime errors that may not be discovered until that part of the code is executed, potentially causing the program to crash.
Negatives of concurrent processing
Overhead, rquire complex programming, Multiple processes or threads competing for the same resources, such as CPU, memory, or I/O devices, can lead to contention
Some other methods of capturing data
Sensors, scanner importing from file
Not equal
!=
When a request is sent to the server what will it have
A thread
Multiple requests same time
Concurrent so two external companies can sell tickets without risk of two people buying one seat
In karnaugh maps what can you do
Only change the value of one bit
Absorption law
Absorption law A and (A or B) = A and A or (A and B) = A
Do not accept what for HTML
lAYOUT FORMAT
Assume by ref or val
Val
2 uses of data mining
Fraud Detection (1 mark):
Data mining techniques can detect patterns and anomalies in transactions that may indicate fraudulent activity. This is particularly useful in the banking and finance sectors for identifying suspicious behavior and preventing fraud.
Predictive Maintenance (1 mark):
In manufacturing and other industries, data mining can be used to predict equipment failures before they occur by analyzing historical maintenance data and operational metrics. This helps in scheduling timely maintenance, reducing downtime, and saving costs.
What is thinking logically
Thinking logically in computer science means using clear and organized reasoning to solve problems or make decisions. It’s like following a recipe step by step to cook something delicious. Here’s how it works:
What is a word
the fundamental unit of data in a computer’s memory, usually consisting of a fixed number of bits representing a piece of information such as a number or character.
trace v variable wath
“trace” involves step-by-step monitoring and recording of variable values during program execution, while a “variable watch” is a mechanism that allows specific variables to be monitored continuously for changes during debugging
Some other advantages of relational databases
Data Integrity: Relational databases enforce data integrity through constraints like primary keys, foreign keys, and referential integrity, ensuring accurate and consistent data.
Flexibility: They allow complex queries using SQL (Structured Query Language) for retrieving, updating, and deleting data, offering powerful data manipulation capabilities.
Scalability: Relational databases can handle large volumes of data and support scalability through techniques like indexing and partitioning.
Normalization: Relational databases support data normalization, reducing redundancy and improving efficiency in data storage.
Disadvnatages of relational datbases
Complexity: Setting up and maintaining relational databases can be complex and require skilled database administrators.
Performance Overhead: Join operations and complex queries can lead to performance overhead, especially on large datasets.
Cost: Relational databases may require costly licensing fees for proprietary software, and scaling may involve additional hardware expenses.
Learning Curve: Using SQL and understanding relational database concepts may have a steep learning curve for beginners.
Advanatges of flat file
Simplicity: Flat file databases are simple and easy to understand, making them suitable for small-scale projects or simple applications.
Portability: Flat file databases are portable and can be easily transferred or shared between systems as they are stored in plain text or binary format.
Speed: Flat file databases can be faster for simple read and write operations compared to relational databases, especially for small datasets.
Low Overhead: Flat file databases have low overhead in terms of system resources and do not require a database server, making them lightweight
Disadvantages of flat file
Limited Functionality: Flat file databases lack advanced features like data integrity constraints, complex querying capabilities, and transaction support found in relational databases.
Redundancy: Flat file databases may lead to data redundancy and inconsistency, as there is no built-in mechanism for enforcing data integrity or normalization.
Scalability: Flat file databases may not scale well for handling large volumes of data or complex relationships between data entities.
Maintenance Challenges: Updating and maintaining data consistency in flat file databases can be challenging, especially as the dataset grows or evolves over time.
thinking ahead
involves anticipating and addressing future challenges or requirements in software design and development during the initial planning stages.
Which contaions adressing mide
Opcode
Explain depth first
How to link external style sheet
SQL range is
Inclusive
Dequeue
Returns
Polynomial
n squared
ponential
2 to the n
What is body tag
Everything you see in web page apart from title
Title is in
Head
hash table
TO know where to store something
passwords
Hashing
Referential integrity
Whenever a foreign key must relate to a valid existing primary key and ensures rewlations between tables remains consistent
How to do branching in lmc
What is pipelining
pipelining is a technique used in CPU design where multiple instruction phases (fetch, decode, execute, etc.) are overlapped to improve instruction throughput and overall performance.
Embdedded system
System with dedicated functionality held in ROM FOR A SPECIAL PURPOSE DEVICE
What is memory management for
memory management for processes that are running
Modelling performance
Simulating behaviour of a system by testing it under different virtual user and system loads
Server side
Server-Side Processing: Used for secure, resource-intensive tasks that require server resources or database interactions.
Client side processing
Client-Side Processing: Used for immediate feedback and interactivity directly on the user’s device.
Disadvantages of concurrent processing
Overhead, Potential for Data Inconsistency:
If proper synchronization mechanisms (like locks, semaphores, or monitors) are not used, concurrent access to shared data can lead to inconsistencies and unpredictable behavior. This can compromise the integrity of the data and cause errors in the application’s output.
Disadvatnages of virtual machines
A disadvantage of virtual machines is that they can have lower performance compared to physical machines due to the overhead introduced by the hypervisor and resource sharing among multiple VMs.
Unicode bits
16
Inner html
In head
Negative binary numbers to the left whatdo you fill
Ones
A in acid
Partially processed
When does the program counter increment
Same time as data is moved from MDR to CIR
What would you say for operand
determines value to be oprated on depedning oin mode of adressing
How to know for post order
Be above the line
For insert into
Insert into table name
so compiled code completely recompiled when change made but interpreter has to be run each time so which is quicker
Because compilers are slower than interpreter
2 inputs for d type flip flop
clock signal and control input or other way round
CSS
CSS styles webpage using selecters such as ids or classes
HTML
format using enclosed tags and structure and contents
What is not possible with cisc
Pipelining
Uses of risc
smartphones laptops
CISC
Laoptops, pcs, microcontrollers and embedded systems
Harcard
Embedded system, digital signal processing
Von neuman
Conventianal pcs and laptops
Router v bridge
A router operates at the network layer (Layer 3) of the OSI model and forwards data between different networks, while a bridge operates at the data link layer (Layer 2) and connects segments within the same network.
What do you fill to the left with neative numbers
1s
true or flase inner html
.checked
Advantages of polymorphism
Easier Code Management: Polymorphism allows you to write a general method that can work with different types of objects, making your code more organized and easier to manage.
Flexibility in Code: It lets you use one method in different ways for different objects, making your code more flexible and adaptable to changes.
Simplified Code: Polymorphism reduces the need for complex conditionals (like if-else or switch statements), leading to cleaner and simpler code.
Declaritive
where you write code that describes what you want to achieve, rather than how to achieve it. This means you focus on the desired outcome
When do d type flip flops store hte value of a bit
d type flip flops store the value of a bit WHEN a signal is given
MAC adress
mac address is 48 bits oe 12 hex bits
Unicode is
Variable sized bits
Pre emptive
OS actively starts nad stops
Non pre emptive
Once it started ghas to finish
Chanining
Linked lsit one
When does PC increment
Same time it is copied from MDR to CIR
How to brnch lmc
BRP Positive
Positive LDA 10
10 lmc
ten dat 10
CISC in lmc
Mult A,B
IS pipelining concurrent or simultaneous
Concurrent
How to delete tabler
Drop table tablemane
Add alter
No column
Creating adn dropping table
When you have to say table table name as well as alter
What does RIPA also require for ISPS
Suitable monitoring hardware on there network
Some things for automated decision making
*Used to control what is
shown first on social
networking feeds.
* May create an “echo
chamber” where people
are not exposed to
views which challenge
their own.
*Used in application
processes such as for
mortgages or credit
cards.
*Relying entirely on
automated decisions
could mean people are
unfairly treated.
What is artificial intelligence
- The ability of a computer system to behave in a way which
replicates human intelligence, analysis and decision
making.
*Backed by a large knowledge base.
What is Ai used to do
*Used in systems designed to replicate system experts.
*Used to analyse huge datasets.
*Used in medicine to form diagnosis
*Used in neural networks for pattern and fraud
identification.
*Used in voice recognition.
*Raises privacy concerns.
Introduction of data protection act
*Applies to data stored electronically and on paper
* Covers personal data, defined as data which either
alone or in conjunction with other data can be used to
identify a living person.
*Any individual who can be identified by personal data
is know as the data subject.
*Superseded in 2018 by the European General Data
Protection RegulationsW
What is big data
- Large amounts of data from
different sources can be pulled
together. This is known as big
data. - This can identify patterns or
other connections. - This data can reveal a lot about
individuals and their behaviour. - It can also be used to target
advertisements.
What do people argue about big data
Many people argue large
companies should be more
transparent about how they are
doing this.
*People argue organisations have
a responsibility to share trends
they find.
Electronic waste
- Electronic waste is sometimes shipped
to countries with lower disposal
standards.
Why is there so much waste
Technology evolves quickly and is more
widely accessible than ever before.
* Modern devices are not always
designed to be repaired if they break.
* This results in a huge number of
devices being thrown away.
Electricity
Computers and associated servers and
equipment require huge amounts of
electricity to power and cool them.
* This is often generated by burning
greenhouse gasses.
Act about quality
- The Equality Act 2010 makes it illegal to
discriminate against a group of people.
Embedded
Less resource intensive andlimited functionality
What is OOP good for
Useful for problems which
can be broken down into
distinct components
What is polymorphism
– allows objects to behave differently depending on
their class.
packet switching
Breaks up into packets
closed source
Typically less funding so less features and updates