2017 final Flashcards
Explain what the following terms mean in terms of the relational database:
i) Structure
ii) Integrity
iii) Language
List three types of integrity constraints.
State what the following JDBC interfaces do:
i) driver
ii) connection
iii) statement
iv) resultset
Write code snippets that show the use of driver connection statement and resultset.
[8 marks]
q2 do it on paper
The following are design principles of OOP: Encapsulation, Abstraction, Polymorphism, Inheritance and Composition.
Explain each principle.
Name 4 diagrams and expalin them. that form part of UML.
Define what a software requirement is.
[2 marks]
Give an example of a functional requirement of a banking system.
[2 marks]
explain functional vs non-fuctional requirement
Explain what a UML Activity Diagram models.
Identify symbols used for the following in an activity diagram:
Start state, end state, activity. Flow and decision.
[6 marks]
Describe the following fields using in use case scenario templates: purpose, pre-condition, post condition, exceptions, priority and frequency.
[6 marks]
Explain the impact of the final keyword in the code that follows:
final class Math {
…
}
Explain the impact of the final keyword in the code that follows:
final static double PI = 3.14159;
Identify two categories of methodologies
q 4 do it on paper
Describe what an immutable class is.
[3 marks]
List four activities the occur in the requirements engineering process.
[4 marks]
Write short notes about an Interface.
[5 marks]
Draw a diagram that shows how a database application system is arranged.
[4 marks]
Explain what database metadata is. [1 mark]
do 5 c on paper
super keyword?