COmputing Flashcards

1
Q

In ascii,what are non printable characters?

A
  • back space

- enter key

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

How is a real number stored in a computer

A

Mantissa and exponent

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

Explain how a computer system organises data in memory so that it can be retrieved

A

it organises data in separate unique locations

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

What is the purpose of a firewall

A

restricts access to foreign networks

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

explain how encryption keeps data safe

A

encodes a file and makes it unreadable to others

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

what are the 3 loops and what are there purposes

A

-conditional-loop will run till condition meet
-fixed- will run a set number of times
Do-while run until the condition is meet

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

What are the four vector shapes

A
  • rectangle
  • line
  • ellipse
  • polygon
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what are the three main parts of a CPU and their function

A
  • control unit-this controls the order of execuition and timing of instructions
  • ALU-preforms calculations
  • Registers-temp storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what bus goes both ways (UNIdirectional) and where is it going

A

Data bus

-from cpu to memory or vice versa

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

what bus is bidirectional

A

address

-cpu to memory only

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

What are the two types of translators

A

interpreter

compiler

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

describe how a bit mapped graphic would be stored

A

it would be stored as pixels with each pixel stored as a value

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

what are the main functions of a interpreter

A

does it line by line
to easily spot errors
and code is not saved

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

what are the main functions of a compiler

A

translates and executes the complete program once and saves a version in machine code
this is only done once

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

how to remember this easily

Compiler and interpreter

A

Compiler
Complete program
CODE is saved

interpreter
INDIVIDUAL lines
Individual times

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

What are some complex operators

A

AND,OR,NOT

17
Q

What is a syntax error and whats the outcome

A

causes by adding extra or missing characters

-program crashes

18
Q

What is a executation error and what is its outcome

A

when the program tries to do something impossible

program crashes

19
Q

what is a logic error and whats its outcome

A

program runs but causes unexpected output

-program still runs

20
Q

What are some disadvantages of flat file databases

A

Data duplication

insert,update and delete errors

21
Q

What does GDPR mean

A

general data protection regulation

22
Q

how must data be held by GDPR standards

A
  • Data must be held for its intended purpose
  • held securely
  • not kept for longer than necessary
23
Q

what rights do individuals have under the GDPR

A
  • right to be informed about there data

- right to access the data held

23
Q

what rights do individuals have under the GDPR

A
  • right to be informed about there data

- right to access the data held

24
Q

what is the purpose of a data dictionary

A

Plan of how database is to be

implemented.

24
Q

what is the purpose of a data dictionary

A

Plan of how database is to be

implemented.

25
Q

What are all the types of validation

A
  • presence check
  • restricted choice
  • field length check
  • range check
25
Q

What are all the types of validation

A
  • presence check
  • restricted choice
  • field length check
  • range check
26
Q

why does a database be designed to include a primary key

A

in order for each record to have a unique identifier

27
Q

what is the function of predefined functions

A

small sub-program that completes a task and returns a value

28
Q

what is input validation

A

the data entered into the program is repeatedly checked to make sure it is sensible

29
Q

what else does input validation force the user to do

A

Input validation forces the user to enter only valid data

30
Q

how to make a program only accept a 8letter password or something similar in nature

A

if datachoice <>”y” or <>”x” then

to do this use <>

31
Q

how to prove a program is fit for purpose

A

you state what the database asked you to do then prove your solution does

31
Q

how to prove a program is fit for purpose

A

you state what the database asked you to do then prove your solution does

32
Q

how to create a efficient program

A
  • use complex statements
  • use else if
  • use arrays
33
Q

what are some ways a program is fit for purpose

A
  • readibility
  • internal commentary
  • indentation
  • white space
34
Q

what are some ways a program is fit for purpose

A
  • readibility
  • internal commentary
  • indentation
  • white space
35
Q

if it says what is the link between the databases what dose it mean

A

it means the one to many aspect