theory Flashcards

1
Q

sequence

A

code runs in the same order every time

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

selection

A

only runs a line of code if a condition is true

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

iteration

A

a loop, the code repeats

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

variable

A

a named location on the memory which stores information that can change during the running of the program

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

float

A

a decimal number e.g. price=float(2.4)

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

integer

A

a whole number e.g. age=int(6)

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

string

A

a set of alphanumeric characters e.g. name=str(jack)

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

boolean

A

true or false e.g. canMoveRight=true

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

algorithm

A

a set of instructions which when followed solve a problem

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

decomposition

A

breaking a problem down into smaller problems to make it easier to solve

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

abstraction

A

taking away unnecessary information to allow you to focus on the main elements of the problem

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

network

A

an interconnected collection of computers

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

advantages of networking

A

it enables sharing of data, files, sharing of peripherals e.g. printers. It also provides control and security as backups and updates can be rolled out centrally

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

network protocol

A

a set of rules that determine how data is transmitted between different devices in the same network

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

data packet

A

a part of a file

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

standard protocols

A

-http : hypertext transfer protocol, used for transferring data over the internet
-https : hypertext transfer protocol secure, to transfer encrypted data over the internet, especially those that require login credentials
-pop : post office protocol, used when receiving emails
-imap : internet message access protocol, used when receiving emails
-smtp : simple mail transfer protocol, used when sending emails

17
Q

syntax error

A

doesn’t meet the rules / grammar of the language and will not run

18
Q

logic error

A

program runs but generates an unexpected output

19
Q

input devices and example

A

allows data to be transferred from the user into the computer e.g.
-mouse
-keyboard
-scanner

20
Q

output devices and examples

A

shows result of processed data to the user e.g.
-moniter
-printer
-speaker

21
Q

storage devices and examples

A

allows you to save information when the computer is turned of e.g
-RAM (random access memory)
-HDD (hard disc drive)
-SSD (solid state drive)