You are given a file called “std” and composed of “Number, Name, Address” fields. Write an algorithm that makes “insert, delete, update and retrieve”, processes on the records in the file. The...


You are given a file called “std” and composed of “Number, Name, Address” fields. Write an algorithm that makes “insert, delete, update and retrieve”, processes on the records in the file. The “Number” field is the key of each record.


it should look like the one in the picture.


Algorithm ThreeDimensionalArrayApplication;<br>//This algoritm defines a 3 dimensional array called 5 then Goto Step6; C1 80 30 40 1 3. [Repeat for all values of the CNum Index] 2 C2 10 20 30 ExNum-0; 30 81 30 C3 CNum-CNum+1; 1 If CNum>4 then goto step2; 2 3 4 C4 10 59 30 4.[Repeat for all values of the N index] ExNum- ExNum+1; If ExNum>3 then goto step3; 5.[Read the point] Read(Point); Student[StNum,CNum, ExNum ]-Point; Goto Step4; 4) "/>
Extracted text: Algorithm ThreeDimensionalArrayApplication; //This algoritm defines a 3 dimensional array called "Student" and keeps the points of 5 students. Each student takes 4 courses and 3 points from each course. Here are the indexs will be used: "CNum" keeps the course number; "StNum" keeps the student number; "Points" keeps the points of student that takes from each exam of each course. "EXNum" is the count of exam of each course// 1.[Initialization] StNum CNum ExNum Polnt Student[1:5,1:4,1:3]lnteger; 1 StNume-0; 1 2. [Repeat for all values of the StNum index] Midterms Courses 1 CNum-0; M1 M2 Final StNum-StNum+1; 1 4 if StNum>5 then Goto Step6; C1 80 30 40 1 3. [Repeat for all values of the CNum Index] 2 C2 10 20 30 ExNum-0; 30 81 30 C3 CNum-CNum+1; 1 If CNum>4 then goto step2; 2 3 4 C4 10 59 30 4.[Repeat for all values of the N index] ExNum- ExNum+1; If ExNum>3 then goto step3; 5.[Read the point] Read(Point); Student[StNum,CNum, ExNum ]-Point; Goto Step4; 4)
Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here