COMP 319 REVISION COMP 319 University of Liverpool

  • Slides: 14
Download presentation
COMP 319 REVISION COMP 319 © University of Liverpool slide 1

COMP 319 REVISION COMP 319 © University of Liverpool slide 1

Exam format • Part A Answer all questions - 70 Marks • Part B

Exam format • Part A Answer all questions - 70 Marks • Part B - Answer 1 out of 2 COMP 319 © University of Liverpool slide 2

Topics OO development • Open/closed principle in OO development - Explain the term open/closed

Topics OO development • Open/closed principle in OO development - Explain the term open/closed - Explain the benefits - Show using code example how open closed is implemented using - interface definition (interface closure) - final modification on public methods - virtual protected methods COMP 319 © University of Liverpool slide 3

Factory and abstract factory class • Class diagram • Example in real life •

Factory and abstract factory class • Class diagram • Example in real life • Why we bother? - Benefits COMP 319 © University of Liverpool slide 4

Topics OO patterns • Model view controller (MVC) - Explain - How it works

Topics OO patterns • Model view controller (MVC) - Explain - How it works - What benefits are provided by - Give example of how MVC operation would happen in practice (example something like a web email application) COMP 319 © University of Liverpool slide 5

Other patterns to revise • • Singleton Chain of responsibility Memento Double lock checking

Other patterns to revise • • Singleton Chain of responsibility Memento Double lock checking COMP 319 © University of Liverpool slide 6

AOP • Why we need AOP - Issue of cross cut concerns and code

AOP • Why we need AOP - Issue of cross cut concerns and code cloning, scattering and tangling • How AOP works • Concept of - An aspect - Advice code - Pointcuts and joinpoints - Brief example COMP 319 © University of Liverpool slide 7

Program slicing • Be able to produce a - Dependency graph for a small

Program slicing • Be able to produce a - Dependency graph for a small piece of code <8 lines of code • Be able to do both (use tree) - Forward slicing - Start with variable assignment - Look for all statements effected and include in slice - Backward slicing - Look for all statements which effect output at given line COMP 319 © University of Liverpool slide 8

Program slicing • Application of - Backward slicing - Why do we use it?

Program slicing • Application of - Backward slicing - Why do we use it? - Forward slicing - Why do we use it? COMP 319 © University of Liverpool slide 9

Project scheduling • How to manage a schedule • Dealing with slippage • Strategies'

Project scheduling • How to manage a schedule • Dealing with slippage • Strategies' for handling slippage - Re-scheduling - Re-resourcing - Using triage - See hand outs for detail COMP 319 © University of Liverpool slide 10

Cost estimation and project failure • Rise and fall of Chaos report - Problems

Cost estimation and project failure • Rise and fall of Chaos report - Problems with Chaos report - Boem’s cone of uncertainty - Using f/a as an indication of project success - Results of different case studies examined • EQF - What is it? - How is it calculated? - Why is it important? COMP 319 © University of Liverpool slide 11

Threading • Threads and tasks - Difference • Issues with shared data • Deadlock

Threading • Threads and tasks - Difference • Issues with shared data • Deadlock (what is it, how it happens) • Lost updates (what are they, how do they happen) • Thread starvation • Testing for deadlock and race condition issues COMP 319 © University of Liverpool slide 12

Actor model • All aspects of the Actor model - What is it? -

Actor model • All aspects of the Actor model - What is it? - Full description? - Mobility? - Strong and weak - Location transparency? - How is this handled? COMP 319 © University of Liverpool slide 13

AOP • Cross cutting concerns • Description with example of (in Aspect. J) -

AOP • Cross cutting concerns • Description with example of (in Aspect. J) - Jointpoints - Pointcuts - Aspect - Advice • Possible applications of AOP COMP 319 © University of Liverpool slide 14