1.2.2 Applications Generation Flashcards

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

1.2.2 A)
What are the natures of software

A

Software can either application software or system software.

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

1.2.2 A)
What is system software

A

system software is low level software that is responsible for running the computer system smoothly interacting with hardware providing a platform for application software to run.
Example: utility programs, OS , device drivers

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

1.2.2 A)
What is Application software

A

designed to be used by the end user to preform one specific task. app software needs system software
Example : word , spreadsheet

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

1.2.2 B)
Define utility

A

piece of system software that ensures consistent and high performance from the OS .

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

1.2.2 B)
What are examples of utility

A

Compression
Disk defragmentation
Anti-virus
Auto-updating
Backup

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

1.2.2 B)
What are examples of utility
What is compression

A

Enable files to be compressed and decompressed used to send large files

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

1.2.2 B)
What are examples of utility
What is disk defragmenation

A

as disk becomes full, slow r/w cos files are fragmented. This rearranges content so faster to r/w . ^ performance

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

1.2.2 B)
What are examples of utility
What is antivirus

A

Detects potential threats to the computer

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

1.2.2 B)
What are examples of utility
What is auto updating

A

ensure OS is up to date. tracks bugs / security flaws makes device less vulnerable.

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

1.2.2 B)
What are examples of utility
What is backup

A

automatically creates routine copies of specific files selected by user meaning recovery.

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

1.2.2 C)
What is source code and object code
whats the difference

A

soruce code is object code before its translated - high level
object code is source code after its translated - low level

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

1.2.2 C)
Define open source

A

can be used by anyone w/o license

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

1.2.2 C)
Define closed source

A

requires license can be access source code company owns rights.

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

1.2.2 C)
Adv / DAdv of open source

A

Adv ) modify / improve by anyone , support from community , modified and sold on.
DAdv ) online support may be wrong , lower security

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

1.2.2 C)
Adv / DAdv of closed source

A

Adv) well tested updated , expert support, ^ level security
DAdv) license is restricting, user cannot modify and / or improve

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

1.2.2 C)
How to know weather open or closed

A

Suitability of the software to the task it will be used for,
cost: maintenance/ staff/ licence, functionality - ease of use

17
Q

1.2.2 D)
What is a translator

A

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

18
Q

1.2.2 D)
properties of a compiler

A

Translates all at once
Shows errors at the end
Needs to be recompiled when changes made
initially longer then interpreter and assembler
complier code is specific to a processor type
used to produce intermediate code

19
Q

1.2.2 D)
properties of an interpreter

A

translates and executes one line at a time stops at error
may be faster but slower at running compiled code
used for testing sections of code don’t need to run all
more portable

20
Q

1.2.2 D)
properties of an assembler

A

low level language next up from machine code
platform specific
instructions used is dependant on Instruction set
assembler translates assembly code into machine code
1 line of AC is almost 1 line of MC so almost 1 to 1

21
Q

1.2.2 E)
What are the stages of compilation

A

1) Lexical analysis
2) syntax analysis
3)code generation
4)optimisation

22
Q

1.2.2 E)
What are the stages of compilation
What happens at lexical analysis

A

white spaces and comments removed
remaining code analysed for keywords
also variables and contestants
these are replaced with token
information about these stores in symbol table

23
Q

1.2.2 E)
What are the stages of compilation
What happens at syntax analysis

A

tokens are analysed against grammar and rules of lang
any breaking rules are flagged
abstract syntax tree produced ( code in a tree)
more details abt identifiers added to symbol tree (data type / scope / address)
semantic analysis logical errors detected
passes code to code generation

24
Q

1.2.2 E)
What are the stages of compilation
What happens at code generation

A

Abstract tree produced in syntax analysis is used to produce machine code

25
Q

1.2.2 E)
What are the stages of compilation
What happens at optimisation

A

aim to make code faster to execute. reduce time taken for compiler redundant code is removed

26
Q

1.2.2 F)
What’s a linker

A

responsible for linking external modules and libraries within code

27
Q

1.2.2 F)
What are the two type of linkers

A

static and dynamic

28
Q

1.2.2 F)
What is a static linker
whats the -ve of working this way

A

(subroutine) Modules / libraries added directly into main file , ^ file size , external update wont effect program

29
Q

1.2.2 F)
What is a dynamic linker
whats +ve of working in this way

A

Address of modules (subroutine) / libraries included in file . loaders retrieve program from specific address. file remains same size

30
Q

1.2.2 F)
What is a loader

A

when files execute loaders retries the library/ subroutine (modules) from memory

31
Q

1.2.2 F)
What is a library

A

Pre-complied programs. ready to use, save time reusable using linkers