Questions I dont understand from smart revise Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is lexical analysis

A

Breaks source code into tokens by removing whitespace, tabs and comments as they are not needed. This form is best suited for the syntax analyser

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

What is a base class in OOP

A

A base class is the highest class and does not inherit from any other class

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

Thinking logically

A

Identifying the points at which a decision is needed, determine the conditions of those decisions and determine the next steps depending on the outcome of the decisions.
e.g. flowchart

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

Order of compilation

A

Lexical analysis - Syntax analysis - Code generation - Optimisation

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

What does non pre-emptive mean

A

Able to interrupt a job during its running state and move it into a ready state.
e.g. First come first serve

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

What is encapsulation in OOP

A

Attributes of a class cannot be accessed by other classes if they are declared private

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

What is a super class in OOP

A

A class from which another class is derived, this super class can inherit attributes, methods and aids specialisation

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

What is a virtual machine

A

An abstraction of an underlying hardware architecture allowing programs written for one type of system to work on other systems.

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

What do file managers do

A

File managers allow directories, folders and files and to created, moved, copied, deleted and renamed.

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

What are error diagnostics

A

Messages from the compiler to the programmer indicating the location of syntax or possible logical errors, these message often reference the line number where the problem has occurred.

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

What is the purpose of a structure diagram

A

It’s used to break down a problem to show the order of program modules in a top-down design

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

What translates low level language code

A

Assembler

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

What translates intermediate level language code

A

Interpreter

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

What translates high level language code

A

Compiler

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

What is utility software

A

System programs that perform a specific task in the operation of the computer.
e.g. file backup, virus checking

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

What is a distributed OS

A

Software is spread over a collection of independent, networked, communicating and physically separate computers.

17
Q

What is polymorphism

A

Characteristic in object oriented programming of being able to allow methods in a subclass to override methods of the same name from their inherited superclass.

18
Q

What are peripherals

A

Any device that connects to the computing unit but is not part of the core architecture of the computing unit

19
Q

What is parameter passing by value

A

A local copy of the data is used. This is discarded when the sub-routine ends because local variables are stored on a stack and popped when the routine ends.

20
Q
A