联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> CS作业CS作业

日期:2018-09-27 09:50

CMPSC-131 – ProgrammingandComputationI:Fundamentals

PROJECT-1

1. Create a database of following details for at least 15 students and store it in a text file.

? Student ID

? first name

? last name

? phone number (xxx-xxx-xxxx)

? email id

? Major

2. Create another database of following details for those students and store it in another

text file.

? Student ID

? Courses taken for each semester and Scores for each course which includes

overall average of assignments, quizzes, projects and exams.

For example:

Student _ID Campus year semester course_number average_assignment average_quizzes

average_projects average_exams……………………………………………..

Example:

2451813 2015 spring CS123 90 91 98 92 CS120 80 70 75 2 fall Math250 92 84 88 91

2016 spring CS131 90 91 98 92 CS125 80 70 75 2 fall Math252 92 84 88 91

Show variations in the number of courses taken by students. For example, student-1: taken

3 courses in fall semester and student-2: taken 4 courses in the same fall semester.

Note: Students can change/manipulate the order of data entries as needed.

Exercise:1

Choose an appropriate data type and data structure (lists, lists of list, dictionary) for storing

the information in your program.

Exercise:2

Write a function which takes student ID as input and displays all information of students

stored in file-1 and file-2.

Exercise:3

Write a function which takes student ID and specify course number as inputs and displays the

score information of that course.

Exercise:4

Write a function which takes student ID and specify semester name as inputs and displays

the grade for all the courses taken in that semester.

Exercise:5

Write a function which takes student ID as input and displays the course number of maximum

grade and minimum grade with the associated grade.

Exercise:6

Show an example of using split and join method.

Exercise:7

Show an example of adding data entry for a new student, modifying a student’s score for a

specific semester and deleting a student entry.

Exercise:8

Write a function which takes a parameter and sorts the entire list of students and displays all

the details of all students. For example, if you specify the student ID or first name, the entries

should be sorted accordingly.

Exercise:9

Write a function which takes student id as parameter and finds whether the student is a

freshmen or sophomore or junior or senior.

Exercise:10

Programmatically create a file storing all the student’s information including the

added/modified entry.

Each team should submit their code and a word file which shows the outputs with

appropriate screenshots.

/* All students are expected to use appropriate amount of comments to explain their

program. */

Due Date:

10/1/18 (10.00 pm)

Each team should be prepared for a quick demonstration.


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp