Last min paper 1 notes Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is meant by the term register

A

A temporary storsge space within the cpu, which may have a specific purpose

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

What devices would use cisc or risc

A

Risc = portable device (phone\tablet)
cisc = desktop\laptop

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

What are the benefits and limitations of parallel processing?

A

Benefits:
-makes maximum use of cpu
-execute code more efficient
-processing large amounts of data quicker

limitations:
-hardware is more expensive
-not all data is suitable

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

Why would a self service system have its boot system stored in ROM?

A

-Rom leads to faster start-up times
- operating system is unlikely to be altered with

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

What is interpreted language and compiled and advantages?

A

Interpreted language is translated from low level language to machine code, this is translated line by line
-easily spots errors
-no need to wait full compilation

compiled language is high level language to machine code this is translated in its entirety

-runs more quickly than interpreted
-can run without viewing
-

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

What is lexical Analysis?

A

Unecessary spaces are removed
source code is broken into tables
unnecessary spaces are removed

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

What is syntax analysis?

A

Order of tokens is checked to see whether the rules of the language are being followed,
parse tree is produced

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

What is semantic analysis?

A

Checks that all variables used have been declared
checks that the operations are legal
checks that the data is assigned to appropriate data types

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

Describe the role of linkers and loaders?

A

A linker combines multiple code objects and libraries into a single executable file , a loader is an operating system component that loads programs Into main memory

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

why is a record more appropriate than an array for storing data?

A

An array cant store multiple data types , whereas a record can

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

what are the benefirts of using an open source code?

A

free of cost
can tailor the program to their specific needs
can open for bugs to be opened and fixed

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

what are the three basic programming constructs?

A

-Branching(selection)j
-sequence
-iteration

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

What are functions? And examples

A

Functions returns a value

examples are :
int
print
input

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

What is optical storage ? and its characteristics

A

-This is binary stored as variations on the surface of a dick,
this can be read from the lands and the pits of the surface area of a disk.
-Data is written with a laser

small capacity
good portability
easily damaged

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

what is magnetic storage? and it charactersitcs

A

This consists of data magnetic hard drives and magnetic tapes, this understands data through electromagnets. parts of the surface are magnetised or demagnetised.

large capacity
cheap to buy
not durable
not portable

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

what is a SSD ?

A

An SSD is a storage device through semi-conductors

small capacity compared to magnetic storage
very fast and reliable
expensive

16
Q

what is a damping factor ?

A

This is a value between 1 and 0 , this is the probability the user will not follow the link

17
Q

factors that effect the page rank algorithim?

A

number of links to the target site
the page rank of sites linking inwards

18
Q

how is a website indexed in the search engine ?

A

The system sends ‘web crawlers’ that continous search the www, for information that is relevant such as meta tags.This records the information then stores them in an index, then follows the link to the target page.

19
Q

what does ACID stand for and what does each mean

A

A-atomicity- The entire transaction must finish
C- consistency - helps ensures is in its correct state
I-isolation - concurrent execution
D-durability - non volite, even when the system has a failure it must still save it and function

20
Q

Describe what is lexical anaysis and syntax analysis

A

Lexical- This is the process of removing white space and coder comments, through scanning the source code, left to right and placing keywords into a symbol table, to keep track of the subroutine. This also creates tokens.

syntax analysis- This is the process of checking the code and making sure that it makes sense to the computer system, this creates an abstract syntax tree , and if an error of code is spotted it will flag up

21
Q

what are the stages of compilation?

A

Lexical

syntax

code generation

code optimisation

22
Q

what is code generation and code optimisation?

A

code generation - This is the process of converting the abstract code tree into object code

code optimisation- This is the process of removing redundant code and making it more effecting to run with less memory

23
Q

what is record locking ?

dis advantages

A

This is the process of locking data in a record to minimise is access to users, an example would be locking tickets to potential buyers for 10 mins.

DeadLock
wait time

24
Q

list a few methods of echaning data

A

CSV
XML
SQL
JSON

25
Q

what is a similarity between ASCII code and UNICODE?

what are differences between asci and uni code ?

A

A similairty is that ascii code and unicode both use binary to represent character sets

-UNI code can represents symbols whereas ascii cant
-ascii has fewer characters whereas unicode has more characters
-asci has 7bits whereas unicode has 16 bits ,

26
Q

What is a D-type flip flop ?
and state its purpose

what are the inputs and outputs

A

A D-type flip flop is a positive edge triggered flip flop circuit

The purpose is that it is used for intermediate storage of arithmetic calculations

clock signal and data