Computing 9691 · 3

3.2 Logic gates and logic circuits

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

Reset
2015 October-November · Paper 22 · Q1(c)

Logic gates and logic circuits · 2 marks · official answer ready

(c) Sheena declares an array of records to store the book data: DECLARE Book ARRAY[1 : 100] OF BookRecordType At the beginning, the array elements will not contain book data. Expl…

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

Logic gates and logic circuits · 5 marks · official answer ready

(e) Sheena has entered some more book data. Write pseudocode to save the array records to the serial file BookData.DAT Only those array elements containing book data should be sav…

2015 October-November · Paper 22 · Q2(a)(ii)

Logic gates and logic circuits · 3 marks · official answer ready

(ii) Ali needs to test this function before using it in his program. Complete the table of test data. Type of data Letter Expected result (normal, borderline or invalid) 'D' 'V' '…

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

Logic gates and logic circuits · 6 marks · official answer ready

(iv) There are two other types of error that can occur when writing or executing program code. Name each type of error and describe when and how it is detected. Error type 1 .....…

2015 October-November · Paper 31 · Q6

Logic gates and logic circuits · 7 marks

6 A high-level programming language has a built-in function SumRange defined as follows: SumRange(ThisInteger1 : INTEGER, ThisInteger2 : INTEGER [Flag : CHAR]) RETURNS INTEGER ret…

2015 October-November · Paper 32 · Q1(b)

Logic gates and logic circuits · 2 marks · official answer ready

(b) A third table COURSE-MEMBER will record which members have enrolled for which courses. Show the attributes for the table. Show the primary key. You should not create a course …

2015 October-November · Paper 32 · Q1(c)

Logic gates and logic circuits · 1 mark · official answer ready

(c) The database will also store data about tutors and the instrument(s) they can teach. The following single table, TUTOR, is suggested: Table: TUTOR TutorID TutorName TutorTelNo…

2015 October-November · Paper 32 · Q4(d)(ii)

Logic gates and logic circuits · 1 mark · official answer ready

4 (ii) State whether or not this is a well-balanced tree. .........................................................................................................................…

2015 October-November · Paper 32 · Q6(a)(i)

Logic gates and logic circuits · 15 marks · official answer ready

(i) Explain what is meant by a simulation. ........................................................................................................................................…

2015 October-November · Paper 32 · Q6(a)(ii)

Logic gates and logic circuits · 14 marks · official answer ready

(ii) Describe why a computer is suited to carry out a simulation. .................................................................................................................…

2015 October-November · Paper 32 · Q6(b)

Logic gates and logic circuits · 15 marks

(b) Data will need to be collected before a simulation can be carried out. Name two datasets which will be collected. 1 ...........................................................…

2015 October-November · Paper 32 · Q6(c)(i)

Logic gates and logic circuits · 15 marks

(i) Name two other input variables which will be used. 1 ..........................................................................................................................…

2015 October-November · Paper 32 · Q6(c)(iii)

Logic gates and logic circuits · 14 marks

(iii) CountBig('Y', ScoreC, 18) .......................................................................................................................................[1]

2015 October-November · Paper 32 · Q6(c)(iv)

Logic gates and logic circuits · 14 marks

(iv) CountBig(ScoreC, 19, 'N') .......................................................................................................................................[1]

2015 October-November · Paper 33 · Q6

Logic gates and logic circuits · 7 marks

6 A high-level programming language has a built-in function SumRange defined as follows: SumRange(ThisInteger1 : INTEGER, ThisInteger2 : INTEGER [Flag : CHAR]) RETURNS INTEGER ret…

2015 May-June · Paper 11 · Q1(b)(i)

Logic gates and logic circuits · 3 marks · official answer ready

(i) Describe what is meant by parallel changeover and pilot changeover. Parallel changeover .......................................................................................…

2015 May-June · Paper 11 · Q1(b)(ii)

Logic gates and logic circuits · 2 marks · official answer ready

(ii) Give one advantage of each method in part (b)(i) when compared to direct changeover. Parallel changeover .....................................................................…

2015 May-June · Paper 11 · Q6(e)

Logic gates and logic circuits · 7 marks · official answer ready

(e) There are three parts of the chemical process being monitored. Each part is monitored by its own logic circuit. X logic circuit 1 Y logic circuit 2 logic circuit 4 W Z logic c…

2015 May-June · Paper 12 · Q5(a)

Logic gates and logic circuits · 3 marks · official answer ready

(a) The entire monitoring system is to be replaced. Give three reasons why the management of the power station has decided to do this. 1 ..........................................…

2015 May-June · Paper 12 · Q5(b)(ii)

Logic gates and logic circuits · 2 marks · official answer ready

(ii) Name and describe a method of changeover that would not be appropriate. Name .................................................................................................…