Oh Shit Prelim in 3 days Flashcards
(35 cards)
What is Breakpoint
A breakpoint forces executing code to pause at given points, allowing the current values of variables to be examined.
What is the role of the address bus
The address bus is uni-directional
It passes addresses one way, from the CPU to RAM.
What is the role of the data bus
The data bus is bi-directional.
It can carry data to main memory from the processor and vice versa.
What is meant by fetch execute cycle
Processor sets up the address bus and the address location that is required.
Processor activates the read line on the control bus
The instruction is fetched from the memory using the data bus
The instruction is interpreted in the memory location using a decoder and is carried out.
What is cache memory
Cache is a small amount of memory which is a part of the CPU. It is used to temporarily hold instructions and data that the CPU is likely to reuse.
List 3 offences under the computer misuse act of 1990
Unauthorised access to computer material
Unauthorised access with intent to commit or facilitate a crime
Unauthorised modification of computer material.
What is a tracking cookie
A cookie is a small data file created when you access a website. These can be used to store your personal preferences or log in details so you don’t need to re-enter these details.
What is the difference between a DoS and a DDoS attack?
DoS attacks range in duration and may target more than one site or system at a time.
DDoS attack comes from multiple computers instead of just one.
Describe the role of the client when developing software using agile
methodologies
The client:
Details requirements
Outlines scope and boundaries
Evaluates prototype/suggest changes
When Evaluating a program, what are the four main steps?
Fitness for purpose Efficient use of coding constructs Usability Maintainability Robustness
What is the precision of a number
The number of digits quoted in the mantissa indicates the precision
What is the range of a number
the
number of digits in the exponent is a measure of the range of numbers that can be stored
What is the range of a number
the
number of digits in the exponent is a measure of the range of numbers that can be stored
What is cardinality in terms of databases
The cardinality of a relationship defines the number of participants in the relationship. E.g. one to one, many-to-one etc
What is Breakpoint
A breakpoint forces executing code to pause at given points, allowing the current values of variables to be examined.
What is Watchpoint
To track events within a program, testers often add watchpoints. A watchpoint stops the program executing when a condition is met
Describe two ways that the use of Rapid Application Development (RAD) reduces the time taken to create a working program.
uses minimal planning/reduced analysis
involves the creation of prototypes/working
State two benefits of using parameter passing rather than global variables.
Reduces clashes between variable names
Aids modularity
What is meant by a function
Returns a single value (used in
assignment)
What is a dry run?
A dry run is the process of a programmer manually working through their code to trace the value of variables.
How many bits does ASCII contain?
7 bits
How many bits does ASCII contain?
7 bits
How many bits does Ext Ascii contain
8 bits
Adv of ASCII
less space than unicode
one language