stuff 4 2morrow Flashcards

1
Q

what is decomposition?

A

breaking down a complex problem into smaller problems

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

What is abstractation?

A

hiding or removing irrelevant details from a problem to reduce the complexity

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

flowchart process shape

A

rect

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

flowchart input output shape

A

parralelogram

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

flowchart decision shape

A

diamond

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

flowchart terminal shape

A

rounded rect

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

purpose of a truth table

A

To show all possible inputs and the dependant output

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

what is count controlled iteration

A

Count-controlled
iteration repeatedly executes a section of code a fixed number of predetermined times.

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

what is condition controlled iteration?

A

Condition-controlled
iteration
repeatedly executes a section of code until a condition is met - or no longer met.

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

what is pseudocode

A

. Instead, it is a simple way of describing a set of programming
instructions
in a manner that resembles a programming language.

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

advantages of pseudocode

A

can be easily converted to an actual programming language as it’s similar to a real language
easy to understand
syntax errors don’t matter
changes can be incorporated quite easily

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

disadvantages to pseudocode

A

can be hard to see how programs flows
takes time

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

describe how transistors can store a value in binary

A

Transistor has two states
1 represents on, 0 represents off
each stores 1 bit
Multiple transistors can store a binary value

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

Why is “hexadecimal uses less storage” incorrect?

A
  • Data cannot be stored in hexadecimal // all data is
    stored in binary // hexadecimal is a shortcut for
    computer scientists
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

describe the data that is recorded when the sound is sampled

A

The height / amplitude…
* …as a numerical value
* …of the wave(form)

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

what is algorithmic thinking?

A
  • …set out the steps needed to solve the problem //
    represented in a flow chart / as pseudocode
17
Q

what is input sanitisation?

A

cleaning up data entered by removing non standard characters

18
Q

explain the purpose of testing [the vending machine]

A

cheks it meets user requirements
detect logic/syntax errors
check program does not crash
allow error to be fixed
so no errors when released

19
Q

Give two reasons why computer scientists use hexadecimal to represent numbers instead of
binary.

A

less chance of input error
easy to convert between hex+binary
easier to communicate/read/remember/enter/write

20
Q

What is image resolution?

A

number of pixels/height and width of image

21
Q

what is metadata?

A

data about data/the file/properties of the file

22
Q

why are trace tables useful?

A

they enable programmers to compare what the value of each variable should be against what a program actually produces.