Computing 9691 · 10

10.1 Data types and records

88 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2016 May-June · Paper 21 · Q1(a)

Data types and records · 4 marks · official answer ready

(a) Write program code for the procedure PrintNameLine(Symbol, Name) Programming language .........................................................................................…

2016 May-June · Paper 31 · Q6(f)

Data types and records · 2 marks

6 (f) Write the binary patterns for the largest and smallest positive number that can be represented with this 16-bit format for normalised real numbers. Smallest Largest [2] 12 5…

2016 May-June · Paper 31 · Q6(f)(i)

Data types and records · 16 marks

(i) A new customer with an outstanding balance of $130 is to be inserted into the linked list. On the diagram above, add the required data to the empty node. Adjust pointer(s) whe…

2016 May-June · Paper 31 · Q6(f)(ii)

Data types and records · 25 marks

(ii) Describe the method to locate the position in the linked list for inserting a new record. Include how to change the pointer values. Ignore the special case in which the linke…

2016 May-June · Paper 31 · Q7(a)(i)

Data types and records · 1 mark

(i) source code ........................................................................................................................................... .......................…

2016 May-June · Paper 31 · Q7(d)(i)

Data types and records · 1 mark

(i) State what is meant by code optimisation. .....................................................................................................................................…

2016 May-June · Paper 32 · Q6(f)

Data types and records · 2 marks

6 (f) Write the binary patterns for the largest and smallest positive number that can be represented with this 16-bit format for normalised real numbers. Smallest Largest [2] 12 5…

2016 May-June · Paper 32 · Q6(f)(i)

Data types and records · 16 marks

(i) A new customer with an outstanding balance of $130 is to be inserted into the linked list. On the diagram above, add the required data to the empty node. Adjust pointer(s) whe…

2016 May-June · Paper 32 · Q6(f)(ii)

Data types and records · 25 marks

(ii) Describe the method to locate the position in the linked list for inserting a new record. Include how to change the pointer values. Ignore the special case in which the linke…

2016 May-June · Paper 32 · Q7(a)(i)

Data types and records · 1 mark

(i) source code ........................................................................................................................................... .......................…

2016 May-June · Paper 32 · Q7(d)(i)

Data types and records · 1 mark

(i) State what is meant by code optimisation. .....................................................................................................................................…

2015 October-November · Paper 21 · Q1(a)

Data types and records · 5 marks · official answer ready

1 (a) A college provides courses for the local community. The Computing teacher, Ravi, wants to develop a program to keep details of the courses. One way of storing this data will…

2015 October-November · Paper 21 · Q2(b)(ii)

Data types and records · 2 marks · official answer ready

(ii) The denary value of the coded number LED is 281. There is an error in the pseudocode above. Give the line number of the statement that needs correcting. .....................…

2015 October-November · Paper 21 · Q2(c)(iii)

Data types and records · 10 marks · official answer ready

(iii) Write program code to implement the pseudocode given in part (b). Remember to declare variables before you use them. The code is repeated here so that you do not need to tur…

2015 October-November · Paper 22 · Q1(a)

Data types and records · 5 marks · official answer ready

1 (a) Sheena wants to develop a program to keep details of the books she has read. One way of storing this data will be to use records. Each record will contain the fields shown i…

2015 October-November · Paper 23 · Q1(a)

Data types and records · 5 marks · official answer ready

1 (a) A college provides courses for the local community. The Computing teacher, Ravi, wants to develop a program to keep details of the courses. One way of storing this data will…

2015 October-November · Paper 23 · Q2(b)(ii)

Data types and records · 2 marks · official answer ready

(ii) The denary value of the coded number LED is 281. There is an error in the pseudocode above. Give the line number of the statement that needs correcting. .....................…

2015 October-November · Paper 23 · Q2(c)(iii)

Data types and records · 10 marks · official answer ready

(iii) Write program code to implement the pseudocode given in part (b). Remember to declare variables before you use them. The code is repeated here so that you do not need to tur…

2015 October-November · Paper 31 · Q5(b)(i)

Data types and records · 2 marks · official answer ready

(i) Complete the entries in the table. [2] 11 A new dataset of cities is used as test data: LIMA, PARIS, KARACHI, MELBOURNE, WARSAW, CAPE TOWN, EDINBURGH

2015 October-November · Paper 31 · Q5(c)

Data types and records · 6 marks · official answer ready

5 (c) An algorithm is designed in pseudocode to search the binary tree for a particular city. The algorithm uses the additional variables below: Variable Data type Description Sea…