1.2.2 Application generation - Harvey Flashcards

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

What is an application software?

A

Used by the end user to perform one specific task

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

Examples of application software

A

desktop publishing, word processing, spreadsheets

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

What is system software?

A

Low level software
responsible for managing computer resources

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

Examples of system software

A

library programs, utility programs, operating system

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

purpose of utilities

A

Used to maintain consistent high performance of the operating system.

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

Examples of utilities

A

Compression
Defragmentation
Antivirus

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

What is disk defragmentation?

A

Rearranging the contents of the hard drive so they can be accessed faster.

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

Purpose of antivirus

A

To detect potential threats to the computer.

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

Example of compression

A

compress large files for transmission across internet.

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

What is source code

A

Code written by a programmer

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

What is object code

A

Low level code understood by the computer

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

What is open source?

A

Can access it without a license comes with source code

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

What is closed source

A

Needs license to use it so can’t access source code.

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

Advantages of open source

A

Can be modified to make improvements by anyone
Access to support from community.

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

Advantages of closed source

A

Proper tested updates
Expert support from developers
Higher level of security

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

Disadvantages of open source

A

Insufficient/incorrect support online
Lower security

17
Q

Disadvantages of closed source

A

Users cannot make improvements
Longer time to fix bugs/errors

18
Q

What is a translator?

A

Program that converts high level source code into low level object code

19
Q

What are the 3 translators?

A

Compiler
Interpreter
Assembler

20
Q

Purpose of a compiler

A

Translate high level code into machine code all at once

21
Q

Purpose of an interpreter

A

Translates and executes code line by line

22
Q

Purpose of an assembler

A

Translates assembly code into machine code

23
Q

Advantages of an interpreter

A

They stop and produce an error if a line contains an error.
Code can be executed on a range of platforms.

24
Q

Disadvantage of interpreter

A

Slower than running compiled code
Requires an interpreter in order to run code.

25
Q

Advantage of a compiler

A

Code can be ran without a translator being present

26
Q

Disadvantage of a compiler

A

If changes made whole code needs to be recompiled
compiled code specific to operating systems

27
Q

Advantage of an assembler

A

code translated on a one-to one basis with machine code

28
Q

Disadvantage of an assembler

A

Platform specific so dependent on processor

29
Q

stages of compilation

A

Lexical analysis
syntax analysis
code generation
code optimisation

30
Q

features of lexical analysis

A

source code broken down into tokens
white space and comments removed
symbol table created

31
Q

features of syntax analysis

A

tokens compared against syntax rules
tokens broken with incorrect syntax
syntax tree generated

32
Q

features of intermediate code generation

A

transforms syntax tree into intermediate code that is easier to optimise.

33
Q

features of code optimisation

A

intermediate code optimised to make it more efficient e.g. removing redundant code

34
Q

features of code generation

A

optimised intermediate code converted into machine code which is executable code that the machine can run.

35
Q

Role of a loader in application generation

A

Executable code is placed into memory for execution by the operating system

36
Q

What is an IDE?

A

A software helping programmers develop code

37
Q

Tools of an IDE

A

Code editor, syntax highlighting, debugger and compiler tool

38
Q

What is linking?

A

Linking is where compiled code is added to external libraries.