Applications Generation Flashcards

1
Q

What is the difference between applications software and systems?

A

Applications utilised directly by the end-user but systems ensures high performance of the computer

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

Give 3 examples of utilities

A
  • Compression
  • Disk defragmentation
  • Antivirus
  • Automatic backup
  • Automatic update
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give one advantage of using closed source code

A
  • Thorough, regular and well-tested updates
  • Expert user manuals and support from company
  • High levels of security as it’s developed in a professional controlled environment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

State two features of open source code

A
  • Does not require a license to be used
  • Distributed with the source code
  • Can be modified and sold on
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Give two advantages of using compiled code over interpreted code

A
  • Faster to execute
  • Does not require compiler to run
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Give two advantages of using interpreted code over compiled code

A
  • Is platform independent
  • Runs instantly without time waiting for compilation
  • Useful for debugging
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is assembly language?

A

A low-level language that has almost a one-to-one relationship with machine code. It is platform specific

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

What are the stages of compilation?

A
  • Lexical analysis
  • Syntax analysis
  • Code generation
  • Opitmisation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What happens during the stages of syntax analysis?

A
  • Tokens are compared to the rule of the programming language\
  • Syntax errors are identified
  • Symbol table updated with more details
  • Semantic analysis (finding logical errors)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the similarities and differences between static and dynamic linkers?

A

Similarities: both link external modules and libraries to the main program
Static: librat code copied into the file. File size increased
D

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

What are the similarities and differences between static and dynamic linkers?

A

Similarities: both link external modules and libraries to the main program
Static: Library code copied into the file. File size increases.
Dynamic: Addresses of library included within the file. External updates automatically feed through to the main program.

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

Give three advantages of using libraries

A
  • Error-free
  • Save time
  • Re-usable
  • No need to ‘reinvent the wheel’
  • Designed by experts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe the function of the loader

A

Provided by the operating system, a loader retrieves the library or subroutine from the given main memory.

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

What is the purpose of the optimisation stage of compilation?

A
  • Reduce execution time
  • Reduce inefficient sections of code
  • Remove redundant code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly