Skip to content
VUBuddy

CS411 Assignment 1 Solution Fall 2026

Visual Programming Lesson 7: Properties, Interfaces, and Indexers 20 marks No solution

About CS411 Assignment 1

CS411 Assignment No 1 for Fall 2026 is from Visual Programming. It covers lesson 7: Properties, Interfaces, and Indexers, carries 20 marks and closed on VULMS on Thursday 5 November 2026. No solution was added before it closed.

Course
CS411 Visual Programming
Assignment
Assignment No 1
Semester
Fall 2026
Lesson
7: Properties, Interfaces, and Indexers
Total marks
20
End date
Thu 5 Nov, 11:59 pm

What CS411 Assignment 1 asks

This assignment requires the development of a Library Management System using C# to demonstrate core object-oriented programming concepts. You will implement a base class named LibraryItem and two derived classes, Book and Magazine, to manage library information. The system must utilize inheritance, method overriding, and runtime polymorphism. Finally, you will create a Library class with an indexer to store and retrieve these items, producing a console application that displays item details.

  1. Base Class – LibraryItem

    Create a class named LibraryItem with auto-implemented properties for ItemID, Title, and Author. Include a parameterized constructor to initialize these fields and a virtual Display() method to output the item information.

  2. Derived Class – Book

    Create a Book class that inherits from LibraryItem and adds an auto-implemented property for NumberOfPages. Implement a parameterized constructor that calls the base class constructor and override the Display() method to include the page count.

  3. Derived Class – Magazine

    Create a Magazine class that inherits from LibraryItem and adds an auto-implemented property for IssueNumber. Implement a parameterized constructor that calls the base class constructor and override the Display() method to include the issue number.

  4. Main Class – Objects and Polymorphism

    In the Main() method, demonstrate runtime polymorphism by assigning Book and Magazine objects to a LibraryItem reference variable and calling the Display() method. Additionally, create a Library class with an indexer to store these two objects in an array, then use a loop to retrieve and display them via the indexer.

What to submit
One MS Word document containing the source code and output.
Topics covered
C# console application Inheritance Runtime polymorphism Method overriding Auto-implemented properties Indexers Parameterized constructors

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

Lesson covered

Lesson 7: Properties, Interfaces, and Indexers CS411 · Visual Programming

The questions in this assignment come from this lesson. Read it in the CS411 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 7.

Before you submit on VULMS

  1. 1 This assignment closed without a solution. Use the assignment file to revise lesson 7 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 5 Nov.

Questions about this assignment

When is CS411 Assignment 1 due?

It closed on Thursday 5 November 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 5 November 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.