Software Flashcards

(48 cards)

1
Q

What is a translator

A

A type of software that converts code written in one programming language into another

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

Is a translator low level or high language language

A

High level language

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

What is an assmbler

A

It is used to convert assembly language into machine code

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

What is an interpreter

A

A type of translator that converts a high level language into a low level language. But it checks one line of code and then executes it before checking the next

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

What is a compiler

A

It is a type of translator that converts a high level language into a low level language. But it checks all code before running the program

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

Advantages of an interpreter

A

-Translates one line is code into machine code and the runs the program

-Reports a syntax error as soon as it picks it up and program is stopped

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

Advantages of a compiler

A

-Produces an executable file

-Useful when a program has been finished and is ready for testing or distribution

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

Types of translators

A

-Assembler
-Interpreter
-Compilers

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

Two types of programming languages

A

High level language and low level language

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

What is high level language

A

A type of programming language that uses human like language words

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

Examples of where high level language is used

A

-Python
-JavaScript
-VB.NET

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

What is low level language

A

A type of programming language that is closer to the machine’s language such as assembly language or binary code

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

What is machine code

A

Binary code it is an example of a low level language

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

What is assembly language

A

Code written is mnemonics that allows direct manipulation of the hardware.

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

Benefits of high level language

A
  • It is portable and machine independent
    -Easier for users to debug
    -Easier for humans to understand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Benefits of low level language

A

-Can directly manipulate the hardware
-Machine code doesn’t have to be converted making it faster than high level language

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

What is an interrupt

A

A signal sent to the processor to tell it that something needs its attention

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

Examples of a software interrupt

A

-Division by 0
-Two processes attempting to access the same memory location

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

Examples of hardware interrupt

A

-Key pressed on a keyboard (data input)
-Error from hardware

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

What is interrupt handler

A

A program that organises interrupts into an order based off priorities

21
Q

What is interrupt service routine

A

A program that retrieves an interrupts and performs that required actions.

22
Q

What is a bootloader

A

The first instructions a computer runs that tells it where to find the boot sector on the hard drive. It is stored in the ROM’s firmware

23
Q

What is firmware

A

Programs stored in the ROM and are loaded when the computer starts

24
Q

What is bootstrap

A

The first instructions and commands loaded when a computer is turned on

25
What are some functions of an operating system
-Providing an interface -Managing multitasking -Managing peripherals -Managing user accounts
26
Describe ‘Providing an interface’
The OS allows the user to enter data and output data to the user. An interface is a method by which a user communicates with a computer
27
Types of interfaces
-Graphical User Interface -Command line interface -Natural language interface
28
What is a graphical user interface
A type of operating system that includes windows, icons, menus and pointers
29
What is a command line interface
A type of operating system where the user types commands
30
What is a natural language interface
A type of operating system that allows the user to type or speak commands
31
Describe ‘Manage multitasking’
A function of an operating system that allows people to use their computers to run several programs at the same time
32
Describe a peripheral
A hardware device, used to input, store or output data from a computer, that is not directly part of the computer itself
33
Describe a driver
A program that controls a device, for example a printer or a keyboard
34
Describe ‘Managing user accounts’
The OS allows a user to set up an account, keeps the data separate for multiple accounts and restricts the access by using a password
35
Define software
A series of instructions written in a programming language that performs a function
36
Two types of software
-System software -Application software
37
Define system software
A type of software that manages the hardware and software in a computer.
38
Define application software
A type of software that allows the user to perform a useful task
39
Examples of application software
-Word processor -Spreadsheet -Database -Web browser
40
Define word processor
A type of application software that allows the user to create text based documents
41
Define spreadsheet
A type of application software that performs calculations on data
42
Define database
A type of application software to store and manipulate data
43
Define web browser
A piece of software that retrieves and displays web pages
44
What is Integrated Development Environment
A piece of software that allows a user to write, test and run program code
45
Features of an editor
-Auto completion -Auto correction -Prettyprint
46
Features of IDE
-Code editor -Run-time environment
47
Define code editor
A feature of an IDE that allows the user to write and edit programming code
48
Define run time environment
A feature of an IDE that allows a program to be run and lets the user interact with the program