1.2.2 Application generation - Harvey 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
Advantage of a compiler
Code can be ran without a translator being present
26
Disadvantage of a compiler
If changes made whole code needs to be recompiled compiled code specific to operating systems
27
Advantage of an assembler
code translated on a one-to one basis with machine code
28
Disadvantage of an assembler
Platform specific so dependent on processor
29
stages of compilation
Lexical analysis syntax analysis code generation code optimisation
30
features of lexical analysis
source code broken down into tokens white space and comments removed symbol table created
31
features of syntax analysis
tokens compared against syntax rules tokens broken with incorrect syntax syntax tree generated
32
features of intermediate code generation
transforms syntax tree into intermediate code that is easier to optimise.
33
features of code optimisation
intermediate code optimised to make it more efficient e.g. removing redundant code
34
features of code generation
optimised intermediate code converted into machine code which is executable code that the machine can run.
35
Role of a loader in application generation
Executable code is placed into memory for execution by the operating system
36
What is an IDE?
A software helping programmers develop code
37
Tools of an IDE
Code editor, syntax highlighting, debugger and compiler tool
38
What is linking?
Linking is where compiled code is added to external libraries.