ICS Flashcards

1
Q

Nibble

A

4 bits

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

2’s complement

A

2^n - N. Sign bit has 2 representations of 0

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

Word

A

Number of bits a system operates with

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

Numerical Precision

A

Number of digits to represent a number. Multiple of the smallest bit

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

Floating Point

A

Represent a number in standard form and then an 8 bit number

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

Control Unit

A

Decides where information comes in

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

ALU

A

Arithmetic and Logical Unit. Does math operations

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

Program Counter

A

Stores address of next instruction

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

Accumulator

A

Stores the result of the operation

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

Control Bus

A

Connects the CPU to other devices

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

Address Bus

A

Communicates the memory locations

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

I/O

A

Input and Output of the computer

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

Clock Cycle

A

Square-wave signal to synchronise computer actions

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

Fetch

A

Read PC, load instruction, update PC

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

Analytical Engine

A

Mechanical general purpose computer

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

Linking

A

Program that links code with other called code

17
Q

Parsing

A

Checks syntax, extract information, variables

18
Q

Loader

A

Loads the program and data into the memory

19
Q

Interpreter

A

Program which performs code without converting to machine code

20
Q

Java Virtual Machine

A

Provides security and platform independence

21
Q

Passing by Value/Reference

A

Value is always the same, but reference can be changed

22
Q

Symbolic Reference

A

Text reference to a variable

23
Q

Local Variable

A

A variable only in a method

24
Q

Static Method

A

Can be ran without and instance of the class

25
Q

Slot Number

A

Memory locations of stored values

26
Q

Orders of Growth

A

Worst case scenario of how long a program takes to run

27
Q

Nondeterministic

A

Output is not known definitely, from a list of possible values.

28
Q

Checking Correctness

A

Testing, Formal verification, By contract

29
Q

Defensive

A

In public methods, defends against mistakes and malicious attacks

30
Q

Invariant

A

Predicate during execution

31
Q

Instance invariant

A

Predicate of instance variables

32
Q

Maintain Invariants

A

Invariant in constructors, re-established in methods