PSEUDO CODE - READING DATA FROM A FILE AND STORING IN PARALLEL ____ 1.1 ____ marks file 1.2 Start fixed ____ for each pupil 1.3 ____ a line from marks file 1.4 Assign name to pupilName array 1.5 Assign ____ to pupilDob array 1.6 Assign Address to ____ array 1.6 ____ fixed loop 1.7 Close ____ file ____ get_results(ByRef pupilNames() As String, ByRef prelimMarks() As Integer, ByRef courseworkMarks() As Integer) 'reads data into ____ arrays from a sequential file Dim fullLine(2) As String ____(3, "C:\\prelimData.csv", OpenMode.____) For i = 0 To 14 fullLine = LineInput(3).Split(",") pupilNames(i) = tempArray(____) prelimMarks(i) = tempArray(____) courseworkMarks(____) = tempArray(____) ____ FileClose(____) ____ Sub

File Operations - parallel arrays

Scorebord

Visuele stijl

Opties

Template wisselen

Automatisch opgeslagen activiteit "" herstellen?