[SOLVED] CS384 Tutorial 3-Academic Subject Record

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon tut03-rhfxfc.zip (833.2 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
Rate this product

Tutorial 03 CS384 – Academic Subject Record

1. You cannot use CSV library.
2. Simple file reading, writing needs to be used. 3. Program will be checked for plagiarism.

PS: This is an old list of courses. You may find your roll number here, but ignore the details. Its just for your practise.

Task 1:
You are given a “regtable old.csv” file containing the subjects taken by IITP students. You need to make files for individual roll numbers with their subject information.

Template of “regtable old.csv” is as follows: rollno: Roll number of the student
register sem: Semester for which registered. schedule sem: Semester for which registered . subno : Course Code.

grade1: Ignore.
date of entry1: Ignore. grade2: Ignore .
date of entry2: Ignore. sub type: Core/Elective.

If a roll number has taken k subjects, there would be k rows against the roll number in the input file “regtable old.csv”. Your task to read the “regtable old.csv” file without the csv library and make k files corresponding to k roll numbers. A sample output for Task 1 is shown in 1901EE01.csv file. (Note the, between the text. You cannot use CSV module for writing also)

Check the sample output folder 1901EE01.csv rollno,register sem,subno,sub type 1901EE01,5,CS384,Open Elective 1901EE01,5,EE330,CORE 1901EE01,5,EE331,CORE

1

1901EE01,5,EE350,CORE 1901EE01,5,EE370,CORE 1901EE01,5,EE372,CORE 1901EE01,5,EE381,CORE

All of the outputs for Task 1 should go into the folder “output individual roll”

Task 2:
Now you need to make a file for every individual subject listed in the “regtable old.csv”. Read the subno column and for each individual subject you need to include all students that have taken those subject. (Note the, between the text. You cannot use CSV module for writing also). Check the file sample output \CS384.csv file and make for all unique subjects.

All the outputs relating to Task 2 should go into “output by subject” folder.

I placed the sample output folder just for ease of viewing the output. Your outputs should go to folders as described in Task 1 and Task 2.

2

  • tut03-rhfxfc.zip