1.2.4 Types of programming languages Flashcards

(16 cards)

1
Q

What are programming paradigms?

A

Established conventions and practices that dictate how computer programs are
structured and developed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 3 common programming paradigms?

A
  1. Procedural
  2. Object-oriented
  3. Assembly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name 3 procedural languages

A
  1. C
  2. Go
  3. Rust
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name 3 object-oriented languages

A
  1. Java
  2. C#
  3. Swift
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the nuemonic ADD mean?

A

Add

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the nuemonic SUB mean?

A

Subtract

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the nuemonic STA mean?

A

Store

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the nuemonic LDA mean?

A

Load

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the nuemonic BRA mean?

A

Branch always

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the nuemonic BRZ mean?

A

Branch if zero

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the nuemonic BRP mean?

A

Branch if positive or zero

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does the nuemonic INP mean?

A

Input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the nuemonic OUT mean?

A

Output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the nuemonic HLT mean?

A

End program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does the nuemonic DAT mean?

A

Data location

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the different types of addressing?

A
  1. Immediate addressing
  2. Direct addressing
  3. Indirect addressing
    4: Indexed addressing