Stuff To Learn 2.1 - 2.5 Flashcards

(27 cards)

1
Q

Abstraction

A

Removing unnecessary detail from a problem - So you can then focus on essential components

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

Decomposition

A

Involves breaking down large problems into smaller sub-problems which can then be broken even further until each small task is manageable

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

Algorithmic Thinking

A

Logical way of getting from a problem to a solution - If the steps you take follow an algorithm this can be used again in the future

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

What will output from an AND gate

A

Will only have an output of 1 if both A and B are 1

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

What will output from an OR gate

A

It will have an output of 1 if either A or B are 1

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

What happens at a NOT gate

A

It inverts/swaps the input

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

Normal testing?

A

Data the user is likely to enter into the program

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

Boundary testing?

A

Values at the limit of what the program should be able to handle

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

Invalid Testing

A

Inputs with correct data type that should be rejected by the program

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

Erroneous Testing

A

Inputs with an incorrect data type that should be rejected by the program

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

Iterative testing?

A

Tests modules and parts of a program as the program is developed

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

Final/Terminal testing?

A

Tests the whole program at the end of production

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

Examples of Low level languages

A

Assembly language, Machine Code

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

Examples of High Level Language

A

Java, VB P, C++, Python

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

Advantages of Low Level Languages

A

Can run very quickly
Usually requires less RAM
Statements can be used to control and manipulate specific hardware components

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

Advantages of High Level Languages

A

Easier to learn
Programs can be written faster
Easier to understand and debug

17
Q

Disadvantages of Low Level Language

A

Harder to learn
If written for one type of processor it won’t work a.different type of processor

18
Q

Characteristics of compiler

A

Translates whole program to produce object code

Compiled program executes faster - Already in machine code

No need for compiler to be present when object code is run

Customers that have bought commercial software cannot see the code when they buy it so it cannot be adapted.

19
Q

Characteristics of an Interpreter

A

Translates and executes one line at a time

Takes more time to execute as each instruction is translated

Interpreter must be installed to run program

Customers can see the source code so they can adapt it or see how it works

20
Q

Features of an IDE(Integrated Development Environment)

A

Line Numbers = When errors are found - Line numbers that they occur on will be told

Syntax Highlighting = Colour of text changes to show different parts of the program

Error Diagnostics = Help programmers find where they have made a mistake

Debugging code = Breakpoints(Set up by the programmer) used so that the IDE stops the program mid-way through running

Run-time environment = Allows a programmer to test their program while it is running

21
Q

Interpreters and Compilers are types of?

22
Q

What does the circular edged rectangle represent in flowcharts?

A

Start and Stop

23
Q

What does the rectangle represent in flow charts?

A

Operation(Process)

24
Q

What does the square shaped diamond represent in flowcharts?

A

Decision(IF Statement)

25
What does the parallelogram represent in flowcharts?
Input & Output
26
What does the rectangle with lines of equal length going down the sides represent in flowcharts?
Subroutine
27
What does the arrow represent in flowcharts?
Direction of flow