4.3 Flashcards

1
Q

what is the language computers use?

A

machine code

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

two types of computer programs

A

high level, low level

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

what is a computer program?

A

list of instructions that enable a computer to perform a certain task

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

3 things about high level language

A
  1. requires no knowledge of the hardware and computer that will use the program
  2. portable and can be used on different types of computers
  3. easier to understand
  4. quicker to write
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

3 things about low level languages

A
  1. can use special hardware
  2. writes codes that are more efficient
  3. includes machine-dependent instructions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

disadvantages of low level

A
  1. takes long to de-bug programs
  2. difficult to understand and write
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

disadvantages of high level

A
  1. programs take up more space
  2. not able to use special hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

assembly language = ?

A

low level

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

complier

A
  1. translates high level –> machine code
  2. one high level instruction –> several machine codes
  3. programs run without the complier
  4. usually distributed for general use
  5. executable file of machine code produced
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

interpreter

A
  1. executes high level program one statement at a time
  2. no executable file of machine code produced
  3. program cannot run without the interpreter
  4. used when a program is being developed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

assembler

A
  1. low level –> machine code
  2. executable file of machine code produced
  3. one low-level statement is made into one machine code instruction
  4. assembled programs used without the assembler
  5. distributed for general use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

advantages and disadvantages of interpreter

A

advantage:
easier to de-bug and test during development
disadvantage:
program can’t be run without interpreter, takes longer to execute

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

advantages and disadvantages of complier

A

advantage:
can be executed without the complier, takes up less space
disadvantage:
takes longer to write

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

IDE is?

A

Integrated Development Environment

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

IDE features?

A

code editors, translator, auto-correction, auto-completion

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