Miscellaneous Flashcards

(77 cards)

1
Q

What is a search engine

A

a SOFTWARE PROGRAM WHICH SEAERCHES A DATABASE OF OINTERNET ADRESSES TO LOCATE RESOIRCES SEARCHED FOR BY CLIENT CRITERIA

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

hOW IS A PROGRAMMKNG LANGUAGE USED IN DECLARITIV LANGUIAGES

A

dETERMINE how to acheiive result best way whilst abstraction details of the process from the user

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

2 pros of static linkers

A

Kess compatibility issues as updates to modules/libraries will not affect program and specific versions of modules and libraries can be used

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

3 uses of client side processing

A

Initial data validation
Web page interactivity
offline web

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

second normal for m

A

No partial dependencies so has to rely on all of primary key

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

third normal form

A

No non key dependencies

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

What is consitency

A
  • A transaction must maintain the referential integrity rules between linked tables

Database consistency ensures that a database remains in a valid state before and after any transaction. This means that any data written to the database must adhere to all predefined rules, constraints, and relationships

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

Space for merge

A

n

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

space for quick

A

log n

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

time for quick

A

n squared

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

What is compression

A

The process of making a file smaller/take up less storage

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

What is an expert system

A

a piece of software which uses databases of expert knowledge to offer advice or make decisions in such areas as medical diagnosis.

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

Cons of dynamic linkers

A

Your executable file may not run if the libraries are missing, outdated, or corrupted. Second, it degrades the performance of your program, as it introduces the overhead of loading and resolving the library symbols at run time.

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

What is disk defragmentation

A

a utility that will better organise files on the hard disk so that the operating system can access them more efficiently

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

what is an overhead

A

any combination of excess or indirect computation time, memory, bandwidth, or other resources that are required to perform a specific task

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

Difference between get and post requests used for http

A

GET is for fetching data, appending parameters in the URL, ideal for searches. POST, used for updates, sends data securely in the request body, perfect for forms.

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

When are pages and segments transferred onto main memory

A

When they are needed

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

How could mameory be changed for instructions and data

A

Instrictions read only and data rea /write, larger word size used to instructions

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

What is word size

A

the amount of data a CPU’s internal data registers can hold and process at one time

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

What type of access does RAM offer

A

Direct access

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

What is 7 DIV 2

A

3

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

What does breadth first traversal use

A

Queues

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

What does depth first traversal use

A

Stacks

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

What is the system stack

A

LIDO data structure in memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
A
26
What do co processors help with
Floating point arithmetic and graphics processing
27
What is referential integrity
Ensures the consistency of the data in a database. Generally, you would want to enforce referential integrity in a database. It requires that, whenever a foreign key value is used it must reference a valid, existing primary key in the parent table
28
Durability
Changes resulting from a transaction are straightaway written back to permanent storage and not held in volatile memory (RAM). You never have to click Save in a database and a sudden power cut won't mean a transaction is lost.
29
What is RAM a form of
Primary memory and is volatile
30
What does multi taskign allow
Multiple programs to run at same time
31
What is a firewall
A hardware device/piece of software that monitors (and filters/blocks) traffic/packets going to and from a network. (
32
Why would a firewall be used
Prevent unauthorised access to a network. (1) To restrict applications that are used internally that have internet access. (1) To restrict websites that can be accessed from within the company. (1) To protect the company’s data/intellectual property.
33
What else do you need to do when removign node from linked list
create a new node but no that is for adding
34
How does compression save money
Using less bandwidth or data usage
35
What do hash tables allow
Direct access
36
What does RLE rely on
Consecutive pieces of data/characters being the same
37
What happens in dictionary encoding
Frequently occuring pieces of data/groups of characters are replaced by symbols/tokens a dictionary is then used to say which symbols/tokens mathcn which group of characters
38
How is dictionary decpompressed
Dictionary used to replace tokens with original text
39
Remember space
Is a character
40
What is RLE suited for
simple images not natural language
41
When should you send the key to decrypt something
When you want it to be decrpyed
42
What does TEN DAT 10 do
- Stores the value 10 (1) - In a memory location (1) - Given the label/symbolic address ten (1)
43
What changes value in PC
Branching
44
and
Outputs it
45
RIGHT SHIFT
Moves everything to right so divides by 4 does not move decimal to right
46
What is a hash
A result generated by applying an algorithm/numeric process to a valu
47
What are some AI techniques
AI techniques include neural networks, evolutionary computation, Bayesian networks etc.
48
What is AI the study of
Artificial Intelligence (AI) is the study of computers displaying intelligent behaviour (usually characterised by decision making)
49
When could the use of humans be unethical
And in the case of certain tasks (e.g. surgery) would make the use of human workers unethical
50
Difference between ID and class
Only one element can have a given id/id is unique. (1) Class can be used assigned to multiple elements/used multiple times. (1)
51
Do you need speech marks in css
No
52
Disadvantages of client side example
- Won’t work if JavaScript is disabled. (1) - Shows incorrect message if user’s computer’s clock is wrong/in different time zone. (1) - (Source) code is visible allowing it to be copied/modified. (1)
53
Libraries
Can have been written in dif language!
54
What do symbol tables in lexical analysis also hold
Scope and data type
55
wHAT ELSE DONE in lexical analysis
White space and stuff removed
56
Amount of CPU is left idle
ok
57
What happens if a swap is made in a bubble sort
A flag is set to determine wether another pass needs to be made (if it is flag is reset)
58
Why would chefs use a linked list
Orders can be processed in the order they are in the queue  Orders can be inserted at any place in the list e.g. high priority item inserted earlier in the list  Orders can be deleted from any position in the list once they are complete  List is dynamic…  … to allow orders to be added / deleted
59
Concurrent processing what are individual processes
Threads and each of them has a life line
60
How does depth first work
 Depth-first goes to left child node when it can...  If there is no left child it goes to the right child  when there are no child nodes the algorithm ‘visits’ it’ and backtracks to the parent node.
61
What can be used to represent elements of a problem with abstraction
Symbols
62
What is recursion a type of
A subroutine
63
Advantage and disad of compilers and interpreters
Code needs to be interpreted each time it is run however it is not platform dependant
64
Why do compilers require more memory
Generates Object Code which further requires linking, hence requires more memory. whereas interpreters do not generate object code
65
Give two examples of reusable components
Objects and functions
66
What is ISR
a software routine that hardware invokes in response to an interrup
67
What does a secondary index require
Increases data need to be kept consistent
68
Secondary index is not
Less accurate
69
Method of capturing temperature
Thermistor
70
What is thinking ahead
the planning of inputs, ouputs and preconditions that the program will adhear to. By 'Thinking Ahead
71
What does cashing free
Bandwidth on the network for other tasks
72
What is a virtual core
A CPU that has separation between two areas of the processor is
73
Are procedural and OOP imperitive or declaritive
Imperitive
74
2 specific things about lists
sequenced and abstract
75
4c or c1
4C
76
header html
header not head as different
77