Computer Science 9608 · 3

3.2 Logic gates and logic circuits

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

Reset
2019 May-June · Paper 21 · Q2(a)

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

2 (a) One type of loop that may be found in an algorithm is a count-controlled loop. State one other type and explain when it should be used. Type ................................…

2019 May-June · Paper 22 · Q3(a)(i)

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

(i) Write the pseudocode header for module SubA(). ................................................................................................................................…

2019 May-June · Paper 22 · Q4(b)(i)

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

(i) Explain why this error occurred when the program called the function. .........................................................................................................…

2019 May-June · Paper 22 · Q4(b)(ii)

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

(ii) Describe how the algorithm could be amended to correct the error. ............................................................................................................…

2019 May-June · Paper 23 · Q1(a)

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

(a) Draw a program flowchart to represent the procedure Search(). Variable and array declarations are not required in program flowcharts. [6] 4

2019 May-June · Paper 23 · Q2(c)

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

(c) The student is learning about file handling. She has been told that there are different file modes that can be used when opening a text file. She wants to make sure that the e…

2019 May-June · Paper 23 · Q3(b)

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

(b) The algorithm is implemented in a high-level language. Changes are required and the program is given to Albert, who is an experienced programmer. He is not familiar with the l…

2019 May-June · Paper 23 · Q5(b)(i)

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

(i) Write a test string containing two words that gives the output: Number of words : 2 Use the symbol '∇' to represent each space character in your test string. Explain why the a…

2019 May-June · Paper 23 · Q5(b)(ii)

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

(ii) Nigel tested the procedure with the strings: String 1: "Red∇and∇Yellow" String 2: "Green∇∇and∇∇Pink∇" Give the output that is produced for each of the strings. Describe the c…

2019 May-June · Paper 31 · Q6(b)

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

(b) An indoor swimming pool is to be kept at a constant temperature of 28 degrees. Describe the use of feedback in this control system. ...........................................…

2019 May-June · Paper 32 · Q5(c)(i)

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

(i) Describe two vulnerabilities that malware can exploit in computer systems. 1 ..................................................................................................…

2019 May-June · Paper 33 · Q6(b)

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

(b) An indoor swimming pool is to be kept at a constant temperature of 28 degrees. Describe the use of feedback in this control system. ...........................................…

2019 May-June · Paper 41 · Q2(e)

Logic gates and logic circuits · 3 marks

(e) The programmer wants to test that the correct category is set for a player’s score. As stated in part (d)(v), players will be placed in one of the following categories. Catego…

2019 May-June · Paper 43 · Q2(e)

Logic gates and logic circuits · 3 marks

(e) The programmer wants to test that the correct category is set for a player’s score. As stated in part (d)(v), players will be placed in one of the following categories. Catego…

2018 October-November · Paper 11 · Q3(a)

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

(a) Describe what is meant by Open Source licence and shareware. Open Source ......................................................................................................…

2018 October-November · Paper 11 · Q5(c)

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

(c) Maria finds that one of her team members has produced some inventive code. She presents this to her manager, stating that it was produced by the team. She does not mention the…

2018 October-November · Paper 12 · Q5(b)

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

(b) Amit is fixing some bugs in the computer system of a large multinational company. He is asked to sign a confidentiality agreement. He sees some confidential information which …

2018 October-November · Paper 12 · Q6(b)(ii)

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

(ii) Describe one benefit and one drawback of using library routines. Benefit .....................................................................................................…

2018 October-November · Paper 13 · Q3(a)

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

(a) Mason is using his work computer to book a holiday whilst at work. Ethical Unethical Justification ............................................................................…

2018 October-November · Paper 13 · Q3(b)

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

(b) Ethan is supervising a trainee. The trainee asks Ethan for a reference for another job. Ethan does not want to lose the trainee, so refuses to give him a reference. Ethical Un…