Software (paper 1) Flashcards

(58 cards)

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
What are the properties of a compiler?
-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
What are the properties of an interpreter?
-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
Which languages use an interpreter?
-Python -Java
28
Which languages use a compiler?
-C# -VB
29
What is the function of an assembler?
-It converts assembly language into machine code
30
Define Integrated development environment (IDE)
-Software used to enter and edit source code -It will also compile programs to machine code and have debugging features
31
Define firmware
Instructions that are stored in the ROM and loaded when a computer starts
32
Define peripheral
A hardware device used to input, store or output data from a computer that is not directly part of the computer itself
33
Define portable
A program that can be run on different types and manufactures of computers
34
Define non portable
A program that cannot be run of different types and manufactures of computers
35
What is a breakpoint?
-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
What debugging and error diagnostic features do IDE provide?
-Breakpoint -Variable watch window -Stepping
37
What is a watch window?
-A watch window is commonly used to display the value of specific variables as they change with each line of code
38
What is stepping?
Stepping enables the programmer to step through line by line as they monitor the change in values
39
What features do IDE provide?
-Error diagnostics -Runtime environment -Translators -Code editors
40
What is runtime environment?
This enables a program to be run and let the user interact with the program
41
What does the editor in IDE include?
-Auto-correction -Auto-completion -Prettyprint
42
What is auto-completion?
A feature of an editor that gives the user options when they start typing a command
43
What is auto-correction?
A feature of an editor that identifies spelling errors and changes them
44
What is prettyprint?
A feature of an editor that changes the colour of text for example to highlight key words
45
What is an IDE?
Software that provides useful functions for a programmer writing a program
46
What is utility software?
Software that is designed to keep your computer safe and running efficiently. It provides useful tools to manage files and applications
47
What are the types of utility software?
-Compression -File repair -File management -Defragmentation -Backup -Anti-malware -Device drivers
48
What is file repair utility software?
-File repair restores file to its previous working state if a file becomes corrupted
49
What is full backup?
Takes a copy of everything and puts into different media or into a different location
50
What is incremental backup?
-Scans to see what has changed since last backup and only backs up the items that have changed
51
What is compression utility software?
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
What is defragmentation utility software?
-Reorganises files onto a hard disk by putting fragments of files and free space back together
53
Why should SSD's never be defragmented?
As they have no moving parts so defragmenting it will ruin the lifespan
54
What is anti-malware software?
-This keeps your computer and files safe from malware
55
What is software?
General term covering all computer programs
56
What is hardware?
All physical parts of a computer and its related devices internal and external
57
What is multitasking?
Where you have more than one program open and running at the same time
58
How does the OS multitask?
-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