3.2 Logic gates and logic circuits
363 questions in this subtopic. Open a question to solve it and check the official answer.
Logic gates and logic circuits · 3 marks · official answer ready
(b) Simplify your solution by removing redundancies. Column S T U V W X Y Z Grade C in Conditions Computer Science Grade C in Maths Grade C in Science Take Computer Science Action…
Logic gates and logic circuits · 14 marks · official answer ready
(d) B can be moved into A, if B is furniture, A is a room and B is not already in A. Write this as a rule. canBeMovedTo(....................................... , .................…
Logic gates and logic circuits · 10 marks · official answer ready
(a) Six letters are stored, starting at the location labelled LETTERS. A program is needed to perform a linear search on LETTERS to find the letter 'x'. The program counts the num…
Logic gates and logic circuits · 5 marks · official answer ready
(b) A simple calculator is to be created. The calculator is to be used as follows: • User inputs 2 numbers (x and y). • User inputs an operator (+, –, * or / ). • The calculator c…
Logic gates and logic circuits · 5 marks · official answer ready
(a) Mimi is a person who likes chocolate but does not like sushi or lettuce. Write additional clauses to represent this information. 17 ...........................................…
Logic gates and logic circuits · 6 marks · official answer ready
(c) B might like A, if B is a person, A is a food and B does not dislike A. Write this as a rule. might_like(.................................................. , .................…
Logic gates and logic circuits · 3 marks · official answer ready
(i) The following sequence of steps (1 to 7) describe how a single page is printed on a laser printer. The statements A, B, C and D are used to complete the sequence. The paper pa…
Logic gates and logic circuits · 2 marks · official answer ready
(i) Describe how the data logger calculates the parity bit for each of the bytes in the data block. ...............................................................................…
Logic gates and logic circuits · 5 marks · official answer ready
(i) Print head .......................................................................................................................... .........................................…
Logic gates and logic circuits · 2 marks · official answer ready
(ii) Stepper motor ........................................................................................................................................... ....................…
Logic gates and logic circuits · 2 marks · official answer ready
(i) Explain why a personal computer (PC) needs an operating system (OS). ..........................................................................................................…
Logic gates and logic circuits · 4 marks · official answer ready
(ii) One of the tasks carried out by the OS is the management of the use of the processor. Name and describe two other management tasks that the OS performs. 1 ...................…
Logic gates and logic circuits · 3 marks · official answer ready
(i) The following sequence of steps (1 to 7) describe how a single page is printed on a laser printer. The statements A, B, C and D are used to complete the sequence. The paper pa…
Logic gates and logic circuits · 1 mark · official answer ready
(ii) State the name given to the type of operators to which AND and OR belong. ....................................................................................................…
Logic gates and logic circuits · 3 marks · official answer ready
(iii) Evaluate the expressions given in the following table when the variable values are as follows: FlagA TRUE FlagB FALSE FlagC TRUE Expression Evaluates to FlagA AND (FlagB OR …
Logic gates and logic circuits · 1 mark · official answer ready
(a) The steps involved in the login process are described as follows: • User enters their ID and password. • Validation checks: Compare user ID with data from the file. Indicate w…
Logic gates and logic circuits · 17 marks · official answer ready
(a) Stepwise refinement is to be applied to the following three steps. After a user logs in, a welcome message is produced as follows: 1. Search for the user ID in the file. 2. Re…
Logic gates and logic circuits · 20 marks · official answer ready
(b) An initial identifier table is created as part of the stepwise refinement. A section of the table is shown. Complete this table. Identifier Data type Description SearchUserID …
Logic gates and logic circuits · 14 marks
4 WRITEFILE (MyFile, "Data is " & String2) [6] (b) An initial identifier table is created as part of the stepwise refinement. A section of the table is shown. Complete this table.…
Logic gates and logic circuits · 2 marks · official answer ready
(i) Suggest a suitable separator character. Give the reason for your choice. Character ............................................................................................…
