An agricultural research laboratory wants to create tracking codes for soil samples collected in the field.
The table below shows details of some of the samples:
| sampleID | location | soilType |
|---|---|---|
| S9 | DEVON | PEAT |
| S12 | YORKSHIRE | SILT |
| S15 | KENT | SAND |
A tracking code is made up of the:
sampleIDlocationsoilTypeFor example:
Write a VB.NET program to create the tracking code for a soil sample.
The program should:
sampleID, location, and soilTypetrackingCodeYou should use meaningful variable name(s) and VB.NET syntax in your answer.
Practise AQA GCSE Computer Science String handling operations in a programming language with exam-style questions for GCSE Computer Science. 90 questions, matched to the AQA GCSE Computer Science (8525) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.