Chap 4 - software Flashcards

1
Q

define program

A

-set of instructions that is used as a process of creating a software by using a programming language

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

define software

A

-set of programs that enables the hardware to perform a specific task
-can be system, application or programming software

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

differences between programs & software

A

-software needs a user interface but programs don’t
-software is larger than programs
-software takes more time to develop
-software has more features than programs

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

define system software & examples

A

-programs that allow the hardware to run properly & let the user communicate with the computer
-operating system, utility programs, device drivers, linkers, compliers

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

define application software & examples

A

-programs that allow users to do specific tasks
-word processor, spreadsheet, database, control & measuring software, apps, photo editing software, video editing software, graphics manipulation software

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

order of hierarchy

A

hardware - system software - application software

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

features of system software

A

-provides a platform that other software can run on
-required to allow hardware to run without problems
-provides human computer interface (HCI)
-controls the allocations & usage of hardware devices

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

features of application software

A

-used to perform apps on computer
-allows users to perform specific tasks using computer’s resources
-can be a single or multiple programs
-user can execute software as & when they like

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

functions of - in application software:
-word processor
-spreadsheet
-database
-apps
-control & measuring software
-photo editing software
-video editing software
-graphics manipulation software

A

-word processor - manipulate text document
-spreadsheet - organize & manipulate numerical data
-database - organize, manipulate & analyze data
-apps- applications that range from games to phone backing
-control & measuring software - allows the microprocessor to interface with sensors
-photo editing software - allows users to manipulate digital photos
-video editing software - allow users to manipulate videos
-graphics manipulation software - allows bitmap & vector images to be changed

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

functions of - in system software:
-compliers
-linkers
-device drivers
-utilities program
-operating system

A

-compliers - translates high level language into machine code
-linkers - combines files & programs
-device drivers - allows different hardware devices to communicate with the computer’s operating system
-utilities program - programs that help manage, maintain & control computer resources
-operating system - manages the basic functions of a computer & runs in the background

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

differences between system & application software (S & A)

A

-S gives a path for A to run on, A is designed for a specific task
-S is a general purpose software, A is a specific software
-programing is more complex in S than A
-S interacts with hardware directly, A does not take hardware into consideration when built
-S is installed by manufacturers, A is installed by users
-S works in the back ground, A works in the forefront
-

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

Functions of operating system

A

-Provides Human Computer Interface (HCI) - allows user to interact with comp.
-Main memory management - memory protection so 2 programs don’t try to use the same memory
-file/ secondary storage management - controls access
-hardware peripheral managements - controls data being sent to & from hardware
-interrupt handlings - saves data on power outage
-security management - usernames & passwords
-allows application software to run - user can open apps as & when they like
-managing user accounts - prevent unauthorized access
-managing files - sorting files & making them easy to find for quick access

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

examples of utility programs

A

-virus checkers
-defragmentation software
-disk contents analysis & repair
-file compression & management
-back up software
-screensavers
-device drivers

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

Features of anti- virus checkers

A

-live scanning of opened files
-full system scans
-has signature files
-heuristic checking
-quarantine infected files

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

how does defragmentation happen

A

-stores data in continuous sectors by using a disk defragmenter to rearrange blocks of scattered data
-scattered data = read & write head move more = slower data access

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

how does back up software work

A

-allows schedules for backing up of files when changes are made to them
-need 3 versions of the file: current (in HDD), locally backed up copy of file (in portable SSD), remote back up (eg. in cloud)

17
Q

how does security software work

A

-manage access controls
-links other utility programs tgt
-protects network interfaces
-uses encryption
-overseas updating software

18
Q

how does screensavers work

A

-programs supply moving/ still images on screen after a period of inactivity

19
Q

how does device drivers work

A

-software that communicates with operating system & translates data into a format understood by the hardware device

20
Q

types of programing language

A

high level - general purpose system
low level (machine code) - specific purpose system

21
Q

why do programs need to be translated

A

comp can only understand machine code

22
Q

Advantages of high level language

A

-portable; works on many comp.
-designed for programmers
-easier to read
-faster to write
-easier to debug
-easier to maintain program

23
Q

disadvantages of high level language

A

-slower to run
-larger programs
-programs may not be able to make use of special hardware

24
Q

Advantages of low level language

A

-faster to run
-can make use of special hardware
-code takes up less memory

25
Q

disadvantages of low level language

A

-specific to architecture of hardware
-harder to read
-slower to write
-longer to debug

26
Q

what is source code & object code

A

-source code - code at the start
-object code - executable file

27
Q

types of translators

A

-compiler
-interpreter
-assembler

28
Q

how does compiler work

A

-translates high level lang to machine code in 1 go
-produces an executable file from source code which can run on any comp.
-complied programs can run without compiler
-used when distribution for general use
-provides error diagnostic at the end of translation

29
Q

how does interpreter work

A

-translates the high level lang to low level lang line by line
-doesn’t produce an executable file
-interpreted programs cannot run without interpreter
-used when developing program
-stops translation as soon as an error is found
-provides an error diagnostic

30
Q

how does assembler work

A

-translates the low level assembly lang to machine code line by line
-produces an executable file from source code which can run on any comp.
-assembled programs are used without assembler
-used when distribution for general use

31
Q

advantages & disadvantages of complier

A

A:
-faster execution as machine code is directly loaded on the file
-complied program can be executed without complier
-takes up less memory space when executed
D:
-longer to write
-longer to debug & test
-more likely to crash - machine code produced run directly on processor

32
Q

advantages & disadvantages of interpreter

A

A:
-quicker to debug & test
-easier to edit programs
D:
-slow execution of loops
-source code always needs an interpreter

33
Q

what is an interupt

A

signal sent from device/ software to microprocessor to make it temporarily stop its activity

34
Q

causes of interrupts

A

-timing signal - operation is out of sync
-Input/ output process - when hardware asks for more data to be sent
-hardware fault - hardware doesn’t work
-user interaction - user presses <BREAK> key
-software error - file cannot be found, 2 programs accessing the same memory location</BREAK>

35
Q

features of Integrated Development Environment (IDE)

A

-code editors - allows program to be manipulated without needing a separate text editor
-translators - allows program to be executed
-a runtime environment with a debugger - allows programmer to set break point
-error diagnostics - find errors
-auto completion - complete variable names
-auto correction - alerts on errors & provide suggestions
-auto documenters - explain functions of keywords
-pretty printing - colour codes words