Question

Using the various Object Oriented Programming concepts and skills learnt in this course, design and develop...

Using the various Object Oriented Programming concepts and skills learnt in this course, design and develop a Java Application to compute an individual student’s GPA and store the records in a database.

The application should have two components i.e. The student and the course components.

The following should be the minimal operations on the course component:

– Set course information

– Print course information

– Show credit hours

– Show course number

The following should be the minimal operations on the student component

– Set student information

– Print student information

– Calculate number of credit hours taken

– Calculate GPA

– Calculate billing amount (NB: @credit unit is $555)

– Sort the courses according to the course number

0 0
Add a comment Improve this question Transcribed image text
Answer #1

//THE BELOW ALGORITHM IS WRITTEN IN JAVA. IT CAN BE IMPLEMENTED IN ANY OBJECT ORIENTED PROGRAMMING LANGUAGE.

import java.io.*;

import java.util;

class student

{

public static void main(String[] args)

{

//setting the course information

public void course()

{

//get all the necesary information from the usre

//store all the information in proper datatypes

}

public void printcourse()

{

//print all the course information

}

public int creditHours()

{

//return the credit hours

}

public int courseNumber()

{

//return the course number

}

//CALLING THE PREVIOUSLY DEFINED METHODS

int ch=creditHours();

int cn=courseNumber();

//FOR THE STUDENT COMPONENT

public void stuInfo()

{

//store the student information in proper datatype

}

public void printStuInfo()

{

//print the student info

}

public int credit()

{

//calculating the number of credit hours

}

public void GPA()

{

//calculate gpa

//print gpa

}

public float bill()

{

//calculate and return billing amount

}

public void sortCourse()

{

//sort the course according to the course number

}

//CALLING THE NON VOID METHODS

float b=bill();

//b can be used as the billing amount

}//closing main

}//closing class

Add a comment
Know the answer?
Add Answer to:
Using the various Object Oriented Programming concepts and skills learnt in this course, design and develop...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • You are asked to build and test the following system using Java and the object-oriented concepts ...

    You are asked to build and test the following system using Java and the object-oriented concepts you learned in this course: Project (20 marks) CIT College of Information technology has students, faculty, courses and departments. You are asked to create a program to manage all these information's. Create a class CIT to represents the following: Array of Students, each student is represented by class Student. Array of Faculty, each faculty is represented by class Faculty. Array of Course, each course...

  • using the java programming language Design a "Student Record Management System" in java including the following...

    using the java programming language Design a "Student Record Management System" in java including the following functionalities: 1 Input: Input student num, DOB, address, phone number etc. Input course titles, course number, time/locations. Input grade of each course for each student. 2 Process: Calculate GPA for each student. Sort and search on given criteria. 3 Output: Search by student num, show the student's information (including all courses and grades). Search by course num, show course information (including all students and...

  • Problem Specification: Write a C++ program to calculate student’s GPA for the semester in your class. For each student, the program should accept a student’s name, ID number and the number of courses...

    Problem Specification:Write a C++ program to calculate student’s GPA for the semester in your class. For each student,the program should accept a student’s name, ID number and the number of courses he/she istaking, then for each course the following data is needed the course number a string e.g. BU 101 course credits “an integer” grade received for the course “a character”.The program should display each student’s information and their courses information. It shouldalso display the GPA for the semester. The...

  • For this course project, you will use various database management and programming techniques to design and...

    For this course project, you will use various database management and programming techniques to design and develop an online sales and distribution system for a fictitious organization. There are two phases—you will complete the first phase this week and the second phase in W5 Assignment 2. Rationale The focus of the project is to develop your database programming skills. This project will help you get a fair idea of the sales and distribution system in any organization that has a...

  • A. Create a CollegeCourse class. The class contains fields for the course ID (for example, CIS...

    A. Create a CollegeCourse class. The class contains fields for the course ID (for example, CIS 210), credit hours (for example, 3), and a letter grade (for example, A). Include get and set methods for each field. Create a Student class containing an ID number and an array of five CollegeCourse objects. Create a get and set method for the Student ID number. Also create a get method that returns one of the Student’s CollegeCourses; the method takes an integer...

  • A. Create a CollegeCourse class. The class contains fields for the course ID (for example, CIS...

    A. Create a CollegeCourse class. The class contains fields for the course ID (for example, CIS 210), credit hours (for example, 3), and a letter grade (for example, A). Include get and set methods for each field. Create a Student class containing an ID number and an array of five CollegeCourse objects. Create a get and set method for the Student ID number. Also create a get method that returns one of the Student’s CollegeCourses; the method takes an integer...

  • A. Create a CollegeCourse class. The class contains fields for the course ID (for example, CIS 21...

    A. Create a CollegeCourse class. The class contains fields for the course ID (for example, CIS 210), credit hours (for example, 3), and a letter grade (for example, A). Include get and set methods for each field. Create a Student class containing an ID number and an array of five CollegeCourse objects. Create a get and set method for the Student ID number. Also create a get method that returns one of the Student’s CollegeCourses; the method takes an integer...

  • PYTHON 3 Object Oriented Programming ***a9q3.py file below*** class GradeItem(object): # A Grade Item is anything...

    PYTHON 3 Object Oriented Programming ***a9q3.py file below*** class GradeItem(object): # A Grade Item is anything a course uses in a grading scheme, # like a test or an assignment. It has a score, which is assessed by # an instructor, and a maximum value, set by the instructor, and a weight, # which defines how much the item counts towards a final grade. def __init__(self, weight, scored=None, out_of=None): """ Purpose: Initialize the GradeItem object. Preconditions: :param weight: the weight...

  • Page 1/2 ECE25100 Object Oriented Programming Lab 8: Inheritance Description: The purpose of this lab is...

    Page 1/2 ECE25100 Object Oriented Programming Lab 8: Inheritance Description: The purpose of this lab is to practice inheritance. To get credit for the lab, you need to demonstrate to the student helper that you have completed all the requirements. Question 1: Consider the following detailed inheritance hierarchy diagram in Fig. 1. 1) The Person.java constructor has two String parameters, a first name and a last name. The constructor initializes the email address to the first letter of the first...

  • You have been approached by a University for the design and implementation of a relational databa...

    You have been approached by a University for the design and implementation of a relational database system that will provide information on the courses it offers, the academic departments that run the courses, the academic staff and the enrolled students. The system will be used mainly by the students and the academic staff. The requirement collection and analysis phase of the database design process provided the following data requirements for the University Database system. Using the following requirements answer this...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT