Software Flashcards

1
Q

Describe the difference between system software and application software

A
  • System software provides the services that the computer requires, including operating system and utility software
  • Application software provides the services that the user requires
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

example of system software

A

operating system, printer driver, encryption software

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

example of application software

A

word processor, spreadsheet

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

Describe the role and basic functions of an operating system

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

how hardware, firmware and an operating system are required to run applications software

A

-When the computer is first switched on, the firmware is executed.
-This instructs the hardware how to access the attached storage devices.
- The operating system can then be started, running after the firmware.
- Once the operating system has loaded and is running, application software can be loaded and run

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

how an interrupt is generated

A

Hardware interrupts include pressing a key on the keyboard and moving the mouse

Software interrupts include 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
7
Q

types of interrupt

A

hardware and software

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

what is an interrupt?

A

signal sent to the operating system.

OS will then suspend its current task and execute an interrupt service routine for the device or application that sent the interrupt. When the interrupt has been serviced, the OS will continue with the task it was performing before the interrupt occurred

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

how it is handled using an interrupt service routine

A

current task in the OS is suspended an the signal is dealt with, this might mean shutting down a program of moving the mouse cursor somewhere

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

high-level language

A

(python and java) High-level languages have a higher level of abstraction, which means they deal with general algorithmic concepts rather than specific details of the underlying computer hardware.

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

low-level language

A

(C++ and assembly language) Low-level languages have a much lower level of abstraction, meaning they deal less with general concepts and more with specific details

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

adv of high

A
  • similar to human
  • debugging is easier and faster
  • No knowledge of underlying hardware required.
  • cross platform
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

disadv of high

A

slow execution

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

adv of low

A

fast execution

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

disadv of low

A
  • hard to read so development is slower
  • technical knowledge is required
  • machine dependent: tied to specific architecture
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

assembly language is a form of low-level language that uses

A

mnemonics

17
Q

what is needed to translate an assembly language program into machine code

A

assembler

18
Q

operation of a compiler

A
  • translates the whole code at once before executing it
  • producing an executable file
19
Q

error report of compiler

A

A compiler provides an error report for the whole code if errors are detected

20
Q

operation of interpreter

A

An interpreter translates and executes the code line-by-line

21
Q

error report of interpreter

A

An interpreter stops execution when an error is found

22
Q

adv of compiler

A
  • The executable file produced by the compiler will execute quicker than interpreted code.
  • An executable file (object code) is produced which can be executed without the compiler or other additional software.
23
Q

disadv of compiler

A
  • The compilation process can take time, which slows down testing.
  • The executable file created by the compiler (object code) is not cross-platform.
  • Code must be free of syntax errors before compilation can succeed.
24
Q

adv of interpreter

A
  • Code can be tested even if it contains errors, up to the point of the error. This aids debugging.
  • The edit–test process is faster as there is no need to wait for the compilation process. This can speed up debugging.
25
Q

disadv of interpreter

A
  • Interpretation slows down the execution of code.
  • Interpreter software is required every time the code is executed.
26
Q

What is IDE? (integrated development environment)

A

software application specifically designed to help programmers create software

27
Q

common functions IDEs provide

A

– code editors
– run-time environment
– translators
– error diagnostics
– auto-completion
– auto-correction
– prettyprint