Software (paper 1) Flashcards

1
Q

Define application software

A

Application software runs on the operating system and provides the services that the user requires for example a word processing package

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

Define system software

A

System software programs are those that are needed to enable the computer to function including the operating system utilities and library routines

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

Define an operating system (OS)

A

-A group of programs that are essential for managing the computers resources. These are ran on the firmware

-Examples are Windows and Apple IOS

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

Describe how the OS multi tasks?

A

-The OS coordinates the CPU to schedule processes

-All processes currently in memory waiting to be executed are held in a circular queue

-The CPU allocates each process a time slice and switches to the next process very quickly

-Making it seem as though they run at the same time

-This is known as multi tasking

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

What is a driver

A

Software used to provide an interface for a hardware device

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

What is an interrupt?

A

-A signal from a software program or hardware device to the CPU

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

How does a software interrupt occur?

A

-It occurs when an application program terminates or requests certain services from the OS

-It also occurs with a program error such as when a division by 0 occurs or when 2 processes try to access the same memory location

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

How does a hardware interrupt occur?

A

-It may occur when an I/O operation is complete or when a new USB device is plugged in and detected

-It also may occur when a key is pressed in the keyboard and the mouse is moved

-Interrupts are also triggered regularly by the timer to indicate that it is the turn of the next process to have processor time. This is why multi-tasking can take place

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

What is the software called that determines how to handle each interrupt?

A

Interrupt service routine (ISR)

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

Describe how the OS helps manage memory

A

-Files and programs need to be in memory for the CPU to perform tasks which use them

-The OS moves programs and files between memory and storage (E.G hard drive) if virtual memory is required

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

What is the role of the bootloader?

A

-It is a small piece of software (firmware) that is responsible for starting up a computer

-The firmware is held in ROM and automatically starts up when the computer is switched on

-It loads the OS into RAM

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

Why is the bootloader stored in ROM and not RAM

A

As the contents of ROM are not lost when the computer is turned off

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

Define a high level language

A

-A high level language has a syntax and structure similar to English that is designed to be understood by humans

-These have to be compiled or interpreted before they’re ran

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

What are examples of high level languages?

A

Python, visual basic and C#

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

What does it mean for a programming language to be hardware independtant?

A

-They can run on any system
-The programmer therefore can focus on their own task rather than concerning themselves with the architecture of the computer

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

Define a low level language

A

A language closer to the machines language

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

What are some examples of a low level language?

A

-Binary code
-Assembly code

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

What are the advantages to a high level language?

A

-Easier for humans to read, write and understand

-Easier for humans to debug code

-Portable and machine independent

-One statement can represent many low level instructions

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

What are the disadvantages to a high level language?

A

-Cannot directly manipulate the software

-Must be converted into a low level language before it can be run

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

What are the advantages to a low level language?

A

-Machine code doesn’t need to be converted and assembly code needs to be assembled which is quicker than from a high level language

-Can directly manipulate the software which makes the program more efficient in terms of speed and memory usage

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

What are the disadvantages to a low level language?

A

-Not portable
-Machine dependent

-More difficult for users to understand, read and write

-Harder for users to debug code

-Several instructions are needed for each high level language statement

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

Define a translator

A

A type of software that converts code written in one programming language into another usually a high level into a low level language

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

What are the types of translator?

A

-Compiler
-Assembler
-Interpreter

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

Why do we need a translator when using a high level language?

A

A translator is needed to convert high level code into machine code or binary instructions which can then be executed by the CPU

25
Q

What are the properties of a compiler?

A

-Translates a high level language program in one go to produce object code

-A compiled program executes faster than an interpreted one as it is already in machine code

-Produces an executable file so the original code does not need to be compiled again

-No need for the compiler to be present when the object code is run

-After compilation the compiler provides an error report for the whole code if any errors are detected

26
Q

What are the properties of an interpreter?

A

-Translates and executes one line of a high level language at a time

-Takes more time to execute as each instruction is translated before executed

-Source code will be interpreted or translated every time it is run

-The interpreter must be installed to run the program

-An interpreter stops execution as soon as an error is found. This is useful when developing a program

27
Q

Which languages use an interpreter?

A

-Python
-Java

28
Q

Which languages use a compiler?

A

-C#
-VB

29
Q

What is the function of an assembler?

A

-It converts assembly language into machine code

30
Q

Define Integrated development environment (IDE)

A

-Software used to enter and edit source code
-It will also compile programs to machine code and have debugging features

31
Q

Define firmware

A

Instructions that are stored in the ROM and loaded when a computer starts

32
Q

Define peripheral

A

A hardware device used to input, store or output data from a computer that is not directly part of the computer itself

33
Q

Define portable

A

A program that can be run on different types and manufactures of computers

34
Q

Define non portable

A

A program that cannot be run of different types and manufactures of computers

35
Q

What is a breakpoint?

A

-These can be set to pause the program at any point
-This enables the programmer to check the value of variables at specific points in the code to find errors

36
Q

What debugging and error diagnostic features do IDE provide?

A

-Breakpoint
-Variable watch window
-Stepping

37
Q

What is a watch window?

A

-A watch window is commonly used to display the value of specific variables as they change with each line of code

38
Q

What is stepping?

A

Stepping enables the programmer to step through line by line as they monitor the change in values

39
Q

What features do IDE provide?

A

-Error diagnostics
-Runtime environment
-Translators
-Code editors

40
Q

What is runtime environment?

A

This enables a program to be run and let the user interact with the program

41
Q

What does the editor in IDE include?

A

-Auto-correction
-Auto-completion
-Prettyprint

42
Q

What is auto-completion?

A

A feature of an editor that gives the user options when they start typing a command

43
Q

What is auto-correction?

A

A feature of an editor that identifies spelling errors and changes them

44
Q

What is prettyprint?

A

A feature of an editor that changes the colour of text for example to highlight key words

45
Q

What is an IDE?

A

Software that provides useful functions for a programmer writing a program

46
Q

What is utility software?

A

Software that is designed to keep your computer safe and running efficiently. It provides useful tools to manage files and applications

47
Q

What are the types of utility software?

A

-Compression
-File repair
-File management
-Defragmentation
-Backup
-Anti-malware
-Device drivers

48
Q

What is file repair utility software?

A

-File repair restores file to its previous working state if a file becomes corrupted

49
Q

What is full backup?

A

Takes a copy of everything and puts into different media or into a different location

50
Q

What is incremental backup?

A

-Scans to see what has changed since last backup and only backs up the items that have changed

51
Q

What is compression utility software?

A

Reduces the size of a file so it takes up less space and can be downloaded over the internet quicker

They must be extracted before they can be read

52
Q

What is defragmentation utility software?

A

-Reorganises files onto a hard disk by putting fragments of files and free space back together

53
Q

Why should SSD’s never be defragmented?

A

As they have no moving parts so defragmenting it will ruin the lifespan

54
Q

What is anti-malware software?

A

-This keeps your computer and files safe from malware

55
Q

What is software?

A

General term covering all computer programs

56
Q

What is hardware?

A

All physical parts of a computer and its related devices internal and external

57
Q

What is multitasking?

A

Where you have more than one program open and running at the same time

58
Q

How does the OS multitask?

A

-The OS assigns each task a time slice
-Letting it process and move onto the next task so quickly it appears it’s happening at the same time