MOCK REVISION 16th of June 2021 Flashcards
What is the waterfall lifecycle model and when is it used? - in addition mention drawbacks/advantages
In the waterfall model every step is completed one at a time from beginning to end. Each step has specific outputs that lead into the next step. The user / customer is involved at the start of the process and in the analysis but has little input until the evaluation. It is suitable for small projects - but the absence of user involvement is a serious drawback . It is possible to return to a previous stage but the model shows that the developers then have to work back down the following stages.
What is the Spiral model and when is it used? - in addition mention drawbacks/advantages
The spiral model uses the same structured steps (analysis design implantation evaluation). However it introduces the idea of developing the software in iterative stages. Each loop creates a prototype. Advantage: More user involvement and it is much easier to examine a working prototype to figure what needs to be done to turn it in a working system.
What is Agile modelling and when is it used? - in addition mention drawbacks/advantages
Stages of software development may not be completed in a linear sequence. Some parts of the analysis might not be completed while some parts are implemented. This is a NON-LINEAR APPROACH. Prototypes are built to make sure that the project is in line with user requirements. It’s success depends on - Keeping the model simple
Rapid feedback from user
Understanding that user requirements may change
Being prepared for incremental changes.
Explain the Fetch decode execute cycle (treat this as a 6 mark question)
Fetch: Contents of Program Counter / PC are transferred to Memory Address Register / MAR
the address bus is used to transfer this address to main memory
The transfer of content uses the data bus
Contents of addressed memory location loaded into the Memory Data Register /
MDR
Increment (contents of) Program Counter / PC A. at any part of fetch process
after transferring PC to MAR
Increment Program Counter / PC and fetch simultaneously
Contents of MDR copied to CIR
Decode:
Decode instruction held by the (Current) Instruction Register / (C)IR
The control unit decodes the instruction
Instruction split into opcode and operand
Execute:
If necessary, data is fetched
If necessary, data is stored in memory
The opcode identifies the type of operation/instruction to be performed (by the
processor)
Result (may be) stored in register/accumulator
The operation (identified by the opcode) is performed by the processor. A. ALU
Status register updated
If jump / branch required Program Counter/PC is updated
Remember this for full marks in ANY FDE question
What is a LAN? - in addition mention drawbacks and advantages
A local area network is a computer network that interconnects computers within a limited area. Some advantages of LAN are Resource Sharing, Software Sharing, Improved Security and Centralized date.
Some disadvantages are Implementation Cost, Maintenance, Malware Spreading and Area Coverage.
What is a WAN? - in addition mention drawbacks and advantages
A wide area network is a telecommunications network that extends over a large geographic area for the primary purpose of computer networking.
Advantages -
Boosts your privacy
Increases bandwidth
Disadvantage -
Maintenance Issues of the main data center
Security issues.
What is a standalone machine?
A standalone machine is a piece of hardware that can work independently. This can be machines such as fax machines.
What are the advantages of LAN over a standalone machines
In a LAN files can be easily shared and transferred from one computer to another. Moreover, the security is better than on standalone because files are not visible to other users other than the initial ones. Another benefit of LAN is that data is easy to backup as all data is stored in the file server. If a computer fails, the system will be ok as they are connected to a central server.
State all registers in the CPU and what they do.
Current Instruction Register(CIR)- The register that stores the instruction that is currently being executed
Program Counter(PC)- The register that holds the address of the next instruction to be executed.
Memory Address Register(MAR)- The register that stores the address of the date, or the address of where the data will be sent to
Memory Data Register(MDR)- The register that holds the data being transferred to and from the immediate memory
Accumulator(ACC)- The register which holds an intermediate value in mathematical and logical calculations. This is all for a very short amount of time
What is a data bus and what does it do? (treat this as a high mark question and go into detail)
The data bus is one of the three buses of the system. The data bus takes data to/from the memory to/from the CPU. This bus is bidirectional, which means that data is able to travel both ways. The amount of data a data bus is able to transfer at once is called bandwidth. Typical bandwidths are 32 bits, with newer computers being able to handle 64-bit and 96-bit data paths. This means that up to 96 bits of data can travel through a data bus every second.
What is a control bus and what does it do? (treat this as a high mark question and go into detail)
The control bus is one of the three busses of the system.
The control bus controls most of the system. It gives commands to the system and hardware of the computer. These commands are:
Read - A single line that when active (logic zero) indicates the device is being read by the CPU
Write - A single line that when active (logic zero) indicates the device is being written by the CPU
Byte enable - A group of lines that indicate the size of the data (8, 16, 32, 64 bytes)
Transfer ACK - Delivers information that the data was acknowledged (read) by the device
Bus request - Indicates a device is requesting the use of the (data) bus
Bus grant - Indicates the CPU has granted access to the bus
Interrupt request - A device with lower priority is requesting access to the CPU
Clock signal - The signal on this line is used to synchronize data between the CPU and a device
Reset - If this line is active, the CPU will perform a hard reboot
What is an address bus and what does it do? (treat this as a high mark question and go into detail)
An address bus is a computer bus architecture used to transfer data between devices that are identified by the hardware address of the physical memory (the physical address), which is stored in the form of binary numbers to enable the data bus to access memory storage
What is an input device?
Input devices are external hardware that provide signals and data to a computer.They allow humans to interact with a computer.Examples of such devices are keyboards and mice
What is an output device?
A device that allows data to be transmitted by the computer in a human-friendly form. -Monitor, Printer, Speakers.
What is the purpose of input/output devices?
To allow humans to interact with a computer, without the need of advanced technological knowledge.
What is packet switching and why is it important?
Packet switching is the transfer of small pieces of data across various networks. It is important as these data chunks or “packets” allow for faster, more efficient data transfer as bigger files can be broken down into smaller packets of 512 bytes. Every packet is given its own distinct address.
What is error checking and why is it important?
It is a mechanism implemented to check and detect errors in packets received through the network. This allows for the data to be transferred successfully without corruptions.
What are advantages/disadvantages of Packet switching?
ADV- Big files can be broken down and transferred much quicker though the network. Small files don’t need to be broken down but still travel very quickly.
DIS-Files/packets can e corrupted during transfer, thus the whole file would not be received correctly.