SLR5 Flashcards

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

What are the 2 types of software

A
  1. Application software
  2. System software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give 2 examples of an application software

A
  1. Word processor
  2. Web browser
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 2 types of system software

A
  1. Utility software
  2. OS (Operating Systems)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Give 2 examples of utility software

A
  1. Anit-virus
  2. Malware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Give 2 examples of OS

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

When did computing become commercialised

A

1970s

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

When did it become illegal to steal code

A

1983

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

Name 2 benefits of open source code for users

A
  1. The software is free
  2. There is a wide community for modification
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name 2 drawbacks of open source code for users

A
  1. Poorly supported by designer
  2. Not well tested
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Name 1 benefit of open source code for creators

A

Gets your software out into the community

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

Name 1 drawback of open source code for creators

A

Little to no financial gain

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

Name 1 benefit of closed source code for users

A

Well-supported and professional

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

Name 1 drawback of closed source code for users

A

Expensive

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

Name 1 benefit of closed source code for creators

A

Receive an income

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

Name 2 drawback of closed source code for creators

A
  1. Community can be demanding
  2. Privacy issues
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the 5 types of Utility software

A
  1. File repair
  2. Back-ups
  3. Data compression
  4. Defragmentation
  5. Anti-malware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the purpose of file repair

A

To repair a damaged or corrupted file

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

What is the purpose of back-ups

A

To have multiple saves of each file so that it can be replaced if lost

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

How should back-ups be ran

A
  1. Back-ups can be incremental where everything new or changed will be saved
  2. Back-ups can be full meaning every backup everything is saved (this takes up much more space
  3. Back-ups can be automatically scheduled
20
Q

What is the purpose of data compression

A

To reduce the file size of the data

21
Q

How do you read a compressed file

A

It must be uncompressed or extracted

22
Q

What is the purpose of defragmentation

A

To reduce the movement of the read-write head across of the surface of the disk

23
Q

What is the purpose of anti-malware

A

To get rid of malware (such as viruses, trojans, worms, spyware)

24
Q

How is anti-malware acquired

A

Can be purchased directly from the companies designing it or can be bought with your computer from a company such as Apple

25
Q

What is Binary also called

A

Machine code

26
Q

What is source code also called

A

Human code

27
Q

What is Translation

A

The process of converting source code into machine code

28
Q

How does a compiler run code

A

By compacting all the code into one and then running it

29
Q

How does an interpreter run code

A

By running each line individually one after the other

30
Q

What is the first stage of compiler known as

A

Lexical Analysis

31
Q

What is the second stage of the compiler known as

A

Syntax Analysis

32
Q

What are the third stage of the compiler known as

A

Code generation

33
Q

What does Lexical analysis do

A
  1. Removes comments and white space
  2. The remaining code turned into a series of tokens
  3. A symbol table is created to keep track of variables and subroutines
34
Q

What does Syntax analysis do

A
  1. An abstract syntax tree is built from tokens produced in the previous stage
  2. Error generated if any tokens break the rules of the language
35
Q

What is the fourth stage of the compiler known as

A

Optimisation

36
Q

What does code generation do

A
  1. The abstract code tree is turned into object code
  2. Object code is machine code produced before the final step is run
37
Q

What does optimisation do

A

Tweaks the code so it will run as quickly as possible

38
Q

What is a library

A

A ready-compiled and tested program that can be run when needed and are typically grouped in software libraries

39
Q

Name 4 benefits of libraries

A
  1. Quick
  2. Easy
  3. Pre-tested
  4. Pre-compiled
40
Q

Name 3 drawbacks of libraries

A
  1. Functionality is almost impossible to tweak
  2. Black Boxed
  3. You have to trust the developer
41
Q

What does the Linker do

A

Puts the appropriate machine addresses in all the external call and return instructions

42
Q

What are the two types of linking

A
  1. Static linking
  2. Dynamic linking
43
Q

What does Static linking do

A

Includes all required code from the libraries in the finished machine code

44
Q

What does Dymanic linking do

A
  1. Stores compiled versions of the required libraries on the host computer
  2. Links the OS to the required code from the library as the program is running
  3. Cuts down the size of the machine code
45
Q

What is the loader

A

A part of the OS that loads the executable program file into memory ready to be run along with the required libraries