Security Precautions (SQA National 5 Computing Science): Exam Questions

Exam code: X816 75

5 mins5 questions
1
1 mark

Explain why encryption is used when sending emails across wireless networks.

2
1 mark

A gym wants to encourage members to burn more calories than their monthly target.

It uses a program to calculate additional calories burned over a 12‑month period.

April

May

June

...

6821.34

5129.89

4997.67

...

The design below shows how a member’s average additional calories burned is calculated and displayed.

  1. Store each month’s additional calories burned

  2. Calculate the average additional calories burned

  3. Display the average additional calories burned

The data structure calories is used to store additional calories burned each month. The variable avgCalories is used to store the user’s average additional calories burned.

A member has written an e-mail to the gym manager.

State what can be done to ensure that, if intercepted, the e-mail cannot be read by others.

3
1 mark

A campsite booking system is being developed to calculate the cost of a stay at £35 per night, per person. The cost will be displayed to the user before they confirm the booking. The system will ask users for their name, number of people, arrival date and length of stay.

To pay a deposit, users will have to provide bank account details.

State how this information could be transferred securely to the booking system.

4
1 mark

An email has been intercepted by a hacker whilst being sent across a network. Part of the contents of the email are shown below.

A!e% #e 7y zX$s _£

Describe what has been done to the email to avoid it being understood by the hacker.

5
1 mark

In a flight booking app, users are asked to enter their departure airport, destination airport, departure date, return date, number of adults and number of children.

A message will then be displayed showing the total flight cost and the duration of the trip.

The app will store passenger information.

State how this information could be transferred securely from the app to the computers running the booking system.