Computing 9691 · 10

Data types and structures

185 questions. Open a question to solve it and check the official answer.

2010 May-June · Paper 13 · Q8(a)(ii)

Files · 5 marks · official answer ready

(ii) Information about students which is stored in the STUDENT file is sensitive and needs to be protected. State a piece of information that would be sensitive and describe steps…

2010 May-June · Paper 31 · Q10(c)

Data types and records · 4 marks

(c) Draw a syntax diagram of REAL. You may use NZDIGIT, DIGIT, POINT and ZERO in your diagram but no other values. [4] reasonable effort has been made by the publisher (UCLES) to …

2010 May-June · Paper 32 · Q10(c)

Data types and records · 4 marks · official answer ready

(c) Draw a syntax diagram of REAL. You may use NZDIGIT, DIGIT, POINT and ZERO in your diagram but no other values. [4] reasonable effort has been made by the publisher (UCLES) to …

2010 May-June · Paper 33 · Q2(a)(i)

Files · 1 mark · official answer ready

(i) State why it is necessary to create the transaction files in serial form. [1]

2010 May-June · Paper 33 · Q2(a)(ii)

Files · 1 mark · official answer ready

(ii) State why it is necessary to turn the transaction files into a sequential file. [1]

2009 October-November · Paper 32 · Q3(a)

Files · 3 marks · official answer ready

(a) By using file A to illustrate your answer, describe how an insertion sort can be used to sort data into alphabetical order. [3]

2009 October-November · Paper 32 · Q3(b)

Files · 3 marks · official answer ready

(b) By using your sorted file A and file B to illustrate your answer, describe how a merge sort can be used to sort two files into one file in alphabetical order. [3]

2009 October-November · Paper 32 · Q3(c)(i)

Files · 0 marks · official answer ready

(i) Draw a binary tree using the data in file C and HEL as the root node.

2009 October-November · Paper 32 · Q3(c)(ii)

Files · 0 marks · official answer ready

(ii) Explain the rules which you used to draw the tree.

2009 October-November · Paper 32 · Q3(c)(iii)

Files · 7 marks · official answer ready

(iii) Describe how your tree can be used to output the file in alphabetical order. [7]

2009 October-November · Paper 32 · Q10

Files · 6 marks · official answer ready

10 Explain the importance of standardisation when developing computer solutions. [6] reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if an…

2009 May-June · Paper 1 · Q2(a)(i)

Data types and records · 2 marks · official answer ready

(i) State a suitable data type for each field. [2]

2009 May-June · Paper 1 · Q2(b)

Files · 4 marks · official answer ready

(b) Give one advantage and one disadvantage of storing files in the form of fixed length records. Relate each of your answers to the example of the stock file. [4]

2008 October-November · Paper 1 · Q5(b)

Files · 4 marks · official answer ready

(b) Describe a sensible procedure to be followed to back up the data. [4]

2008 May-June · Paper 1 · Q5(b)(ii)

Introduction to abstract data types · 2 marks · official answer ready

(ii) Give one advantage and one disadvantage of using a linked list structure to store a queue rather than using an array structure. [2]

2008 May-June · Paper 1 · Q5(b)(iii)

Introduction to abstract data types · 3 marks · official answer ready

(iii) Explain why a linked list is a more sensible structure than an array for storing a stack. [3] The remaining questions refer to the following information. A large store has a…

2008 May-June · Paper 3 · Q5(a)

Files · 6 marks · official answer ready

5 (a) Explain why standardisation across computer systems is important. In your answer you should include comments about standardisation of hardware and software, file formats and…

2007 May-June · Paper 1 · Q8(a)

Files · 3 marks

(a) Explain the relationship between files, fields and records, using examples from the car file. [3]

2007 May-June · Paper 3 · Q3(a)

Introduction to abstract data types · 2 marks · official answer ready

(a) State two reasons why it would be preferable to store the queue in a linked list rather than an array. [2]

2006 May-June · Paper 1 · Q7(a)

Data types and records · 4 marks · official answer ready

(a) State a suitable data type for each of the four fields. [4]