What is procedural programming?
What does it mean if a programming language is Turing complete?
-Can solve all the problems it has been proved computers can solve
What is a low level language?
What are the 11 instructions in LMC?
ADD SUB LDA BRA BRP BRZ INP OUT HLT (end program) DAT (data location) STA (store)
What is a disadvantage of procedural programming?
-code is re-used a lot and some is redundant
What is a class in OOP?
What is OOP inheritance?
Example of inheritance in OOP?
What is what is overriding in OOP?
When a method in a child class is used to replace a method inherited from the parent class
What is polymorphism?
What is encapsulation?
How do we access encapsulated data?
What is encapsulation used for?
What are the four methods of accessing memory locations in assembly code?
Direct, immediate, indirect and indexed addressing
What is direct addressing?
What is Immediate addressing?
- STA 6 means store 6 in the accumulator
What is indirect addressing?
What is indexed addressing?
What are properties and what are methods in OOP?
Eg; Phone is the object
Properties = make, model, colour (description)
Methods = sends/receives calls, check voicemail (what it does)
What is a benefit of OOP over procedural languages?
-allows more complex functionality but with less code