SLR 05 - Application Generation Flashcards

1
Q

What is Hardware?

A

The Physical parts of a system and related devices

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

What is Software?

A

The general term for all programs on a device

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

What are systems software examples?

A

Windows
Linux
Mac OS
IOS

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

What are examples of utility software?

A

Anti-Virus
Defragmentation
Backup
Compression
Firewalls

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

What are examples of applications?

A

Presentation
Word Processor
Spreadsheets
Communicaton
Apps
Multimedia
Editing

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

What is utility software designed to do?

A

Keep your coomputer safe and running

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

What are the types of backups?

A

Full or incremental backup systems

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

What is defragmentation software?

A

It reorganises files to reduce the movement of the read/write head on the HDD

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

What are the features of open source software?

A

Users can modify and distribute the software
It can be installed on any number of devices
It has community support
Users can access it’s source code
It may not be fully tested

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

What are the benefits and detriments for users with open source software

A

Software is free
It has poor support and it may not be well tested

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

What are the benefits and detriments for Developers with open source software

A

Software has better outreach
It has little financial gain

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

What are the features of closed source software

A

Its protected by the CDPA
No user modifications are allowed
It must be paid for and licsenced per user per device
It has developer support
It’s tested prior to release

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

What are the benefits and detriments for users with Closed source software

A

It is well supported
It is costly

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

What are the benefits and detriments for developers with Closed source software

A

They have financial gain from the product
They may have issues with piracy

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

In what type of code do programmers write?

A

Source Code

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

Why is source code used?

A

It is easy to understand, maintain and debug

18
Q

What software translates source code into machine code?

A

Interpreter or Compiler

19
Q

What software translates assembly code into machine code?

A

Assembler

20
Q

What is the problem with compilers?

A

If code has an error the program won’t run

21
Q

What is a library in programming?

A

Read-compiled programs that run as needed

22
Q

What is a Dynamic Link Library

A

Is a set of subroutines to execute common windows tasks

23
Q

What are the benefits of DLLs?

A

They’re quick and easy to use
They’re pretested so lack errors
They’re precompiled and therefore run quickly

24
Q

What are the drawbacks of DLLs?

A

They’re hard to tailor to specific tasks
You must hope developers continue maintenance

25
Q

What do linkers do?

A

They place the right address for code to return instructions from libraries

26
Q

What are the methods for linkers?

A

Static linking or Dynamic

27
Q

How does static linking work?

A

All required libraries are stored in the executable file, resulting in large files

28
Q

How does dynamic linking work?

A

Libraries are stored on devices, the OS links code from the library at run-time

29
Q

What are loaders?

A

It’s a part of the OS that loads executable files into memory, this includes libraries when using dynamic linking

30
Q

What are the stages of compilation?

A
  1. Lexical Analysis
  2. Syntax Analysis
  3. Code Generation
  4. Code Optimisation
31
Q

What happens during Lexical Analysis?

A

The code is scanned letter by letter, for every white space it decides a lexeme is complete
It checks that the lexeme is valid and turns it into a token
Tokens are inserted into a symbol table

32
Q

What does Lexical Analysis remove?

A

White spaces and comments

33
Q

What happens during Syntax Analysis?

A

Tokens are recieved as inputs
It checks the source code is in correct syntax
This checks and reports errors
It compiles line by line

34
Q

What happens during Code Generation and Optimisation?

A

Machine Code is generated
It removes redundant instructions, subroutines and variables

35
Q
A