I've always found VITTA quite reasonable.
I just did the Unit 3 Theory test one from 2011, and got 15/20 for multiple-choice :/
Question 2: Name a device that operates only at the physical layer of the OSI model.
A. Hub
B. Switch
C. Router
D. USB stick
I said USB stick mainly because it cannot have any other function but connect to a port. However, some USB sticks can connect to the internet (ie. 3G mobile broadband) but how can you determine that a hub only runs at the physical layer of the OSI? Can't you have Ethernet Hubs that transfer actual data? The physical data is only binary and circuit transmission?
Question 9:A program is to be written to store the list of items sold and their characteristics. What would be the most appropriate data structure to use?
A. An array of records
B. An array of numbers
C. A one-dimensional array
D. A two-dimensional array
is it always appropriate in a situation like this to chose an array of records?
Question 17: A discount procedure algorithm has the following rules:
Orders over $500 receieve a 10% discount and orders over $1000 receive a 10% discount and free postage. Which of the following sets of test data would adequately test the discount procedure?
A. Order values of $500 & $1000
B. Order values of $501, $502, $600, $1200
C. Order values of $500, $501, $1000, $1001 & $1200
D. Order values of $400, $500, $600, $700, $800, $900, &1000 & $1200
The answer was C, I chose D.
The reason why I chose D is:
- Must test data <500 to ensure no discounts are included
- Must test data = 500 to ensure 500 isn't included in the discount (>500)
- Must test data over 500 to ensure a discount of 10% is given (>500)
- Must test data under 1000 to ensure it's not included in "free postage" (<1000)
- Must test data equal to 1000 to ensure it's not included in "free postage" (=1000)
- Must test data over 1000 to ensure "free postage" is included (>1000)
The test data at C does not wager for <500, so how can it be adequate?