Reference no: EM133696241
Software Development Fundamentals
Assessment Details
Part A
In this part, students will be required to use what they had learned in the lecture to create the program. Each shape mentioned below will be represented as a function. Students are not required to use class in this assessment. Students are not allowed to use any predefined libraries or module for this part. Students will be awarded zero marks for using predefined libraries or imports. Students must put the comment on the vital functions, example if statement or the loop.
Write python code for calculating area for:
Circle
Triangle
Rectangle
Square
Pyramid
Cone
Rhombus
The purpose of this assessment is to access students' abilities to apply their knowledge in the program. Students need to submit a document with the code and screenshots of the result. Students need to include the value for the input in the document.
Assessment 2: Introduction
Write a python code that creates objects and classes with their member functions for Vistaflyer, an Australian airlines loyalty program. You are asked to write an inheritance hierarchy discount system that benefits Vistaflyer members program to calculate their profit. A brief about Vistaflyer is that it is useful for those who fly on Australian Airlines (its partners like Virgin Singapore and Air New Zealand) frequently. Vistaflyer miles can be earned through credit cards, flying and bonus miles promotions. The miles can be redeemed for award flights in all categories. It has three types of memberships namely Basic, Elite Silver and Elite Gold. When registered for the first time, all the customers get instant access to the basic membership level of Vistaflyer.
In 2020, Australia airlines offers a flat 10%, 20% and 30% discount to its Basic, Elite silver and Elite Gold members respectively for all services provided. Customers without membership receive no discounts.
The students must implement basic OOPs concepts such as Inheritance, Polymorphism and Encapsulation. You can make your own assumptions, not necessarily the same values which are provided above.
You need to do the following tasks:
Write the python classes with suggested data members and functions.
Write the base and derived classes for implementing inheritance in the program.
Implement polymorphism and encapsulation to check for accessibility of data members and different form of the data member.
Write the main logic that takes input from the user members with their bookings.
Write the code to display the output.
Advanced topic: Create a windows form, by considering the same scenario, where you need to create a layout which will describe the Welcome Page with some submit buttons and a few different controls. You are free to use any basic controls from the toolbox to design this layout.
Code related guidelines: Your python console-based application should include the following:
The code should have a consistent, professional, and well-organized appearance.
Choose meaningful identifiers names.
The developed system takes inputs and handles the error in a friendly manner.
Your code must adhere to OOPS concepts with implementation guidelines including modularity, reusability, extensibility, maintainability, and adaptability.