Hardware
25 questions. Open a question to solve it and check the official answer.
Logic gates and logic circuits · 18 marks
(i) Write program code for ChooseTree(). Save your program. Copy and paste the program code into part 2(e)(i) in the evidence document. [6]
Logic gates and logic circuits · 4 marks · official answer ready
(b) Other variables in the program have example values as shown: Variable Value Active TRUE Fraction 0.2 Code "Ab12345" Complete the table by evaluating each expression using the …
Logic gates and logic circuits · 3 marks · official answer ready
(iv) The method IncreaseSpeed(): • adds IncreaseAmount to the current speed • adds the updated current speed to the horizontal position. The current speed of a vehicle cannot exce…
Logic gates and logic circuits · 7 marks · official answer ready
(c) The main program has a global 1D array, EmployeeArray, to store data about eight employees. Each employee is stored as an object of type Employee. The file Employees.txt store…
Logic gates and logic circuits · 3 marks · official answer ready
(iv) The method IncreaseSpeed(): • adds IncreaseAmount to the current speed • adds the updated current speed to the horizontal position. The current speed of a vehicle cannot exce…
