Theory Flashcards Paper 2

1
Q

What is a bit?

A

A single 1 or 0

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

What is a byte?

A

8 bits

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

How many bytes are in a kilobyte?

A

1024

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

How many kilobytes in a megabyte?

A

1024

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

Finish the sequence bytes, kilobytes……

A

Megabyte, gigabyte, terabyte, petabyte,

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

What is a pixel?

A

The smallest element of an image – dots that make up an image on a screen

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

How many bits does ASCII use?

A

7 or 8 bits (either is right)

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

How many bits does Unicode use?

A

16 or 32 bits (either is right)

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

What do we call the list of characters a computer can represent

A

Character set

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

Give an example of metadata stored with an image

A

Height, Width, Resolution, Colour depth, date it was produced

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

What is a method of describing a program using proper English rather than a programming language

A

Pseudocode

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

What is the connection between sample rate, quality of sound and file size?

A

The higher the sample rate, the better quality of file, the larger the file size

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

What two parts is an instruction split into?

A

The operator (instruction part) and the operand (the data part)

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

Assembly language is also known as…

A

A low level language

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

In what language do mnemonics make an appearance?

A

Assembly language

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

What language do machines understand?

A

Binary/Machine language

17
Q

State two features of an IDE

A

Source code editor/error diagnostics and debugger/run-time environment/translator

18
Q

A sequence is when…

A

Instructions are executed one after the other

19
Q

Selection is when…

A

The path through the program is decided by looking at a condition (IF statement)

20
Q

Iteration is when…

A

The programs repeats commands until a critieria has been met (Loop)

21
Q

What is the difference between a FOR loop and a WHILE loop

A

With a FOR loop we know how many times the loop will run before the code is run, with a WHILE loop the user can choose to stop the loop or keep repeating

22
Q

What is the difference between a variable and a constant?

A

A variables value can change in the program, a constant cannot change

23
Q

Define an Array

A

A set of variables with the same name (identifier)

24
Q

What is a variable?

A

An identifier that points to a place in memory

25
Q

What is a syntax error

A

A mistake which breaks the grammar of the programming language

26
Q

What is a logic error

A

The program will run, however it does not give you the result you expected