This assignment will assess your skills and knowledge on implementing interfaces to define contracts and enforce common behavior across multiple classes.
Context: You are tasked with developing a software application for a car rental agency. The application needs to handle different types of vehicles, including cars, motorcycles, and trucks. To enforce a common behavior and ensure consistency among these vehicle types, you decide to utilize interfaces. Additionally, you want to incorporate various small modules into the question to make it engaging and interactive for the developers.
For this assignment, Compose a Java programming question that incorporates the following modules:
Design and implement an interface named “Vehicle” that includes methods for retrieving the vehicle’s make, model, and year of manufacture.
Develop a class named “Car” that implements the Vehicle and “CarVehicle” interfaces. This interface includes additional methods for setting and retrieving the number of doors and the fuel type (petrol, diesel, or electric).
Construct a class named “Motorcycle” that also implements Vehicle and the “MotorVehicle” interfaces. This interface should have methods for setting and retrieving the number of wheels and the type of motorcycle (sport, cruiser, or off-road).
Generate a class named “Truck” that implements the Vehicle and “TruckVehicle” interfaces. This interface should include methods for setting and retrieving the cargo capacity (in tons) and the transmission type (manual or automatic).
Integrate all the classes into a main program that allows the user to create objects of different vehicle types, provide relevant information, and display the details of each vehicle.
You will be accessed based on the following criteria:
The interface design in the Vehicle Information System provides a contract specifying the methods for retrieving and setting vehicle details, ensuring a consistent structure for different vehicle types.
The class implementation in the Vehicle Information System translates the interface specifications into concrete implementations for different vehicle types, enabling the storage and retrieval of specific attributes and behaviors.
The main program in the Vehicle Information System allows users to interactively create, input, and display details of various vehicle objects, providing a comprehensive interface for managing and accessing vehicle information.
The code quality in the Vehicle Information System emphasizes readability, maintainability, and adherence to best practices, ensuring a clean and well-structured codebase that promotes efficient development and future scalability.
The error handling mechanism in the Vehicle Information System effectively manages and gracefully handles potential exceptions or invalid user inputs, ensuring a robust and stable application experience.
The documentation in the Vehicle Information System provides clear and comprehensive explanations of classes, methods, and their functionalities, aiding developers in understanding and maintaining the codebase effectively.
Category: Java
Context: You have been assigned to develop a Course Enrollment and Grade Managem
Context: You have been assigned to develop a Course Enrollment and Grade Management System in Java for a university. The system should provide functionality to enroll students in courses, assign grades to students, and calculate overall course grades for each student. The project should demonstrate the effective utilization of static methods and variables to keep track of enrollment and grade-related information across multiple instances of the Student and Course classes. It should also showcase your ability to manipulate object state and define behavior through instance methods.
Requirements:Student Class:
The Student class should have private instance variables to store student information such as name, ID, and enrolled courses.
Implement appropriate access modifiers and provide public getter and setter methods for accessing and updating student information.
Design a method to enroll students in courses. It should accept a Course object as a parameter and add the course to the student’s enrolled courses.
Implement a method to assign grades to students. It should accept a Course object and a grade for the student and update the student’s grade for that course.
Course Class:
The Course class should have private instance variables to store course information such as course code, name, and maximum capacity.
Use appropriate access modifiers and provide public getter methods for accessing course information.
Implement a static variable to keep track of the total number of enrolled students across all instances of the Course class.
Design a static method to retrieve the total number of enrolled students.
CourseManagement Class:
The CourseManagement class should have private static variables to store a list of courses and the overall course grades for each student.
Use appropriate access modifiers to control access to the variables.
Implement static methods to add new courses, enroll students, assign grades, and calculate overall course grades for each student.
The addCourse method should accept parameters for course information and create a new Course object. It should add the course to the list of courses.
The enrollStudent method should accept a Student object and a Course object. It should enroll the student in the course by calling the appropriate method in the Student class.
The assignGrade method should accept a Student object, a Course object, and a grade. It should assign the grade to the student for that course by calling the appropriate method in the Student class.
The calculateOverallGrade method should accept a Student object and calculate the overall course grade for that student based on the grades assigned to them.
Administrator Interface:
Develop an interactive command-line interface for administrators to interact with the Course Enrollment and Grade Management System.
Display a menu with options to add a new course, enroll students, assign grades, and calculate overall course grades.
Prompt the administrator for necessary inputs and call the appropriate methods in the CourseManagement and Student classes to perform the requested operations.
Implement error handling to handle cases where invalid inputs are provided or when enrolling students in courses that have reached their maximum capacity.
Documentation:
Provide comprehensive documentation for the project, explaining the purpose and usage of each class, method, and variable.
Describe how static methods and variables are utilized to track enrollment and grade-related information across multiple instances of the Student and Course classes.
Include instructions for running the program and interacting with the administrator interface.
You will be assessed based on the following criteria:
Object oriented design – Object-oriented design in the Course Enrollment and Grade Management System project in Java allows for modular code organization, encapsulation of data and behavior within classes, and effective utilization of static methods and variables to track enrollment and grade-related information.
The Student Update feature in the Course Enrollment and Grade Management System project in Java enables administrators to efficiently modify student information such as name, ID, and enrolled courses, ensuring accurate and up-to-date data management.
The Course Update functionality in the Course Enrollment and Grade Management System project in Java allows administrators to easily update course information such as course code, name, and maximum capacity, ensuring flexibility and adaptability in managing course offerings.
The Course Management Update feature in the Course Enrollment and Grade Management System project in Java empowers administrators to efficiently add, modify, or remove courses, providing seamless control and customization of the curriculum offered by the university.
The Administrator Interface in the Course Enrollment and Grade Management System project in Java offers a user-friendly command-line interface that enables administrators to interactively perform various operations such as adding courses, enrolling students, assigning grades, and calculating overall course grades.
The documentation in the Course Enrollment and Grade Management System project in Java provides comprehensive instructions, explanations, and guidelines for the project’s classes, methods, variables, and usage, ensuring clarity and facilitating ease of understanding and maintenance.
Proper referencing in APA format is must Text size 12-Times New Roman only. Avoi
Proper referencing in APA format is must
Text size 12-Times New Roman only.
Avoid plagiarism
You must give 100/100 correct solutions
Avoid using paraphrasing programs or websites
You must provide a correct answer 100/100
You must do the solution in the same attached file
You must do the solution in the same attached file
Textbook
Ramez Elmasri & Shamkant Navathe (2017), Fundamentals of Database Systems, Global Edition, 7th Edition, Person, ISBN-13: 978-0133970777 | ISBN-10: 0133970779.
You must provide the solution within1 hour only from the time you accept the request and do not wait until the time specified on the site
Codes must be written in text and images
If personal information is required, use the attached information
You should avoid plagiarism from any website or artificial intelligence
You must provide the solution within two hours only from the time you accept the request and do not wait until the time specified on the site
Proper referencing in APA format is must
Text size 12-Times New Roman only.
Avoid plagiarisms
Avoid copying from any source
Avoid using another teacher’s solution or a similar previous student’s solution because it is a university whose system can access even the solutions published on the study pool website
You must give 100/100 correct solution
Avoid using paraphrasing programs or websites
You must provide a correct answer 100/100
You must do the solution in the same attached file
You must do the solution in the same attached file
Proper referencing in APA format is must Text size 12-Times New Roman only. Avoi
Proper referencing in APA format is must
Text size 12-Times New Roman only.
Avoid plagiarism
You must give 100/100 correct solutions
Avoid using paraphrasing programs or websites
You must provide a correct answer 100/100
You must do the solution in the same attached file
You must do the solution in the same attached file
You must provide the solution within1 hour only from the time you accept the request and do not wait until the time specified on the site
Codes must be written in text and images
If personal information is required, use the attached information
You should avoid plagiarism from any website or artificial intelligence
You must provide the solution within two hours only from the time you accept the request and do not wait until the time specified on the site
Proper referencing in APA format is must
Text size 12-Times New Roman only.
Avoid plagiarisms
Avoid copying from any source
Avoid using another teacher’s solution or a similar previous student’s solution because it is a university whose system can access even the solutions published on the study pool website
You must give 100/100 correct solution
Avoid using paraphrasing programs or websites
You must provide a correct answer 100/100
You must do the solution in the same attached file
You must do the solution in the same attached file
ATTACHMENTS
only answer question 2: I have attached another friend answer..please ensure you
only answer question 2: I have attached another friend answer..please ensure you avoid plagarism and give 2 screenshort containing my info: Turki
Alfaifi
City ; Tabuk
ID : S190203088
Here, I was attaching a PDF, so you have to write all the topics in the PDF. if
Here, I was attaching a PDF, so you have to write all the topics in the PDF. if you hAVE ANY QUESTION let me know
Implement the classic Dijkstra’s shortest path algorithm and optimize it for map
Implement the classic Dijkstra’s shortest path algorithm and optimize it for maps.
Such algorithms are widely used in geographic information systems (GIS) including
MapQuest and GPS-based car navigation systems.
1) I need the answer in “JAVA” programming.
2) go through zip file https://drive.google.com/file/d/1wMBL_wDoxAUKSg8gy… that the code needs to be optimized.
3) please follow the deliverables that needed to be uploaded.
4) Also provide me a video of explanation, how to run the code, explaining the results and code optimization(the modifications made from the
original code). So, that it’ll be very helpful to me.
Description and Instructions 1. Objectives The main objective of this project
Description and Instructions
1. Objectives
The main objective of this project is to get familiar with designing and developing an algorithmic problem solution using data structures concepts.
2. Introduction
On this project each group of students will solve a problem to assess their understanding of data structure. Students will work in groups of 2-3 students then collect their work in one report to be submitted with the other project materials.
3. Required work
Choose an algorithmic problem related to the concepts of data structures (one that has been covered in class) and write a problem statement on it.
Examples of projects topics:
Problem Name
Suggested Data Structure
Train Schedule Manager
Student Course Scheduler
Social Network Connections
Shopping Cart
Flight Reservation System
Shortest Path Finder
Music Streaming Playlist
Doubly Link list
2D- Array
Graph
Singly Link list
2D-Array
Graph
Circular Link list
Select one of the projects Name in the table above. It is also possible to suggest new project (must be approved by course instructor).
Understand the problem.
Implement at least two solutions of the problem using data structures.
You must use at least one data structure in your solution.
Analysis the Algorithm complexity of your solutions
4. What to submit?
Project Report
Source Code
Describe the Problem.
Describe the Algorithm used to solve the problem.
Analysis the Algorithm complexity of your solutions.
Write the program in Java code to solve the problem.
Marking Criteria
#
Criteria
Marks
1
Project Report
6
1.1
Describe the Problem
1
1.2
Describe the Algorithm used to solve the problem (solution 1)
1
1.3
Describe the Algorithm used to solve the problem (solution 2)
1
1.4
Analysis the Algorithm complexity of your solution 1
1.5
1.5
Analysis the Algorithm complexity of your solution 2
1.5
2
Source Code
8
2.1
Java code to solve the problem. (Solution 1)
4
2.1
Java code to solve the problem. (Solution 2)
4
Total
14
__________________________Important, we will choose problem 7
Description and Instructions 1. Objectives The main objective of this project
Description and Instructions
1. Objectives
The main objective of this project is to get familiar with designing and developing an algorithmic problem solution using data structures concepts.
2. Introduction
On this project each group of students will solve a problem to assess their understanding of data structure. Students will work in groups of 2-3 students then collect their work in one report to be submitted with the other project materials.
3. Required work
Choose an algorithmic problem related to the concepts of data structures (one that has been covered in class) and write a problem statement on it.
Examples of projects topics:
Problem Name
Suggested Data Structure
Train Schedule Manager
Student Course Scheduler
Social Network Connections
Shopping Cart
Flight Reservation System
Shortest Path Finder
Music Streaming Playlist
Doubly Link list
2D- Array
Graph
Singly Link list
2D-Array
Graph
Circular Link list
Select one of the projects Name in the table above. It is also possible to suggest new project (must be approved by course instructor).
Understand the problem.
Implement at least two solutions of the problem using data structures.
You must use at least one data structure in your solution.
Analysis the Algorithm complexity of your solutions
4. What to submit?
Project Report
Source Code
Describe the Problem.
Describe the Algorithm used to solve the problem.
Analysis the Algorithm complexity of your solutions.
Write the program in Java code to solve the problem.
Marking Criteria
#
Criteria
Marks
1
Project Report
6
1.1
Describe the Problem
1
1.2
Describe the Algorithm used to solve the problem (solution 1)
1
1.3
Describe the Algorithm used to solve the problem (solution 2)
1
1.4
Analysis the Algorithm complexity of your solution 1
1.5
1.5
Analysis the Algorithm complexity of your solution 2
1.5
2
Source Code
8
2.1
Java code to solve the problem. (Solution 1)
4
2.1
Java code to solve the problem. (Solution 2)
4
Total
14
__________________________Important, we will choose problem 7
Please answer the questions and same instructions in the Assignment file and be
Please answer the questions and same instructions in the Assignment file and be sure not to plagiarism