WorksheetsTypes of Network and Defensive Design
Total questions: 25
Worksheet time: 13mins
Which of these is a characteristic of a LAN?
It covers a wide geographical area
Computers are connected together using a leased line or a satellite
Users can share files and peripherals
Data can only be transmitted at a very slow rate
Which of these is a characteristic of a WAN?
It covers a small geographical area
Normally has a lower bandwidth than a LAN
It is contained within one building
Users are not able to share files and peripherals
Which of these statements is true?
A client-server network has a central computer that provides services to the rest of the network
A client-server network is cheap and easy to set up
A client-server network cannot be used to share files
Each computer on a client-server network is maintain separately
Where are you most likely to find a peer-to-per network?
In a large organisation
In a home
In a large office
Across several offices in a company
Which of these is a benefit of a peer-to-peer network?
Antivirus scans can be run across all computers from one computer
All software updates can be run across all computers from one computer
All computers can be maintained from one computer
Files and peripherals can be shared
Which of these is not a method for ensuring a program is robust?
Data Validation
Authentication
Data Sanitisation
Keeping passwords safe
Why is code indented?
To group together a function
The code does not use a { syntax and indentation is used instead
To make it easier to read
All of the above
What is data validation?
Checking that the data entered is wrong
Checking that the data entered is correct
Checking that the data entered is sensible or reasonable
Checking the data entered was not spelt incorrect
Which is these IS NOT an example of validation?
Checking the number entered is 2 digits
Asking a user to enter the same data in twice
Use of a Lookup table
Use of a presence check
What does a range check do?
Checks data across a range of numbers
Where three types of data are used
Checks the data is within an acceptable range
Checks that the data is in the correct format
What is Maintainability?
Checking programs work
Testing a program for errors
Training staff to use the program correctly
Updating Code so that it is compatible with current requirements
Which of these is not a method for authenticating a user?
Password
Password and Username
Finger print scanner
Encryption
Why are comments used in a program?
It is required to make the program run
Comments pad out the program and make it look more professional
To keep the user aware of any program errors and issues.
To help security in the code
When should comments be used within a program?
To help describe what code and structures are expected to do
To remind the developer of when lunch is
To include what tests must be carried out on the code
Every line, so that you know exactly what is happening
A user attempts to enter in an incorrect password, what method would identify this issue?
Data Validation
Authentication
Program Comments
Indentation
What is the difference between Data Validation and Input Sanitsation?
Nothing, they are the same?
Data Validation checks the data is reasonable and Sanitsation removes unexpected or unrequired data.
Data Validation checks the data is correct and Sanitsation removes data that contains errors
Sanitisation checks the data is correct and Validation removes invalid
Calculating answers from formula
When is terminal testing carried out?
Before you start
At the end
During the project
After the design section
Which of these is NOT a feature of a test plan?
The data entered
The type of test data
If the testing is terminal or iterative
The expected outcome
The result of the test
When is a runtime error identified?
After the program is executed
Before a program runs
While the program runs
Which line contains a syntax error?
print (“hello”)
print(“Hello”)
print(“hello)
print(“HELLO”)
What is iterative testing?
Testing completed after an error is found
Random tests on a computer program
Tests completed as the program is being coded
Tests which are planned
When a program runs it asks the user to enter their age. Which data would be most suitable to test for an incorrect piece of data being entered?
44
1
97
Forty Five
Which of these is appropriate data for a range test for a youth club?
10 – 20 years
16 – 19 years
13 – 19 years
13 – 23 years
Which data below is a valid test for an age field?
18.6
99
Twenty-Five
17 years 5 months
What is the purpose of testing?
To identify errors
To identify issues that may occur when a customer uses the program
To test the security of the program
All of the above
