Download Software and Software Development A LEVEL OCR COMPUTER SCIENCE EXAM/Revision Questions wit and more Exams Software Development in PDF only on Docsity!
Software and Software Development A LEVEL OCR COMPUTER SCIENCE EXAM/Revision Questions with Verified Answers 100% Pass QO Save th eee Terms in this set (25) State what is meant by the term real-time.(] mark ) Explain why a real-time operating system would be suitable for Intensive Care Units. (2 mark ) Explain why the first come, first served scheduling method may not be efficient. (2 marks ) Describe one other scheduling method.(2 marks ) Explain why scheduling is necessary. (4 marks) The system gives a response within a guaranteed time frame. If something happens to a patient, a response must be immediate . Other types of system may have delays in response . This could result ina patient not receiving treatment in time. Once a job starts it prevents other jobs from being processed A job using a slow resource (eg printer) wastes processor time. Round robin Time slice to each user in turn. Process as many jobs as possible in least possible time. Ensure all jobs are processed fairly. Maximise number of interactive users with fast response times. Efficient use of resources. Explain why memory management is necessary. (3 marks ) Organise the use of main memory by converting logical addresses to physical addresses. Allows programs to allocate memory and protect programs. Allows programs larger than main memory to run. Paging may be used in memory management. Describe paging.( 3 marks ) Partitioning memory .Pages are fixed size .Pages are physical divisions Used for virtual memory. Explain what is meant by 'paging'(2 marks ) Parts of a program divided into equal size pieces Uses physical divisions. Explain what is meant by ‘segmentation’. (2 marks ) Parts of a program divided into unequal sizes Uses logical divisions. State two similarities between paging and segmentation. (2 marks ) Both ways of partitioning . Use virtual memory , backing store to swap parts of programs Allow programs larger than memory to run . insufficient memory Allows programs to be stored in memory non contiguously. One of the developers is responsible for writing the code for what happens when the CPU receives an interrupt. Outline what the code must do. ( 6 marks ) Complete the current FDE Cycle Check the priority of the incoming interrupt. If its of a higher priority than the current task. Contents of registers stored in memory ina stack. The relevant interrupt service routine is loaded by loading the relevant value into the program counter. When the ISR is complete the previous state is popped from the stack And are loaded back into the registers Give one disadvantage of using the waterfall lifecycle to develop the operating system. (1 mark ) If a change does occur in the requirements the lifecycle cannot respond easily, often at the cost of time and money. State what is meant by alpha testing. (1 marks ) Testing done by the programmer . Describe how Beryl will use white box testing in her program. (2 marks ) Using the source code Check every possible path / condition statements Dry Runs / Trace Tables. A software development team is writing a word game. The team is using Rapid Application Development. Describe the Rapid Application Development process. (4 marks ) - Prototype is created . Evaluated and feedback used to inform next iteration . Any changes are made .Process repeated until. prototype becomes final product. Define the term ‘utility’. (2 marks ) A program with one purpose/piece of system software used for the upkeep/maintenance of the system. State how an application differs from a utility. (1 mark ) Application performs tasks for the user rather than computer. Performs generic rather than specific tasks. In order to keep up to date with the latest virus threats, the company is continually updating their software. The programmers use an Extreme Programming approach when developing the updates. Explain what is meant by Extreme Programming and why itis a suitable approach in this case. (4 marks) Extreme programming is a software development methodology. Focus is on good quality code. It is an agile paradigm . it is designed to allow development to respond to changing user requirements. Involves paired programming - Program is regularly reviewed/iterative process. e.g.Types of virus/threat is continually changing/updating. Explain why the programmers of anti-virus software may make use of virtual machines when developing the updates.( 3 marks ) Allows them to run the update on a number of different systems without needing multiple physical machines. They can put viruses on the VM to test if the update can catch them but protect the physical machine from the virus/the YM can quickly be reset to its original state.