2020 Paper Flashcards

1
Q

Describe what is meant by the term client server

A
  • Client computer connect to a server
  • The server then provides access to a service
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give 2 advantages of a client-server compares to a peer-to-peer server

A
  • A client server is easier to keep data secure
  • A client server only has one point of failure
  • A client server is easier to backup
  • A client server is easier to manage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain the purpose of a network switch

A
  • A network switch connect computers together on a LAN and receives and sends packets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe what is meant by the term ‘foreign key’

A
  • A foreign key creates a join to a primary key in a second table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe two ways that hashing could be used in this database

A
  • Hashing is used for security and hashes passwords in a database to ensure passwords cannot be read if stolen
  • Hashing is used for direct access on records by using hash of index as address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain what is meant by the term ‘referential integrity’

A
  • Each foreign key must link to an existing primary key
  • This is broken if the primary key is updated/deleted and the foreign key is no longer valid
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

State the purpose of a D-type-flip-flop circuit

A
  • A D-type-flip-flop circuit stores the value of one bit when a signal is given
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe the inputs and outputs used by a D-type-flip-flop circuit, explaining how the inputs are used to control the outputs

A
  • Data is the input and clock is the input
  • Q is the output and not Q is the reverse of Q
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Write a program using LMC that will allow a user to input two numbers and then output the larger of the two numbers. The program should loop continuously

A

Start INP
STA x
INP
STA y
SUB x
BRP first
LDA x
OUT
BRA start
first LDA y
OUT

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

Describe two ways that an operating system could manage physical memory

A
  • Paging could be used which splits up memory into 4K fixed chunks
  • Segmentation could be used which splits up memory into logical sizes that vary
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Explain benefits of memory management to the user

A
  • Memory management increases security for the user as the program cannot access memory kept for other programs
  • Memory management enables multitasking for the user as multiple programs can run at once
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe how virtual memory allows a user to run programs when physical memory is full

A
  • Pages that are not required are moved from memory to second storage to create room in memory
  • Then pages are moved back to memory when required
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe what is meant by the term ‘device driver’ and give on example

A
  • A device driver is a software that allows the OS to communicate with hardware
  • Example a webcam driver, printer driver
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Give examples of utility software explaining the purpose of it

A
  • One utility software is compression which reduces the size of files and increases memory
  • Another utility software is encryption which scrambles up the meant of data with a key to increase security
  • A third utility is backup which makes regular copies of files incase it’s lost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

State what is meant by the term ‘open source software’

A
  • An open source software is when the source code is available to the public to edit, modify and recompile
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Explain what is meant by a library giving and example of when one may be used

A
  • A library consist of sections of code already written containing useful routines
  • Libraries may be used in encryption and graphics
17
Q

Describe the advantages and disadvantages of library files to programmers

A

Adv:

  • Library files saves time as code doesn’t need to be re-written
  • Library files have already been tested making debugging easier

Disadv:

  • Libraries can contain many routines that are not used so they may increase file size
  • Libraries are not written by the programmer so the programmer has to familiarise themselves with library code