SE1020 Object Oriented Programming

Four-option theory and Java code

1 · Learn L01 · Understanding the basics of OOP39 questions
39 questions · Procedural vs OOP · 4 steps · class vs object · information hiding · encapsulation · abstraction
2 · Learn L02 · Constructors42 questions
42 questions · Objects and memory · access modifiers · getters/setters · overloading · default and overloaded constructors
3 · Learn L03 · Noun–verb analysis & CRC cards50 questions
50 questions · OO SDLC · five rules for rejecting nouns · CRC cards · entity, boundary and control classes
4 · Learn L04 · Relationships (Parts 1–2)73 questions
73 questions · UML notation · 5 relationships · inheritance · constructor chaining · overriding · polymorphism · composition · aggregation · multiplicity
5 · Labs & tutorials · code practice28 questions
28 questions · Integer division · arrays · validated setters · constructor overloading · dynamic dispatch in Tutorial 03
6 · Code questions only · trace the output34 questions
34 questions · guess the output · does it compile? · constructor chaining · overriding
7 · Mock paper 1 · Lectures 01–0425 questions
25 questions · all four lectures + labs, weighted like the paper · theory and code
8 · Mock paper 2 · Lectures 01–0425 questions
25 questions · all four lectures + labs, weighted like the paper · theory and code
9 · Mock paper 3 · Lectures 01–0425 questions
25 questions · all four lectures + labs, weighted like the paper · theory and code
10 · Mock paper 4 · Lectures 01–0425 questions
25 questions · all four lectures + labs, weighted like the paper · theory and code
11 · All questions · Lectures 01–04232 questions
232 questions · filter by lecture