Software engineering #7 Flashcards

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

Another phrase for Software development environment?

A

Integrated Development Environments

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

What is IDE?

A

Um…

  • Provides programmers various tools to create programs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name 11 fucking facilities

(IDE)

A
  • Editor
  • Compiler
    • Interpreter
  • Linker
  • Loader
  • Debugger
  • Trace
  • Break point
  • Variable watch
  • Memory inspector
  • Error diagnostics
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain editor

(1 of the facilities for IDE)

A

Allows programmer to enter, format and edit source code

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

Explain compiler

(1 of the facilities for IDE)

A

*Converts source code into executable machine code
*Once compiled, can be run any time

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

Explain interpreter

(1 of the facilities for IDE)

A
  • Converts each line of source code in machine code
    (don’t mix up with compiler)
  • Executes it as each line of code is run
  • Conversion processed is run
  • When the program needs to be run
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain linker

(1 of the facilities for IDE)

A
  • Program that allows previously compiled code
  • From software libraries
  • To be linked together
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Explain loader

(1 of the facilities for IDE)

A

Program which loads previously compiled code into memory

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

Explain debugger

(1 of the facilities for IDE)

A

Program which helps locate, identify and rectify errors in program

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

Explain trace

(1 of the facilities for IDE)

A
  • Displays the order in which lines of program are executed
  • And possibly values of variables as it’s being run
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Explain break point

(1 of the facilities for IDE)

A
  • Interrupts program on a specific line of code
  • Allows programmer to compare the values of variables w/ expected values
  • Program code can be executed one line at a time <– single-stepping
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Explain variable watch

(3 separate bullet points)

(1 of the facilities for IDE)

A
  • Displays current value of any variable

*Values are ‘watched’ when code is “single-stepped”
* To see effects of code on variable

  • Alternately, if it’s set, can interrupt program flow
  • if watched variable reaches specified value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain memory inspector

(1 of the facilities for IDE)

A
  • Displays the contents of a section of memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Explain error diagnostics

(1 of the facilities for IDE)

A
  • Used when program fails to compile/run
  • Displays error messages to help programmer diagnose problem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are libraries

(IDE related)

A
  • Collection of commonly used “private functions” and “subprograms”
  • Can be called from within program, with the right library linked
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

An example of private functions?

(libraries)

A

*Standard mathematical operations

( square root, random number generator )

17
Q

An example of subprograms

(libraries)

A
  • Standard input/output routines

( such as saving data to disk)

18
Q

2 Advantages of standard libraries?

(libraries)

A
  • Time saved for a programmer, can use these stuff stored in library
  • Programs will contain less code, easier to maintain
19
Q

Is it possible to create your own custom library?

(libraries)

A

Yes.