ASS by KB Flashcards
i) What is meant by Agile Methodology in Software Development?
ii) Describe four (4) Principles of the Agile Manifesto.
iii) What are the benefits of Agile methodologies compared Waterfall methodologies? Outline four (4) Differences.
i) Create a class called ‘Student” with the following attributes (studID, name,surname,address).
public class Student{
int stuID;
String name;
String surname;
String address;
ii) Create Mutator and Accessor Methods for the above class called ‘Student” with the following attributes (studID, name,surname,address).
iii) Create an Argument Constructor to initialize ALL Attributes for the above class.
Student(int studID , String name , String surname , String address)
{
this.stuID = stuID;
this.name = name;
this.surname = surname;
this.address = address;
}
Q2 do it
iii) What is Encapsulation and how is encapsulation implemented?
2b I should do it
a) Differentiate the following Terms:
Method Overriding and Overloading
Differentiate the following Terms:
ii) Super Class and Sub-Class, Give one (1) example.
differntiate iii) Private and Public Access Modifiers
b) With an example, Explain the concept of Type Casting.
c) With an example, explain an Immutable Class:
d) List four (4) Activities that occur in the Requirements Engineering Process
a) State and describe three (3) types of UML Diagrams.
class diagram
activity diagram
sequence diagram
usecase
state chart diagram
b) With an example in the form of a UML diagram explain Association between the same class.
c) Provide two (2) purposes of an Activity Diagram.
d) Explain the difference between Association and Dependency relationships
e) With a Sample Code Snippet, Explain what an Abstract method is.
public abstract class person{
abstract void sayAge();
}