Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, I have been waiting for an answer to a question for 3 days. The code to be written is a bit long, but it

Hello, I have been waiting for an answer to a question for 3 days. The code to be written is a bit long, but it is okay to solve some of it, so if it is not possible, it does not have to be solved completely. I stated this in the description section while sharing the question. Should I keep waiting or do you have a suggestion?
I am also adding the photo of my question here too. Code must be written in Python. Thanks.
image text in transcribed
image text in transcribed
EXAM AUTOMATION In this project, you are supposed to work on a system for university placement exam. We already have the following information related with this exam; student information, their answers to questions, their choices of universities and university information. There are 40 questions in the exam book and each question has five possible choices. (a,b,c,d,e). 4 wrong answers will take away one of the correct ones. Every correct answer is worth 15 points. Format of the files is shown below and should not be changed. We will test it with our files. key.txt : It contains the answers of 40 questions. There are two lines for question book type A and B in this file cbadeabcdebbcdeaecdeabcdeabcdeabedecbed badeedabcceaacbebacdbabacdcaedabedeccad university.txt : it contains the list of the universities, their base points and capacity 1, Ege niversitesi Bilgisayar Mhendisligi, 300.5 2. Dokuz Eyll niversitesi Tp Fakltesi,290,3 3, Mugla Sitk Koman niversitesi Bilgisayar Mhendislii 280,4 . student.txt: it contains the 6 digit id, name and last name of a student 117987 ibrahim Kaptan 124876 Ayse Ylmaz answers.txt : it contains the student id, question book type, answers and the id of choices of universities a student. There will be only two choices for universities. The placement will be done based on student's score and choices. The answers that left blank is shown with *-* 117654 B abcd-abccecbcdbae-cd-eabc-dea--acdaacedc 2 1 124456 A eeeee---cbcdbaee-eeeeeee-aaa-aaa-bbbbbbc 1 3 DO the following by means of a menu: 1) Search for a student with a given id and display his/her name and last name(20pts) 2) List the university/universities and departments with a maximum base points.(20 pts) 3) Create a file named results.txt which will have, student id, name, last name, book type, number of correct, incorrect and blank answers, number of answers after reducing the wrong ones based on the formula given above, score, name of the schools given as a choice (20pts) 4) List the student information (id, name, last name) sorted by their score(10pts) 5) List the students placed in every university/department. Display the name of the university and the department first and then the list of students who were place into that department.(20pts) 6) List the students who were not be able to placed anywhere.(10pts) 7) List all the departments(Bonus 10 pts) You should use a student class while coding for this project. This student class should have at least three class variables for name, last name and id. You can add extra class variables if you like, but make sure that you do not violate a class concept. Name, last name and is should be a string type. Among these, id should be private. There are also requirements for id so that it should have 6 characters and all of them should be digits. You can decide on methods by yourself

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

1. Who will you assemble on the team?

Answered: 1 week ago

Question

4. Who would lead the group?

Answered: 1 week ago