$25
Task 1 [20 points] Create an Ubuntu virtual machine and submit the screenshot for spyder running on it.
Install VMWare Player or Virtual Box for Running a Virtual Machine
VMWare Player Installation
§ Download VMWare workstation player from https://www.vmware.com/products/workstation-player/workstation-playerevaluation.html
§ You may Refer https://www.youtube.com/watch?v=9QXXyG0hKtI for installation
§ Download Ubuntu image from https://releases.ubuntu.com/bionic/ubuntu-18.04.5desktop-amd64.iso § Refer link https://www.youtube.com/watch?v=9rUhGWijf9U/ for creating an Ubuntu virtual machine.
Virtual Box installation (For those who have Mac book)
§ Refer https://www.youtube.com/watch?v=lEvM-No4eQo for virtual box installation
§ Download Ubuntu image from https://releases.ubuntu.com/bionic/ubuntu-18.04.5desktop-amd64.iso
§ Refer link https://www.youtube.com/watch?v=fh8OdDd0K30 for creating Ubuntu virtual machine.
Python Editor Installation
§ Python3 is already installed in Ubuntu 18.04
§ Login to Ubuntu VM after installation and open the terminal § Type sudo apt-get install spyder to install the spyder editor
§ Type sudo apt-get install python3-pandas to pandas library, this also contains numpy library
§ Once spyder is installed, you can launch it from the terminal by typing spyder or search it in show applications (bottom left).
Task 2 [25 points] Assume in an ATM, there are $100, $50, $20, and $10 bills. Write a python script atm.py for the ATM machine that will accept the amount to be withdrawn and dispense the cash with a minimum number of bills if the amount can be withdrawn. Following are a few test cases for your program:
Enter the amount for withdrawal: 150 Please collect your bills as follows:
$100: 1
$20: 2
$10: 1
Enter the amount for withdrawal: 75 The amount cannot be withdrawn.
Task 3 [35 points] Write a registrar.py script that will load the records.txt file (uploaded with the assignment). The file has students’ scores for different subjects. The script will be user interactive and it will ask for user choice. Based on the choice, it will perform following tasks:
A. Display students’ letter grades for each subject. You may consider this grading scale:
F < 60, 60 <= D < 70, 70 <= C < 80, 80 <= B < 90, and 90 <= A. The output format should be as follows:
student
ece595
ece547
ece354
ahmad
A
B
A
…
…
…
…
B. Display the highest score and scorer in each subject. The output format should be as follows:
subject
scorer
score
ece595
Hailu
93
…
…
…
C. Display the GPA of each student. The grade points for A, B, C, D, and F are 4, 3, 2, 1, and 0, respectively. Assume that the credit hours for each course is same, then GPA will be average of the grade points. The output format should be as follows:
student
Gpa
ahmad
3.667
…
…
Task 4 [25 points] Review the attached paper titled as “The pathologies of big data” and summarize your findings in 400-500 words.