Sample QP1 Flashcards

1
Q

State what is meant by real time

A

The system gives a response within a guaranteed time frame

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

Why is a real time operating system suitable for hospital equipment

A

If something happens to a patient the response must be immediate
Other types of system have delays in their response
This could result in the patient not receiving treatment in time

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

Explain 2 advantages of storing a real-time operating system in ROM

A

ROM is quick to start up so can be booted up quickly in an emergency
ROM is read only so there is no chance of the OS being changed

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

What happens to the content of RAM and ROM when power to the system is removed

A

RAM is cleared
ROM stays the same

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

What are the ethical benefits and drawbacks of automatically delivering doses of medicine to patients

A

Benefits
Computers are always able to act deterministically unlike medical staff
The computer can respond instantly to changes in the patient’s condition
It becomes easier to monitor the patient round the clock
Staff shortages will not affect the computer
Drawbacks
The computer system may not be programmed to take in all the relevant factors
If there are bugs in the programming, then the patient may die
Patients may be able to communicate better with medical staff

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

Describe why film title is not a good primary key

A

A primary key must be unique however it is possible for 2 films to have the same title

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

Describe why film title would make a good secondary key

A

A secondary key is indexed allowing for faster searching and users are likely to want to search by file title

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

State what the opcode SUB does

A

Subtraction

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

Convert 43 from denary into 8-bit binary

A

00101011

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

Using twos compliment convert -43 into 8 bit binary

A

11010101

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

Convert 1.75 into normalized 8 bit binary, using 4 bits for the exponent and 4 for the mantissa

A

0111 0001

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

Describe what is meant by JavaScript

A

A programming language that runs in a web browser that can be embedded into HTML to make a website interactive

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

Why is JavaScript interpreted not compiled

A

JS is likely to run on a number of different computers with different architectures. Compiled languages are machine dependent whereas interpreters can run on anything.

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