3.2 Logic gates and logic circuits
388 questions in this subtopic. Open a question to solve it and check the official answer.
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…
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…
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' '…
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 .....…
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…
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 …
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…
Logic gates and logic circuits · 1 mark · official answer ready
4 (ii) State whether or not this is a well-balanced tree. .........................................................................................................................…
Logic gates and logic circuits · 15 marks · official answer ready
(i) Explain what is meant by a simulation. ........................................................................................................................................…
Logic gates and logic circuits · 14 marks · official answer ready
(ii) Describe why a computer is suited to carry out a simulation. .................................................................................................................…
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 ...........................................................…
Logic gates and logic circuits · 15 marks
(i) Name two other input variables which will be used. 1 ..........................................................................................................................…
Logic gates and logic circuits · 14 marks
(iii) CountBig('Y', ScoreC, 18) .......................................................................................................................................[1]
Logic gates and logic circuits · 14 marks
(iv) CountBig(ScoreC, 19, 'N') .......................................................................................................................................[1]
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…
Logic gates and logic circuits · 3 marks · official answer ready
(i) Describe what is meant by parallel changeover and pilot changeover. Parallel changeover .......................................................................................…
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 .....................................................................…
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…
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 ..........................................…
Logic gates and logic circuits · 2 marks · official answer ready
(ii) Name and describe a method of changeover that would not be appropriate. Name .................................................................................................…
