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. “Number”...


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. “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 3. [Repeat for all values of the CNum Index] 3 2 3 C2 10 20 30 ExNum-0; 4 30 81 30 C3 CNum CNum+1; If CNum>4 then goto step2; C4 10 59 30 4 4.[Repeat for all values of the N Index] ExNum- ExNum+1; If ExNum>3 then goto step3; 5.[Read the point) Read(Polnt); Student[StNum, CNum, ExNum ]-Point; Goto Step4; "/>
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]1integer; 2 StNum-0; 4 2. [Repeat for all values of the StNum index] Midterms Courses 1 CNum-0; 2 3 M1 M2 Final StNum-StNum+1; 4 If StNum>5 then Goto Step6; C1 80 30 40 3. [Repeat for all values of the CNum Index] 3 2 3 C2 10 20 30 ExNum-0; 4 30 81 30 C3 CNum CNum+1; If CNum>4 then goto step2; C4 10 59 30 4 4.[Repeat for all values of the N Index] ExNum- ExNum+1; If ExNum>3 then goto step3; 5.[Read the point) Read(Polnt); Student[StNum, CNum, ExNum ]-Point; Goto Step4;
Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here