SLR 5 Flashcards

Nature of Applications

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

What should you call an app?

A

Application software

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

What are some types of Utility Software?

A

Antivirus
Defragmentation
Backup
Firewalls
Compression

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

What should you call apps similar to Word?

A

Word processor

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

What should you call apps similar to PowerPoint?

A

Presentation Software

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

What are specific applications?

A

Apps with little use, only 1 purpose

Very specific for its set task

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

What should be said instead of

“I would recommend Microsoft word”?

A

“I would recommend a word processor”

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

What are generic applications?

A

Apps which can be used for multiple purposes

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

What are Utilities?

A

Software which is designed to keep your computer safe, keep it running efficiently and provide useful tools for managing files

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

What are some common types of Utilities?

A

File repair, backup, compression, defragmentation, anti-malware, file management and device drivers

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

What are the types of backup?

A

Full backup- creates copies of all data files

Incremented backup- copies any data that has been changed

Backups can also he manual, automatic or scheduled

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

What is defragmentation?

A

The process of reorganising your files on a hard disk, putting fragments of files and free space back together

Reduces movement of the read/write head across the surface of the disk, which speeds up file access

Can damage SSDs due to their lack of moving parts

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

What do translators do?

A

Takes our code, source code, and turns it into object/machine code

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

What is open source software?

A

Users can modify and distribute the software

Can be installed on any number of computers

Users can access the source code

May not be fully tested

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

What are the benefits of open-source software for users and creators?

A

Users- software is free, wide community modification is allowed

Creators- gets their software out to a wider community

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

What are the drawbacks of open-source software for users and creators?

A

Users- can be poorly supported, some features may not be well tested

Creators- little to no financial gain

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

What is closed source software?

A

Software protected by the copyright and patents act

Users can’t modify the software

Paid for by the user

Supported by developers who don’t share source code

Tested prior to release

17
Q

What are the benefits of closed source software for users and creators?

A

Users- Well supported and tested, professionally made

Creators- they receive income for the product

18
Q

What are the drawbacks for closed source software for users and creators?

A

Users- must be paid for

Creators- constant demand from the community for more features and improvements, piracy issues

19
Q

What is a library?

A

Ready compiled and tested programs which can be called when needed

20
Q

What is a Dynamic Link Library (DLL)?

A

A library that contains subroutines written to carry out common tasks on the OS

21
Q

What are the benefits of libraries?

A

Quick and easy to use to add to your code

Pre-tested, so you can be relatively sure they’re free of errors

Pre-compiled so they typically are optimised to run quickly

22
Q

What are the drawbacks of libraries?

A

Adding functionality or specific tweaks can be difficult or impossible

You can get black boxed from your own implementation, so you can see how efficient it is because you can’t view it

Must trust the developer will maintain the library

23
Q

What are linkers?

A

Responsible for putting the appropriate machines addresses in all the external call and return instructions so all modules and the external library routines are linked together correctly

Also links any separately compiled subroutines into the object code

24
Q

What are two methods linkers use?

A

Static linking - implements required code into the object code, can result in large executable files

Dynamic linking - the OS links required code while the program runs to decrease the file size

25
Q

What is a loader?

A

A loader is a part of the OS that loafs the executable program file into the memory, which allows it to be ran

Responsible for loading the required libraries into the memory

26
Q

How is source code translated into machine code?

A

The 4 stages of compilation

27
Q

What are the 4 stages of compilation?

A

Lexical analysis
Syntax analysis
Code generation
Code optimisation

Each phase prepares the code for the next stage of compilation

28
Q

What happens in lexical analysis?

A

A lexer transforms lexemes in the source code into tokens by scanning each word letter by letter

A white space decides when a lexeme is complete

A token looks like this:

[tokenclass:token]

Once the token stream is created those tokens are placed into an input table

29
Q

What happens in syntax analysis?

A

Receives inputs in token form and analyses the structure of the input, checking if the syntax is correct or not

An abstract syntax tree is built as a result

30
Q

What happens in code optimisation?

A

Attempts to reduce execution time of the code by:

Takes redundant code and rewrites it in a new way with the same outcome

Removes subroutines that are never called

Removes variables and constants that are never referenced

However, compilation time will increase due to this process