Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Assignment -
In this assignment you are to implement a system that keeps track of students, courses and enrollments. Your system should be able to have enrollment and un-enrollment capability and it should be able to answer the queries described below:
Syntax
What it means?
enroll student_firstname student_ lastname course_name
Enroll the student in that course. If already enrolled do nothing.
unenroll student_firstname student_ lastname course_name
Drop that course for that student If not enrolled do nothing.
grade student_firstname student_lastname course_name grade
Grade that student for that course! If not enrolled already do nothing.
ave course_name
Ave grade of the class (ignore ungraded). If no one is graded, print 0.
gpa student_firstname student_lastname
Compute the gpa of the student in their current courses (assume every course has same number of credits). If not graded print 0.
count course_name
Total number of enrollments in the given class.
topstudent course_name
Find the top student of the class. If no one is graded, print WA". If more than one student are top students (same maximum grade), print them separated by comma and space.
findmutual student_firstname student_lastname
Name of the students who take two or more classes together with the given student. Print first name and last names (with a space between them) separated by a comma (and space). If no one is found print "N/A".
listcourses student_fname student_lastname
List courses that the student is enrolled in. Separate each with a comma and a space (e.g. "programming in c, java fundamentals"). Print "N/A" if not enrolled in any.
findfirstnames students_lastname
Print all the students' first names that share the same last name (comma space separated). Print 'A" if no one matches the last name.
First, the number of students (N) and courses (M) is given in the first line (space separated). Then the name of the students is given in the next N following lines. First name and last name is given separated by space in each line. Then the name of the courses follows in M lines (a course name may contain spaces so the whole line will be the course's name).
Then comes a series of queries with the syntax defined above. For each query, print the result in a newline (except enroll, unenroll and grade). Queries an be either upper or lower case. One way of handling this, is to change everything to lowercase first and have selection statements on lowercase string literals. In all cases, if there are multiple results (course or student names), print them separated by comma-space (e.g. john doe, jane doe, john smith) in a newline. Everything should be printed in lower case. All the floating point numbers must be printed to exactly two decimal places. Exit the program if command "quit" is given in input.
Attachment:- Assignment File.rar
Short Paper on Cross-cultural Opportunities and Conflicts in Canada.
Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.
This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.
Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.
Individual Assignment : Two Models Handout and Rubric, This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.
The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.
In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.
Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.
The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.
Prepare the power point presentation for the case: Santa Fe Independent School District
Information literacy is critically important in this contemporary environment
Write a definition for associative property of multiplication.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd