Study notes
No notes have been generated for this topic yet. Open the topic page online and click Generate notes first.
Past exam questions (12)
2021 · Part A · Q10(b) · p.11
Some programming roles require the knowledge of low-level programming. How does a low-level computer program differ from a high-level computer program?
2021 · Part A · Q13(c)(iv) · p.17
Use your findings from parts (ii) and (iii) to re-write the statement on line 16, without changing its logical meaning. 16 if ((not test_eircode[1].isdigit()) or (not test_eircode[2].isdigit())): [Visual aid: Python code snippet]
2021 · Part A · Q13(c)(iii) · p.16
Using the same meanings for P and Q from part (ii) complete the truth table below for the expression, not (P and Q). [Table: Truth table with columns P, Q, P and Q, not (P and Q). Rows for P=False, Q=False; P=False, Q=True; P=True, Q=False; P=True, Q=True.]
2021 · Part A · Q13(c)(ii) · p.16
Consider the following statement from line 16. 16 if ((not test_eircode[1].isdigit()) or (not test_eircode[2].isdigit())): If we let P represent the possible boolean values for test_eircode[1].isdigit() and Q represent the possible boolean values for test_eircode[2].isdigit(), complete the truth table below for the expression, not P or not Q. [Table: Truth table with columns P, Q, not P, not Q, not P or not Q. Rows for P=False, Q=False; P=False, Q=True; P=True, Q=False; P=True, Q=True.]
2021 · Part A · Q13(b)(v) · p.15
After code has been changed it is important to conduct regression testing. Why is this important?
2021 · Part A · Q13(b)(iv) · p.15
This Python code will show that the Eircode, A99 SP@M A1OK, is valid even though it is not. Why does the code indicate that this Eircode is valid?
2021 · Part A · Q13(b)(iii) · p.15
Two types of testing that could be performed on the code are unit testing and system testing. Distinguish between these two types of testing.
2021 · Part A · Q13(b)(ii) · p.14
Outline briefly how a test case could be used to test the above code. [Visual aid: Python code snippet for Eircode validation]
2021 · Part A · Q13(b)(i) · p.14
What is meant by the term 'validation check'? [Visual aid: Python code snippet for Eircode validation]
2020 · Part A · Q1 · 25 marks · p.3
Given the following JavaScript variable declarations, state the result of each of the JavaScript expressions in the table below. let a = 5; let b = 2; [Table: Two columns, 'Expression' and 'Result'. Expressions are: a * b, a ** b, a / b, b % a, ++a.]
2020 · Part A · Q15(b) · p.21
As project manager one of your main tasks will be to form a project team and assign roles and responsibilities to the team members. Identify two roles that would be appropriate for this project and for each role outline two responsibilities associated with that role. Role 1: Responsibility 1: Responsibility 2: Role 2: Responsibility 1: Responsibility 2:
2020 · Part A · Q15(a) · p.20
State whether you would use a staged or iterative development process for the project. Justify your answer by giving two reasons for your decision. Staged or Iterative: Reason 1: Reason 2: