Section 3 - Software Development Flashcards
Programming Paradigms
What is a ‘programming paradigm’?
A style of computer programming
Programming Paradigms
What are the 4 programming paradigms?
5, only 4 needed for OCR
- Procedural
- Object Oriented
- Declarative
- Functional - not covered in OCR
- Assembly - ?
Assembly is questionable - use other example if asked in exam
Programming Paradigms
What are the features of procedural programming?
- Series of instructions/steps
- Can have subtroutines
- Easier to learn
- Can have reusable code
Programming Paradigms
What are the features of object oriented programming?
- Interaction between objects
- Encapsulation
- Resubale code
Programming Paradigms
What are the features of functional programming?
- Functions only
- Reusability
Programming Paradigms
What are the features of declarative programming?
- Write statements that describe the problem to be solved
- Program solves problem for programmer
Programming Paradigms
What are the features of assembly programming?
- Low level
- Quicker to translate
- Mneumonics
- No resuabilty
Assembly Language
What are the 4 addressing modes?
- Direct
- Indirect
- Immediate
- Index
Assembly Language
What is the operand in direct addressing?
The address of the data to be used
Assembly Language
What is the operand in indirect addressing?
The address of the address of the data to be used
Assembly Language
What is the operand in immediate addressing?
The data to be used
Assembly Language
What is the operand in index addressing?
Position relative to the last position checked
Systems Analysis Methods
What are the 5 steps of the waterfall lifecycle model?
- Analysis
- Design
- Development/Implementation
- Evaluation
- Maintenance
Systems Analysis Methods
What are the advantages of using the waterfall lifecycle model?
- Easy to manage - good for projects that must be closely supervised
Systems Analysis Methods
What are the disadvantages of using the waterfall lifecycle model?
- No user feedback
- Rigid process - must restart if stakeholder requirements change
Systems Analysis Methods
What are the 4 steps of the spiral?
- Analysis
- Risk assessment/Design
- Development/Implementation
- Evaluate
Systems Analysis Methods
What are the advantages of using the spiral?
- Lots of user feedback
- Many prototypes created
Systems Analysis Methods
What are the disadvantages of using the spiral?
- Difficult to manage
Systems Analysis Methods
What are the 4 steps of a sprint in the agile model?
- Analysis
- Design
- Development/Implementation
- Testing
Very similar to waterfall!
Systems Analysis Methods
What are the advantages of using the agile model?
- regular communication with the client
- many prototypes made
Systems Analysis Methods
What are the disadvantages of using the agile model?
- time consuming to gain feedback so often
- team work and often feedback means large projects are hard to make
Systems Analysis Methods
What is Extreme Programming (XP)?
An agile model where pair programming is used to ensure code is well written and feedback is collected often to ensure the program meets the stakeholders’ needs
Systems Analysis Methods
What are the advantages of using Extreme Programming (XP)?
- code is strong/reliable
- lots of feedback
- many prototypes made
Systems Analysis Methods
What are the disadvantages of using Extreme Programming (XP)?
- expensive to hire double programmers