CIS41A De Anza College Programming and Python Code question

Anonymous

Question Description

Data FIles: Classes.csv

Suggested UDTs: Student, ClassRoom, School

Description:
Read the Classes.csv file. For each Student in the classes, assign the Student into a ClassRoom. The number of Class's is unknown when the program starts but there is no limit to the number of ClassRooms in the School. Assign each student to the appropriate ClassRoom. Demonstrate that the Students are stored correctly to each ClassRoom in the School.

Note: This is a similar architecture to the Hotel.py file. The motel had rooms and guests in each room. In the final, the school has rooms and the rooms have a collection (lists or dictionaries) of students.

Techniques to use:

Comprehensions
Classes
Lists
Dictionaries
Filters
Maps
Lambdas
Iterators
Regex

Attachment preview

class,studentid,last,first CIS29,92340,Lew,John CIS29,15544,Nguyen,Thuytran  

Unformatted Attachment Preview

Tutor Answer

norrye
School: UIUC

Did y...

flag Report DMCA
Review

Anonymous
Excellent job

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors