Programming Languages Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Define High-Level Language

A

user-oriented

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

Define Low-Level Language

A
  • machine-oriented
  • processor defined
  • no built-in functions
  • can access specific registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define Imperative High Level languages

A
  • Procedural

- List of Instructions

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

Define Declarative Languages

A
  • Defines problem to be solved

e. g. SQL, Haskell

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

Define OOP

A
  • Objects and Classes

- Define data and instructions to manipulate the data

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

Define opcode

A

specifies which operation the processor should perform

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

Define operand

A
  • value

- can be actual piece of data or memory reference

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

Advantages of High-Level

A
  • Much easier to write
  • Portable
  • Libraries
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Advantages of Low-Level

A
  • High needs to be translated into machine code
  • Can use specific registers
  • Better for limited memory (resources used efficiently)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Disadvantages of Low-Level

A
  • More Difficult
  • Not Portable (Machine/Instruction Set Specific)
  • No Libraries
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define Processor Instruction Set

A
  • Defines instructions that can work with a specific processor
  • Word Size = number of bits a processor handles as a single unit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Define Addressing Mode

A
  • Part of opcode
  • Specifies the way the operand will be interpreted
  • Value or Memory location
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Define Immediate Addressing

A

-Actual Value

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

Define Direct Addressing

A

-Memory Address

D

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

Define Indirect Addressing

A

-Address which holds address to where data is stored

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