1.2.4 Types of programming languages Flashcards
(16 cards)
What are programming paradigms?
Established conventions and practices that dictate how computer programs are
structured and developed.
What are the 3 common programming paradigms?
- Procedural
- Object-oriented
- Assembly
Name 3 procedural languages
- C
- Go
- Rust
Name 3 object-oriented languages
- Java
- C#
- Swift
What does the nuemonic ADD mean?
Add
What does the nuemonic SUB mean?
Subtract
What does the nuemonic STA mean?
Store
What does the nuemonic LDA mean?
Load
What does the nuemonic BRA mean?
Branch always
What does the nuemonic BRZ mean?
Branch if zero
What does the nuemonic BRP mean?
Branch if positive or zero
What does the nuemonic INP mean?
Input
What does the nuemonic OUT mean?
Output
What does the nuemonic HLT mean?
End program
What does the nuemonic DAT mean?
Data location
What are the different types of addressing?
- Immediate addressing
- Direct addressing
- Indirect addressing
4: Indexed addressing