CAPE Computer Science Unit 2 · 2011 · Paper 2
34 questions and parts from this paper. Open one to see it in full, then practise it on Quelpr and get it marked against the mark scheme.
- 1(a)(i)2 marksDefine the term 'Abstract Data Type' (ADT).
- 1(a)(ii)3 marksExplain how a stack ADT is implemented.
- 1(b)8 marksWrite an algorithm to remove an element that is at the bottom of a stack, maintaining the relative positions of the remaining elements. (An appropriate auxiliary structure may be used.)
- 1(c)7 marksGiven the circular queue shown in the diagram, draw a diagram illustrating the queue after inserting letters L and Y, removing three letters, and then inserting letters E and Z.
- 1(d)5 marksDescribe how an array of n items is sorted using a bubble sort algorithm.
- 2(a)6 marksUsing a labelled diagram, explain what a linked list is.
- 2(b)12 marksWrite a C program to store and then sort the values in the given array arr using a simple selection sort.
- 2(c)(i)3 marksExplain what is involved in linear search.
- 2(c)(ii)4 marksExplain what is involved in binary search.
- 3(a)3 marksExplain the 'waterfall approach' to systems development.
- 3(b)8 marksDescribe FOUR tasks that must be performed during the design phase of systems development.
- 3(c)14 marksDraw a Level-0 data flow diagram showing the flow of information between the customer, the company, and the various departments (sales, warehouse, dispatch, accounts) based on the described mail order scenario.
- 4(a)(i)3 marksIdentify THREE fact-finding methods available to a systems analyst undertaking software development.
- 4(a)(ii)4 marksOutline TWO deliverables from the analysis phase of the systems development life cycle.
- 4(b)(i)4 marksDescribe TWO ways in which a CASE tool can be used in a software development process.
- 4(b)(ii)2 marksState ONE advantage and ONE disadvantage of using CASE tools in a project.
- 4(c)12 marksDraw an entity-relationship model for the described university scenario involving colleges, departments, lecturers, and courses (with attributes code [primary key], name, and credit hours).
- 5(a)2 marksExplain ONE difference between an analog signal and a digital signal.
- 5(b)(i)2 marksState TWO examples of wired transmission media.
- 5(b)(ii)2 marksState TWO examples of wireless transmission media.
- 5(c)4 marksUsing examples, explain the client-server model of computing.
- 5(d)(i)8 marksDescribe FOUR network devices that may be used by the college to set up its LAN and connect to the Internet and other LANs.
- 5(d)(ii)4 marksDescribe how TWO types of transmission media can be used by the college LAN.
- 5(d)(iii)3 marksState THREE ways in which different users may be granted access to the various data and resources on the network.
- 6(a)(i)4 marksDistinguish between a 'batch processing system' and a 'multi-user system'.
- 6(a)(ii)1 markName ONE application for which a batch processing system is used.
- 6(a)(iii)1 markName ONE application for which a multi-user system would be appropriate.
- 6(b)4 marksDescribe TWO ways in which files can be protected.
- 6(c)(i)1 markState what an interrupt is.
- 6(c)(ii)3 marksBriefly explain how an interrupt is handled by the processor.
- 6(d)(i)1 markState the term used to describe the difficulty depicted in the diagram involving Process A, Process B, Resource 1, and Resource 2.
- 6(d)(ii)3 marksOutline the conditions under which such an event would occur.
- 6(d)(iii)4 marksExplain TWO ways in which the difficulty outlined in part d(i) could be resolved.
- 6(e)3 marksBriefly explain how the round-robin scheduling algorithm works.