Skip to content
VUBuddy

CS506 Assignment 1 Solution Spring 2026

Web Design and Development Lesson 9: Abstract Classes and Interfaces 20 marks No solution

About CS506 Assignment 1

CS506 Assignment No 1 for Spring 2026 is from Web Design and Development. It covers lesson 9: Abstract Classes and Interfaces, carries 20 marks and closed on VULMS on Thursday 30 April 2026. No solution was added before it closed.

Course
CS506 Web Design and Development
Assignment
Assignment No 1
Semester
Spring 2026
Lesson
9: Abstract Classes and Interfaces
Total marks
20
End date
Thu 30 Apr, 11:59 pm

What CS506 Assignment 1 asks

This assignment requires completing a Java class named Course to manage university course information. You must implement specific data members, a constructor, and various methods based on a provided partial code structure. The goal is to ensure the class integrates correctly with a pre-defined TestCourse class containing a main method. You will work with instance variables, static counters, and standard getter and setter methods.

  1. Question 1

    20 marks

    Complete the Course class by implementing a parameterized constructor that uses the this reference to initialize courseCode, courseTitle, and creditHours. You must increment the static courseCount variable upon object creation and implement the getCourseTitle, setCreditHours, and display methods. Ensure the implementation allows the provided TestCourse main method to execute successfully without modification.

What to submit
One .java file containing only the Course class.
Topics covered
Java classes Parameterized constructors Static variables Getter and setter methods Object-oriented programming

A summary of the assignment file, Fall 2026_CS506_1.docx. Download the file for the full wording before you start.

Lesson covered

Lesson 9: Abstract Classes and Interfaces CS506 · Web Design and Development

The questions in this assignment come from this lesson. Read it in the CS506 handout before you open the assignment file, then practise it with the MCQs and past papers.

Solution

No solution was added before this assignment closed. The assignment file stays here so you can revise lesson 9.

Before you submit on VULMS

  1. 1 This assignment closed without a solution. Use the assignment file to revise lesson 9 before your exams.
  2. 2 Write the final answer in your own words. VU checks assignments for copying, and copied work gets zero marks.
  3. 3 Save your answer in the file type the assignment file asks for, and name it with your student ID, for example BC260012345.
  4. 4 Open the file once more to check it is not empty or corrupted, then upload it on VULMS before 11:59 pm on Thu 30 Apr.

Questions about this assignment

When is CS506 Assignment 1 due?

It closed on Thursday 30 April 2026. VULMS no longer accepts files for it, but the assignment stays here for revision.

Will a solution be added?

No. Solutions are written only while an assignment is open on VULMS, and this one closed on Thursday 30 April 2026. The assignment file stays here for revision.

Can I submit the solution as it is?

No. VU checks assignments for copying, and copied work gets zero marks. Use the solution to check your method, then write your own answer.

What file do I submit?

The assignment file says which file type to upload and lists any extra instructions from your instructor. Name the file with your student ID before you upload it on VULMS.

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.