4. software Flashcards

1
Q

application software

A

allows user to perform an activity, specific task eg. word processing, spreadsheet, database, CAD presentation, photo editing web browser

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

system software

A

provides the services that the computer requires, including operating system and utility software; 2 types operating system and utility software

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

opperating system vs utility software

A

os- software that manages a comp systems cpu, memory, storage, devices, provides user interface allows apps to run eg. windows, macos
utility software- software designed to carry out specific tasks help manage, maintain and control comp resources eg. compression, backup, disk cleaning, antivirus, monitoring, diagnosis, disk defragmentation, encryption, compiler, linker
Operating systems control the computer hardware and act as an interface with application programs. Utility software helps to manage, maintain and control computer resources

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

roles of operating system (9)

A
  • managing files
    – handling interrupts
    – providing an interface
    – managing peripherals and drivers
    – managing memory
    – managing multitasking
    – providing a platform for running applications
    – providing system security
    – managing user accounts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is needed to run applications software and how does it work

A

hardware, firmware, operating system
applications are run on the os, os is run on the firmware, the bootlander (firmware) is run on the hardware

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

what are the possible interface types, explain interface

A

GUI- using windows, icons, menus and pointers
CLI- commands are typed
dialogue- based interface- voice commands
gesture-based interface- touch, virtual reality
providing interface allows user to issue commands and run programs known as HCI

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

what is the role of os with interrupts

A

receives and processes requests from peripheral devices,uses a ISR (internet service routine) whcih is what does necessary actions to handle interrupt
ISR is evoked by the os interrupt handler (decides which ISR should be exectued)
interrupt handled and processed, ISR sends EOI t continue with past task

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

what are interrupts

A

signals sent from hardware or software to os to request cpu attention when os receives interrupt, suspends current task and executes interrupt in interupt service routine, once interrupt is delt with, os continues with task it was performing before

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

what are the two types of interrupt

A

hardware interrupts- generate by hardware devices, eg. pressing a key on the
keyboard and moving the mouse
software interrupts- exceptions, when unexpected events occur eg. division by zero and two processes trying to access the same memory location

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

describe role of os in managing files

A

allocates space on secondary storage devices manages creation and deletion of files

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

describe role of os in handling interrupts

A

receives and processes requests from peripheral devices

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

describe role of os in managing peripherals and drivers

A

os uses system software known as drivers to communicate with peripheral devices

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

describe role of os in running apps

A

provides platform for running apps, manages programs that are running on the comp allows user to star or stop programs allows install, updates, uninstall programs

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

describe role of os in managing memory

A

controls allocation of ram to individual programs, divides allocation into pages

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

describe role of os in multitasking

A

allows to run multiple programs at once, switching between tasks allocating each of them some cpu processing time= scheduling

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

describe role of os in managing user accounts

A

it allows several people to have own username and passowrds, os manages these accounts, user cant access files they dont have permission

17
Q

describe role of os in providing system security

A

security for computer, computer protected against unauthorised access over internet

18
Q

explain firmware

A

firmware is a special software stored in rom, allows comp system to start up and access hardware and os

19
Q

explain the steps on turning comp on

A
  1. comp switchd on firmware executed- instrcuts hardware how to access attached storage device
    2.os than started running after firmware retreived from computer storage
  2. application software can be locked and run, or hardware driver
20
Q

what is meant by high level languages, give advantages and disadvtanges

A

a type of programming language with high level of abstraction, eg. pthon java, more understandable to humans thus easier to program and faster program development however slower execution and increased memory use

21
Q

what is meant by low level languages, give advantages and disadvantages

A

a type of programming lang, lower level of abstraction, not understandbale to human eye eg. c++ and assembly lang, slower to program, more optimised program, increases execution, reduces memory use

22
Q

what is assembly language

A

a form of low level language, that uses mnenomics, extrmely close to machine code (lang used by computers) an assembler is needed to translate assembly lang to machine code

23
Q

machine code

A

language cpu can process written in binary both high and low level langauges need to be translated into it before program is executed

24
Q

translators

A

all programming lang must be translated into machine code, before cpu execution, translator is a software that does this
3 types of translators, assemblers, compilers, interpreters

25
Q

what do compilers and interpreters do

A

both essentially do the same thing, translate program lang into machine code however in different ways

26
Q

how does a compiler work

A

compilers translate entire program at once, before executing it, and producing an executable file, doesnt execute program until all errors fixed, all erros sent via a report with all erros present in code called compilation, used mainly when programmer has finished programming program, final program

27
Q

how does an interpreter work

A

translate 1 line of program at a time, and executes line before translating and executing next line, if errors present on line underneath line currently being translated, the line will still be executed, if error found execution stops used mainly when testing a program quickly, developing a program

28
Q

advantages and disadvantages of compilers

A

-executable file produced by compiler, quicker execution, doesnt need any additional software

-can be slow compilation, code must be error less to execute

29
Q

advantages and disadvantages of interpreters

A

-code tested even if error made, edit process is faster

-interpretation slows down executing code, interpreter software always required

30
Q

what is an ide

A

integrated development environment, software application specifically designed to help programmers create software

31
Q

what are tools present in ide

A
  • code editors (allow code to be entered)
    – run-time environment (programs can be run and tested in ide)
    – translators (compiler/ interpreter for convenience)
    – error diagnostics (highlights potential errors, and hints suggestions to solve)
    – auto-completion
    – auto-correction (corrects minor typos)
    – prettyprint(formats and indents code to make it easier to read)