Sindh Madressatul Islam University
Faculty of Information Technology
2nd Semester Fall 2016
Course: Object-Oriented Programming
Faculty Name: Syeda Wajiha Naim
Assignment # 2
Deadline
Assignment must be submitted by 13th October 2016.
Objective
The objective is to let students learn key C# concepts.
Assignment
Name the concepts being depicted in following scenarios:
1. Class Vehicle implements two methods VName and VMake, its subclass Car derives
class vehicles methods and implements its own method CarColor. Which concept is this
scenario depicting? Justify your answer.
2. The consumer sets AC on and can verify its state by looking at the green light that is
obvious when AC is on. The ACs interface shows user the current state of the AC and the
temperature and make/model of the AC. Which concept is this Abstraction or
Encapsulation. Justify your answer.
Instructions:
Do not copy and paste each others assignment.
Justify your choice with solid reasons and in 3 to 4 lines only.
Submit hard copy that must be typed and printed.
Please do not attempt and bother to submit your assignment after 13th October 2016.